cancel
Showing results for 
Search instead for 
Did you mean: 

EDI Logistics Invoice with Intercompany Stock Transfer

Former Member
0 Kudos

Hello,

We have configured automatic posting of vendor invoice for our intercompany stock transfer process. It is correctly creating the billing document and AP invoice but the issue is that it creates an FI only invoice so the STO remains open waiting for the logistics invoice to be posted. The SAP documentation guide says you can configure it to create a logistics invoice against the STO but I have yet to get it to work. Has anyone gotten this to work and actually post the invoice to the STO itself? I have seen many threads and discussions on this topic but never found one that said it was resolved.

This is the setup I have in the WE20 partner profiles for customer and vendor but it still only creates an FI AP invoice:

Customer:

Message type: INVOIC

Message Code: MM

Basic Type: INVOIC01 (I originally had INVOIC02 but the idoc would end in error because it is not compatible with function module IDOC_OUTPUT_INVOIC_IV_MM).

Application: V3

Message type: RD04

Process Code: SD08 (assigned to function module IDOC_OUTPUT_INVOIC_IV_MM).

Vendor:

Message Code: MM

Process Code: INVL (assigned to function module IDOC_INPUT_INVOIC_MRM)

Accepted Solutions (0)

Answers (5)

Answers (5)

JL23
Active Contributor
0 Kudos

We are doing it and I see not any difference to the note.

Former Member
0 Kudos

Jurgen,

I am aware of this note, and in fact, I followed it exactly in order to configure the process in the first place. I believe it is either missing some steps or the process has since been changed with further releases because it does not work as indicated in the note. This is why I have opened this thread to see if anyone else has been successful in implementing it with the intercompany stock transport order.

Thank You,

Melissa

JL23
Active Contributor
0 Kudos

The customizing steps are as well explained in OSS note 31126 - Intercompany billing - posting to vendor account using EDI

the solution to your new error is explained in wiki https://wiki.scn.sap.com/wiki/display/ABAPConn/Could+not+find+code+page+for+receiving+system

Former Member
0 Kudos

Jurgen,

Thank you for your response, however, I am not sure this is the correct solution for us. Our scenario is using intercompany stock transport order, not sales order/purchase order. I noticed in the blog you provided, it generates 2 idocs - one outbound and one inbound. Currently, our process works by only creating one idoc (the one that generates the AP invoice) but the only issue is that it creates an FI invoice instead of logistics invoice. Is using 2 idocs the only way to generate the logistics invoice? Why do we need 2 idocs when we are not posting to a different logical system?

I did try making a few changes to my configuration based on the blog but it is still only generating one idoc and even that fails with the error

"The IDoc '0000000000643611' created was to be sent. An error occurred : 'Could not find code page of target system'."

Do you have ant tips from configuring this that might help me?

Thank You,

Melissa

JL23
Active Contributor
0 Kudos

There is an excellent blog here explaining all steps with pictures: https://blogs.sap.com/2013/08/28/integrating-mm-sd-modules-in-same-client-to-do-billing-in-supplying...