3 weeks ago
Hi,
We are currently implementing the Intercompany Sales process. Most of the flow is working as expected, but we’re encountering an issue during the creation of the AP invoice from message type RD04.
Although the IDoc is being generated, it fails with the error: "Document xxxxxx does not exist." The value "xxxxxx" is being pulled from the PO Number field in the sales order. However, in our process, no purchase order is being created in MM.
Here’s a brief overview of the steps we’re following:
Sales order
Delivery
End customer invoice
Intercompany invoice – RD04 – IDoc triggered to post vendor invoice
Since there is no MM purchase order in this flow, we’re unsure what the RD04-generated IDoc is supposed to match against on the MM side.
We would appreciate any insights or experiences from others who have implemented Intercompany Sales (not just standard Intercompany flow) and have successfully posted the vendor invoice without a corresponding PO.
Thanks in advance for your support!
Request clarification before answering.
Hello
Root Cause
RD04 is used in the Intercompany Billing (IV invoice) scenario to post the Accounts Payable invoice in the purchasing company code.
However, RD04 expects some form of reference to create the FI document — most commonly a Purchase Order (PO).
If your process does not include an MM PO, but still uses RD04, this can cause the error because:
You're doing:
In this case:
Change the processing logic of RD04 to post a direct FI invoice (FB60 style) instead of an MM invoice. This can be done by:
This approach is preferred when no PO exists.
If your system still attempts MM processing and you want to keep the standard flow:
Ensure that the IDoc does not contain a PO number in the segment if one doesn’t exist.
In transaction WE19, test the IDoc by removing the reference segment and see if the system accepts it for FI posting.
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.