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: 

ABAP, how to unify lines with certain field ID

former_member832801
Discoverer
0 Kudos

Hello,
can anyone give an advice how should in ABAP programming squeeze lines with the same Stor. location. into one row ?
You can see the in the table there is one material with different Storage location, different Unrest. quantity, Blocked quantity and Qty in UnE.

My goal is the the row with Stor. Location 2260, get into one. So as results you would be able to see that table below.

Thank you in advance for any help,

Regards,

Ondrej

1 ACCEPTED SOLUTION

Eduardo-CE
Active Participant

Hello,

You can use COLLECT.

Regards.

3 REPLIES 3

Eduardo-CE
Active Participant

Hello,

You can use COLLECT.

Regards.

andrefischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

COLLECT - ABAP Keyword Documentation (sap.com)

ceterum censeo RAP esse utendam

0 Kudos

Thank you, I will try that.