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.


#TechXchangePresenter
 View Only

Committing after calling the BAPI

  • 1.  Committing after calling the BAPI

    Posted Thu October 23, 2003 07:26 AM

    Hi all,

    I am working on an integration from Siebel to SAP. I am using publish-subscribe model wherein I publish the canonical. On the target I subscribe to this canonical document, extract the required data, map it to the document (created using SAP xsd) & convert it to an XML that has the Object name & the BAPI name. I have written a java service that uses pub.sap.bapi.transportutboundProcess services to call the BAPI and catch the response returned and pub.sap.bapi.commit to commit the transaction & trap the response returned after committing.
    I have a written a flow service that follows the 4 steps mentioned in the document for calling BAPI:

    1. pub.sap.client.lockSession to lock the session
    2. pub.sap.bapi.decode service
    3. the java service that executes the BAPI & commits
    4. pub.sap.client.releaseSession

    The response returned by commit is similar to response returned by outboundprocesss service. Does commit call BAPI_TRANSACTION_COMMIT BAPI that is required to commit transaction? What is the response expected from pub.sap.bapi:commit service & how do I catch the response?

    Any help for this issue is appreciated
    Thanks in advance


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