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.
Showing results for 
Search instead for 
Did you mean: 

Adding quantity and amount fields in MSEG table

Former Member
0 Kudos

Hi All

can any one answer this

I want to add the fields MENGE,DMBTR from the table MSEG when MBLNR,MATNR,LIFNR values ar same.I am retrieving other fields also apart from the above table, and those values may differ.


Developer Advocate
Developer Advocate
0 Kudos

Did these answers not help?

You should have probably continued with that thread instead of creating a new one. Please make sure you visit that thread and close it and mark any helpful answers.


Rich Heilman

0 Kudos

If you need to total the values up, then you must use the logic provided in the other thread and use the COLLECT statement. This will give you an internal table with the total values for MBLNR MATNR LIFNR. If there are other fields in the original table, omit them in the second internal table.


Rich Heilman

Active Contributor
0 Kudos


SE11 create new structure the fields which u required.

Then goto SE11 give name MSEG->enter

Then in menu GOTO->Append structure

Then use SE14