IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
  • 1.  SAP-adapter, BAPI-call - missing output parameter

    Posted Tue March 20, 2012 08:16 AM

    Hi at all,

    we have a selfmade BAPI which should give us some variables back.

    If I test this BAPI I get all records I expected.
    If I test this BAPI as function call in the lookup of the SAP-adapter it works, too.

    But if I use this BAPI as RFC call in the Designer (8.2) or Developer one of the output-variables is missing. That’s the one I need…

    There is no error message. The variable is only not displayed in the results.

    Have you any idea what this could be and how I can fix it?

    webMethods 8.2

    Description webMethods SAP Adapter
    Adapter Version 7.1.0.5.788
    Updates SAP_7.1_Fix5
    JCA Spec Version 1.0

    JCo Version 3.0.7 (2011-04-20)
    JCo Middleware JavaRfc
    JCo Middleware Version 2.2.5
    JCo Native Library Version 720.88
    JCo Native Library Location C:\wm82\prod1\IntegrationServer\lib\sapjco3.dll
    IDoc Library Version 3.0.6 (2011-01-28)

    Thanks and regards

    Heiko


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


  • 2.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Tue March 20, 2012 10:03 AM

    Probably, you would have to clear the cache… Goto IS Admin page > Adapters > SAP > DDIC-Cache. Identify the System Id of that and clear the cache by deleting it… You should be good to go…

    -Senthil


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


  • 3.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Tue March 20, 2012 10:24 AM

    Hi Senthil,

    thanks for your reply.
    That is a point I not think about.

    I deleted the cache, but the problem is the same.
    The variable (it should be a document list) is missing.

    After deleting the cache and retrying the adapter, the cache contains the BAPI with its structures again.
    One of the structures contains the output variable I’m searching for…


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


  • 4.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Tue March 20, 2012 10:46 AM

    Heiko,
    Okay… When you create the BAPI adapter service in webMethods Developer/Designer, you have to select all the Input/Output variables in one of the tab of that adapter service… Do you see that missing variable listed, and check box is in selected state?

    -Senthil


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


  • 5.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Tue March 20, 2012 11:37 AM

    Yes, the Input / Output variables are all selected (Reply Field Selection and Request Field Selection)
    In the Input / Output tab are all varibles shown, the missing one, too (is a document list with the wohle structure)

    Thanks and regards


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


  • 6.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Fri May 04, 2018 08:26 AM

    Hello Heiko
    How are you doing?
    Did you manage to solve the issue. I am having the same problem in webMethods 9.12.

    Could you please guide.

    Kind Regards
    Sasa


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


  • 7.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Fri October 23, 2020 05:21 AM

    Hi ,

    I am facing a similar issue. While I am invoking the BAPI by providing inputs directly it is giving the proper response. But it is not giving any out put if the same BAPI is run by flow services.
    I have cleared the cache and can see the input values are coming to pipeline properly and being mapped .

    still no outPut.please let me know if you have faced any similar issue and resolved it.


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


  • 8.  RE: SAP-adapter, BAPI-call - missing output parameter

    Posted Sun October 25, 2020 08:57 AM

    Hi Bharathi,

    I suggest you to use savepipelinetofile and restorepipelinefromfile to file to see the further. Also you can also increase the logging level to TRACE and Log details to 8 to display more details info on the BAPI call to SAP side.

    It could be a case that the value that you wish to return is contained in optional documentlist. If that is the case, when you call the BAPI adapter service please initiate an empty documentlist and pass into it. There is clear information in the SAP User Guide that explain this behavior.


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