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: 

Linking MSEG-mblnr and VBRP-VBELN /VBRP-VGBEL

Former Member
0 Kudos
1,394

Team,

I want to know what table contains MBLNR and VBELN or VGBEL in one table.

Thanks

Rel. 4.7

1 ACCEPTED SOLUTION

Former Member
0 Kudos
406

If resolved, please close the post.

Srinivas

5 REPLIES 5

Former Member
0 Kudos
406

I think you looking for MSEG table it contain sales order(VBELN) as KDAUF and reference document(VGBEL) as LFBNR.

0 Kudos
406

Thanks for your reply.

These two fields are not populated in MSEG in our system.

Is there any other table.

Thanks

0 Kudos
406

I don't think soo. It has to store only MSEG(Document Segment: Material). Try to create a material document and check.

Former Member
0 Kudos
406

They are not directly linked, but they both(invoice and material document) are linked to the sales order in the document flow.

Go to VBFA and enter your document in the VBELN field and you will get all the preceding documents including material document and the sales order.

Srinivas

Former Member
0 Kudos
407

If resolved, please close the post.

Srinivas