webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

SAP adapter IS7.1

  • 1.  SAP adapter IS7.1

    Posted Wed June 17, 2009 05:01 PM

    Hi. I am using webMethods v7.1 with SAP adapter v6.5, with fixes:
    WmSAP_6-5-0_SP1;WmSAP_6-5-0_SP1_Fix11;WmSAP_6-5-0_SP1_Fix12;WmSAP_6-5-0_SP1_Fix14;WmSAP_6-5-0_SP1_Fix15

    I am calling:
    WmSAP.pub.sap.transport.BAPI:OutboundProcess

    And I am getting the error message:
    [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service pub.sap.transport.BAPI:OutboundProcess.
    [SAP.116.9551] Adapter service error: java.lang.NullPointerException - null

    I have been trying to find more info on this error and would apreciate any help…

    Thanks!


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 2.  RE: SAP adapter IS7.1

    Posted Wed June 17, 2009 05:20 PM

    Are you sending data from wM to SAP??

    Per the advantage article:If you are calling a BAPI use: “pub.sap.transport.BAPI:InboundProcess”/“pub.sap.transport.BAPI:OutboundProcess”

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 3.  RE: SAP adapter IS7.1

    Posted Wed June 17, 2009 05:40 PM

    Yes. I am sending an xmlString with the structure:

    <?xml version="1.0"?>

    <biztalk_1 xmlns =“urn:biztalk-org:biztalk:biztalk_1”>

    XXXXXXXXXXXX XXXXXXXXXX urn:sap-com:logical-system:XXXXXXXX urn:sap-com:logical-system:XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: SAP adapter IS7.1

    Posted Wed June 17, 2009 06:53 PM

    Is the BAPI program also expecting same xmldata format/structure above?

    HTH,
    RMg


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: SAP adapter IS7.1

    Posted Wed June 17, 2009 07:13 PM

    Hi rmg.
    I believe so. This is a migration of code from IS v6 to IS v7 and the v6 code has been working fine.

    I have checked and from the v6 to v7 the diference is that the pub.sap.transport.BAPI:OutboundProcess used to be a Java service and now is an adapter service.

    I will try to check what you refer.
    But if the BAPI was not expecting the same xmldata format/structure would the error be:
    Exception in Mapping Accounting Doc for SAP BAPI: Error [ISC.0049.9015] FlowExit ‘null’ - label not found: ‘XXXXXXXXXXXX’ in the service XXXXXXXXXXXXXXXXXXXXXX:postAccountingDocBAPI ?


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: SAP adapter IS7.1

    Posted Wed June 17, 2009 07:32 PM

    I noticed you have all the required fixes in place…but it shouldn’t be much diff java service vs adapter service (unless there are more enhancements made in adapter 65)…

    Did you talk to SAG tech support in the mean time,as this could be related to upgrade issue and which they might have workaround?

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 7.  RE: SAP adapter IS7.1

    Posted Thu June 18, 2009 10:55 AM

    We have another process that uses pub.sap.transport.RFC:OutboundProcess with the same SAP adapter and everything works fine…

    :confused::confused::confused:

    The process that uses pub.sap.transport.BAPI:OutboundProcess is returning error… :(:(:frowning:

    Been reading the documentation and cant seem to find any clue…


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 8.  RE: SAP adapter IS7.1

    Posted Thu June 18, 2009 03:36 PM

    Still struggling with
    [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service pub.sap.transport.BAPI:OutboundProcess.
    [SAP.116.9551] Adapter service error: java.lang.NullPointerException - null

    :frowning:


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 9.  RE: SAP adapter IS7.1

    Posted Thu June 18, 2009 08:04 PM

    I can understand your pain/agony…But what does the tech support say?

    unfortunately i dont have any bapi’s to test/recreate the issue…

    HTH
    RMg


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods