Application Development 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: 

Link between GRN & MIRO Doc

Former Member
0 Kudos

Hello Experts,

I want a link between mseg & ekbe(where vgabe = 2, RSEG belnr) ...besides matnr, ebeln and ebelp ..

I m not able to find a link that for which GRN which MIRO doc has been posted.

Plz suggest.

Aastha

6 REPLIES 6

sreeramkumar_madisetty
Active Contributor
0 Kudos

This message was moderated.

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Aastha,

What do you mean by

want a link between mseg & ekbe(where vgabe = 2, RSEG belnr) ...besides matnr, ebeln and ebelp

Plz be clear in your requirement.

BR,

Suhas

Former Member
0 Kudos

Hello Suhas,

I want msegmblnr to be linked with ekbebelnr.Here in table ekbe where vgabe = 2, it is the MIRO document.

In short i want GRN no to b mapped with its MIRO doc no line item wise.

Plz suggest.

Aastha

former_member387317
Active Contributor
0 Kudos

Hi Aastha Gupta,

Check Out below fields for Relation between MSEG and EKBE...

MSEG-MBLNR == EKBE-BELNR

MSEG-MJAHR == EKBE-GJAHR

MSEG-ZEILE == EKBE-BUZEI

MSEG-EBELN == EKBE-EBELN 

MSEG-EBELP == EKBE-EBELP

MSEG-ZEKKN == EKBE-ZEKKN

and

EKBE-VGABE = '2' For Invoice Recipt

So you have full Primary Key of MSEG

MSEG-MJAHR

MSEG-ZEILE

MSEG-EBELN available in EKBE and further you can paas other data also...

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya

0 Kudos

Hello Ilesh,

I don't want this, i get the GRN no from MSEG , I want MIRO no for this

it is wrong

MSEG-MBLNR == EKBE-BELNR

MSEG-MJAHR == EKBE-GJAHR

MSEG-ZEILE == EKBE-BUZEI

MSEG-EBELN == EKBE-EBELN

MSEG-EBELP == EKBE-EBELP

MSEG-ZEKKN == EKBE-ZEKKN

as i want RSEGBELNR , which is same as EKBEBELNR , where vgabe = 2,

and i can't put MSEG-ZEILE == EKBE-BUZEI

Regards,

Aastha

0 Kudos

Have you checked RSEG-LFBNR, RSEG-LFGJA and RSEG-LFPOS?

If it is not populating then your invoice is not based on GR. If it is there then only you can get the reference.

I mean to say, in PO you can check that inside the tab Invoice (in item level) . If GR based IV is ticked then only you can get that refrence.

This tick is determined by the vendor master entry only so it depends for which vendor you are creating the PO.

For your ref I am giving the same question what I asked in forum may be helpful for you.

[;

Regards

Shiba Prasad Dutta