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

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close