cancel
Showing results for 
Search instead for 
Did you mean: 

File to IDOC with ALEAUD (correlated)

Former Member
0 Kudos

I'm referring to the old thread https://archive.sap.com/discussions/thread/1265193 ("File to IDOC with ACKNOWLEDGMENT"). I'm facing this requirement right now, but the sender needs to know to which request the ALEAUD belongs to. The sender (web shop) determines the order ID and transfers it in the order creation IDoc to ERP. So we need to receive back the order ID in the ALEAUD. So in general: Assuming we return the content of the ALEAUD to the file sender as a file. How would the sender make any use of it? The content would contain an IDoc ID, but the sender can't do anything with the IDoc ID and doesn't know which IDoc ID belongs to which file that was sent before. Well, the ALEAUD contains indeed the business object ID (segment E1PRTOB/OBJKEY), so in case the that ID was determined by the sender (e.g. an (external) order number), the sender can correlate the ALEAUD to the sent file (order) by this ID. However, in case the IDoc wasn't processed successfully in receiver side (ERP), the object ID is missing in the ALEAUD, as a test (on S4/ Hana) shows. I believe that there is no solution for this unless enhancing the report RBDSTATE with additional logic to read the object ID (or any other payload data) from the inbound IDoc and adding it to the ALEAUD. If anybody has an idea, please let me know.

Accepted Solutions (0)

Answers (0)