Skip to Content
author's profile photo Former Member
Former Member

File to IDOC with ALEAUD (correlated)

I'm referring to the old thread ("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.

Add comment
10|10000 characters needed characters exceeded

0 Answers