Hi All,
I have created a Bapi FM which is exposed as an webservice . The Webservice is consumed by ESB . The FM automate the material creation and if successful Creates BOM also . So the logic for material creation and Bom creation , both are available in the same FM .
The issue is whenever multiple transactions are triggered to sap via that webservice, sometime data gets locked by the RFCUSER( the user that is used to connect ESB to SAP) , and we get standard sap message saying "user locked" .
( NB: There are business scenarios where same set of data can be triggered with 2-3 separate transactions at a gap of milliseconds from ESB ) .
And sometimes when multiple transactions are triggered at same time , some of the transactions are not created .
So ideally i want to synchronize the transaction for this inbound RFC FM .
Thanks in advance ,
Laxmikant