Hi Naveen,
why can’t SAP resend the transaction?? If it gets rolled back, then it will be stored in SAP’s tRFC queue (check SM58). You can resend it from SM58 and you can also automate this task: go to SM59 and display the corresponding RFC destination. In the menu there is an entry called “tRFC Options”. Here you can specify, how often and at what intervals failed transactions should be resend (leave the “Suppress job…” field empty).
The above works only for COMMUNICATION_FAILUREs. If you also want to resend SYSTEM_FAILUREs (e.g a Service failure at wM side) automatically, you need to create a variant for the report RSARFCEX. In this variant activate the flag “System error” (among other things), and then schedule the variant as a periodic job in SM36.
Resending from wM is NOT recommended! If a resend from wM works successfully, the status in wM will be Confirmed, while it is still Rolled back in SAP. This may lead to duplicate transactions, if the IDoc is later resend from SAP.
Cheers, Lanzelot
#webMethods#Integration-Server-and-ESB#Adapters-and-E-Standards