I have a report in an SAP ALV Grid that is run online and run in background. But for some reason it does not show data, it just shows the heading. There is no error message. What is the best way to solve this? Should we not use ALV Grid for background jobs?
You can run ALV Grid in background, if you set it up properly. If you need to debug in background, put a little code like this:
DATA x TYPE c LENGTH 1.
WHILE x IS INITIAL.
From SM50, you can enter the debugger when the code gets to this point.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
A SearchSAP.com reader who is writing a program to update SAP tables wants to know how to make updates visible in a change log by using an SAP change... Continue Reading
A SearchSAP.com reader wants to know if it's possible to write an SAP ABAP program that will read source code and then create an SAP ABAP function ... Continue Reading