Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HOW to get to MIgo through MIRO

nbarboza
Explorer
0 Kudos
578
Hi,

I'm doing a report, where I need to tie the MIRO to the MIRO, which field do I use in the MIRO to know what her MIGO is?

I'm using EKBE as a base for select.

Grateful.
Neemias.
1 ACCEPTED SOLUTION

DominikTylczyn
SAP Champion
SAP Champion
461

Hello nbarboza

First of all, a link between an invoice and a goods receipt is only available directly if GR based invoice verification is active for the purchase order item:

Then you can read the link from PO history table EKBE. EKBE records where VGABE = 2 are invoice receipts. Corresponding goods receipt items are stored in LFGJA, LFBNR, LFPOS.

Best regards

Dominik Tylczynski

3 REPLIES 3

Jeansy
Active Contributor
0 Kudos
461

Can you please share some code?

I did not understand what you try to achieve.


KR Jens

DominikTylczyn
SAP Champion
SAP Champion
462

Hello nbarboza

First of all, a link between an invoice and a goods receipt is only available directly if GR based invoice verification is active for the purchase order item:

Then you can read the link from PO history table EKBE. EKBE records where VGABE = 2 are invoice receipts. Corresponding goods receipt items are stored in LFGJA, LFBNR, LFPOS.

Best regards

Dominik Tylczynski

461
Thank you all,

Dominik Tarczynski, I managed to parse the value of the VGABE field.

Grateful. Nehemiah.