I'm receiving an invoice from a third-party system in SAP ECC through the Idoc INVOIC01.
I have configured the Idoc ALEAUD01 to confirm to the 3rd-party system if the invoice has posted correctly. This Idoc sends out the idoc number of the inbound Idoc (INVOIC01) and the error text.
The Idoc number of the inbound Idoc (INVOIC01) was generated in SAP ECC, and the 3rd-party system does not know this Idoc number. So the 3rd-party system cannot match the confirmation with the corresponding invoice.
How can I do to include in the outbound Idoc (ALEAUD01) some data related to the received invoice?
I will appreciate any suggestion.