Skip to Content
0
Jul 31, 2023 at 03:47 PM

Building an SAP Query with ABAP Code

123 Views

Hello,

I hope you are doing well.

I am facing an issue. I created a query in SQ01 to display all articles that have a movement code 551 (MSEG-BWART) . However, due to some input errors, I had to perform cancellations, which generated movement codes 552. The problem is that in my report, I still see all the 551 codes, even those that have been canceled.

I have seen that it's possible to add some code to my info set, but I have no knowledge of ABAP programming on SAP.

Could you please help me integrate this code to exclude articles with movement codes 551 & 552 on the same day before the output of the query?

Thank you !