Skip to Content

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

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.

pic1.png (161.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 30, 2019 at 07:21 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.