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 mblnr and kdauf fields

Former Member
0 Kudos

Hi Guru's,

i am find link between Number of Material Document and sales order no .i found that in mseg table but there is no relation between in to table anybody tell me what are the other table in dictionary.

Thanking you.

Regards.

Sam

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Check this table - AFRU

May be it'll help you.

Regards.

3 REPLIES 3

Former Member
0 Kudos

Hi

Check this table - AFRU

May be it'll help you.

Regards.

Former Member
0 Kudos

chek that table mseg in that .while the MM people creating GR item data will be stored to mseg table.

former_member387317
Active Contributor
0 Kudos

Hi Sam,

In Table MSEG

KDAUF = VBELN Sales Order Number

KDPOS = POSNR Item Number in Sales Order

So get the VBELN and POSNR from VBAP and pass it to KDAUF and KDPOS in MSEG respectively and get the MBLNR ....

write a select like below...

select MBLNR from mseg where KDAUF = VBAP-VBELN and KDPOS = VBAP-POSNR.

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7