Skip to Content
0

EDI Logistics Invoice with Intercompany Stock Transfer

Jan 19, 2017 at 04:28 PM

227

avatar image

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)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Jürgen L
Jan 19, 2017 at 10:01 PM
0
Share
10 |10000 characters needed characters left characters exceeded
Melissa Hedrick Feb 02, 2017 at 03:22 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Feb 02, 2017 at 03:57 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Melissa Hedrick Feb 03, 2017 at 01:58 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Feb 03, 2017 at 02:43 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded