cancel
Showing results for 
Search instead for 
Did you mean: 

STO - IDOC INVOIC - MM Receipt on Delivery note rather PO number

Former Member
0 Kudos

Hi Gurus,

I'm processing an MM Receipt INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order.

This is integrated in a standard Stock Transfer Order. This IDOC is generated using Output type RD04 from Intercompany billing.

When SAP creates IDOC, it is based on the Delivery note number rather than the PO number, even I have the PO and Delivery in my PO historic, and even if I have IDOC segment E1EDP02 QUALF 001 with PO and segment E1EDP02 with QUALF 016 with Delivery note.

I tried to managed PO item flags: "Invoice Receipt Indicator" or "Indicator: GR-Based Invoice Verification".

But there is no impact.

When I create the MM Receipt manually using TCode MIRO in reference to the PO. It works.

When I create the MM Receipt manually using TCode MIRO in reference to the Delivery not. It doesn't work. I got the same error message "Delivery note/service entry sheet xxxx does not exist".

I conclude that when SAP performs the IDOC, someting in the IDOC tells him to create a invoice in reference to the Delivery note rather than the PO. How can we change it?

Please, could you help me to understand this blocking point and to allow to create the MM Receipt on PO?

Many thanks.

Stéphane.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi,

Have you resolved this issue? Kindly update

Regards

Former Member
0 Kudos

Hello,

I have faced this issue and do debug a lot. Finally, this issue can be fixed by FM EXIT_SAPLMRMH_013. Change 2 fields: E_LFSNR and E_CHANGE

Details:

     + E_LFSNR = EKBE-XBLNR

     + E_CHANGE = 'X'.

Below is the reason why we have to enhance field E_LFSNR

Former Member
0 Kudos

Hi, have you solved this issue? i have the same case.

regards

Former Member
0 Kudos

hello, friend.

i am not an expert in MM, but....

i noticed that when using MIGO, you can do GR based on an inbound delivery, and maybe also an outbound delivery (from STO). an outbound delivery created in an STO scenario should have links to the STO related PO. could this be the link you are looking for?

regards.

Former Member
0 Kudos

In fact, I solved it using flag "GR-BasedIV" in Vendor master data.

Former Member
0 Kudos

Also, check if GR based IV is checked in the PO. Before saving the PO make sure to remove this check.