Q
Problem solve Get help with specific problems with your technologies, process and projects.

Find out if a report exists with ABAP

I'm trying to check if a report exists before I do a "submit" but I don't know how, writes a reader. Expert Matt Billingham's advice solves the problem.

I'm trying to check if a report exists before I do a "submit" but I don't know how. I tried with the exceptions handling system and tried to catch the "load_program_not_found" error, but I never succeeded, so any help would be welcome.
Use the ABAP keywords "READ REPORT". Sy-subrc will be four if the program doesn't exist.
This was last published in March 2005

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close