Document transfer from ECC to GTS in Asynchronous mode
I would like to get the following scenario setup:
- When the Sales Order is created in ECC, I would like the Sales Order to be created and then the document is transferred to GTS for License Determination. In short, the document transfer to GTS should occur in asynchronous mode.
Until GTS determines the License Type/License Number, the ECC Sales Document should stay on block and no subsequent functions like Delivery or Billing (Billing only Order) can be carried out.
The reason behind asynchronous transfer is due to high volumes of order receipt and any addition (even milli seconds) for GTS processing time will not be acceptable.
Any thoughts will be highly appreciated.
Dave Willis replied
As others have already said, it's quite a departure from the standard; however, you might consider the following approach:
- Write code in BAdI /SAPSLL/CTRL_SD0A_R3 to make an asychronous call to your own remote-enabled Function Module in GTS, and cancel the synchronous transfer by clearing the CS_TRANSFER structure.
- In your new GTS Function Module, call the standard interface module /SAPSLL/API_6800_SYNCH, and direct its results back to your own table in the feeder system using an RFC.
- Your new table will act as a "release" if the GTS checks were ok. Create one or more new Requirement modules (in Transaction VOFM) to control & prevent down-stream functions unless the release table includes an entry for the Sales Order being processed.
Hope that helps.