Update:
I managed to replace the local ID by the SAP ID, I just needed to assign a "StockTransportOrderHeader" object with the SAP ID, to the _returnData Object attribute of the steplet class.
So now my functionality works, but Agentry client still crashes after the synchronization finishes... Then if I start the client again, I can see the STO with the ID returned from SAP.
I guess I will need to create a SAP incident for that unless someone can give me a clue.
Add comment