Getting data to show in an SAP ALV Grid

Getting data to show in an SAP ALV Grid

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?

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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.

ENDWHILE.

From SM50, you can enter the debugger when the code gets to this point.

 

This was first published in June 2010