IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  -2000 error conecting to R3/ALE

    Posted 01/29/09 11:00 AM

    Originally posted by: Kepa_Screen


    Hi:

    I am working on a Aix 5.4 machine with Mercator 6.7.1 and migrating to WSTX 8.1.0.3
    We have recompiled all maps, setup WSTX 8.1.0.3, and trying to test new versioned maps.

    We have several maps putting data on a SAP R3/ALE and having some trouble to conect using the SAP adapter on new WSTX version...but not in old Mercator version.

    We are getting Target not available when trying to put data to SAP:
    
    <TargetReport   card=
    "1"   adapter=
    "R/3 ALE"   bytes=
    "4776"   adapterreturn=
    "-2000"> <Message><Unrecognised error code></Message> <Settings>-c 002 -u ADMIN_IDOC -p EROSKI -h SAX00010361.eroski.es -s 00 -ar3</Settings> </TargetReport>
    


    Looking at SAP Adapter documents we can see that -2000 error corresponds to "Inizialization Failure ( Backup / Log init )"

    What's exactly this mean for ?
    Could anybody help with this ?

    Thank you in advance.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: -2000 error conecting to R3/ALE

    Posted 01/29/09 11:29 AM

    Originally posted by: Kepa_Screen


    Update:

    We saw that we had not create "tiddata" directory with all permissions.Also defined MERC_TMP_DIR variable containing the path to "tiddata" directory.

    Once done this two actions, we execute again and now are getting this

    
    <TargetReport   card=
    "1"   adapter=
    "R/3 ALE"   bytes=
    "4776"   adapterreturn=
    "-600"> <Message>OpenConnection: couldn
    't open the connection.</Message> <Settings>-c 002 -u ADMIN_IDOC -p EROSKI -h SAX00010361.eroski.es -s 00 -ar3</Settings> </TargetReport>
    


    Also have got dev_rfc.trc file now ( not appearing until tiddata was created ), and can see
    
    **** ERROR file opened at 20090129 171826 NFT, SAP-REL 640,0,83 RFC-VER 3 768372 MT-SL T:515 ======> Nombre o clave de acceso incorrectos (repetir entrada al sistema) T:515 <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    

    Here we can see that the problem is the user and password used to connect...
    And finally, also appeared m4r3ale.log containing this
    
    BEGIN IBM WebSphere Transformation Extender R/3 AUDIT - VERSION SAPTX8.2.0.28 [7.5.0] 17:18:26.224 01/29/09   R/3 arguments: CLIENT=002 USER=<secret> PASSWD=<secret> ASHOST=SAX00010361.eroski.es SYSNR=00   Document                           Client  Receiver       Logical                            Document          Segment Type                                       Port           MSG Type                           Number            Count WPUWBW01                           002                    WPUWBW                             0000000000000001  4   Error connecting to R/3. Function: RfcOpenEx   Error connecting to R/3. Function: RfcOpenEx   END IBM WebSphere Transformation Extender R/3 AUDIT
    

    This was updated for helping another people if are suffering the same error.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender