cancel
Showing results for 
Search instead for 
Did you mean: 

want to remove lines for batch with MvT transactions subtotaled 0.

0 Kudos

Dear guru, I use SQ00 to create a finished goods report to capture the age of 'quality released but not delivered' finished goods (use MVT 321 transaction posting date as released date and create local fields for age calculation). The report output is by batch. I want to remove the line items where the subtotal of MVT 321 and 601 is 0 by batch, and only want to keep the line items where the subtotal of MVT 321 and 601 is not 0. Is there any way to do this? Thank you as always for your help.

Accepted Solutions (1)

Accepted Solutions (1)

pataselano
Active Contributor
0 Kudos

You must create infoset using structure table through tcode SQ02. In that infoset, you must create ABAP coding for fill that structure table. If sum of mvt 321 and mvt 601 > 0 that the structure table will fill.

After finish, you create query as usual using that infoset (tcode SQ01). So, query will display batch which sum of mvt 321 and mvt 601 is bigger than zero.

0 Kudos

Thank you so much Andy. I will contact our ABAPer to help.

Answers (0)