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 - duplicate documents

    Posted Wed April 19, 2006 10:39 PM

    Currently in a webMethods service the following component is used to send an IDOC to an SAP system:
    pub.sap.transport.ALE:inboundProcess(Submit to partner manager to route to SAP)
    no value is set for $tid or $action.

    On occasion a failure will occur (for instance, due to a network issue) and the service is resbumitted from monitor. Unfortunately, and this is the problem; SAP had already received the document and a duplicate document is created.

    Has anyone had a similar experience? If so, was there a resolution. I’ve been reading about the “carry forward flag”, but not sure it is applicable in this case.

    THANK YOU!


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


  • 2.  RE: SAP Adapter - duplicate documents

    Posted Mon May 15, 2006 06:41 PM

    Hi ewonka,
    to avoid this problem, you have to use the Service “pub.sap.client:createTID” and keep that TID in your application. Then pass it to ALE:OutboundProcess. If everything was ok, you can afterwards delete the TID from your application and also call “pub.sap.client:confirmTID” to delete the TID from the SAP database. If a failure occurs, keep the TID (and DON’T call confirmTID…!!) and use it again, when you retry that IDoc. This way the R/3 system will recognize any duplicates and ignore them.

    Regards, Lanzelot


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