Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule job to kick off report writer?

BrianVanderwiel
Participant
0 Kudos

User would like to schedule a report writer report (transaction GR55, enter a report group,.....). Is there a simple way to do this? I realize SAP generates a report name (ex: GP3G247NG8VI29S98GVKS5185KM300), but I don't want to schedule using the generated name if I can help it.

Also, I realize that I could just create an ABAP to launch GR55, and kick of the report, but I was hoping there was a better way.

Any ideas?

1 ACCEPTED SOLUTION

carlos_verabaca
Explorer
0 Kudos

When I run GR55, choose the Report Group that I want to execute and then choose Execute in BackGround, SAP creates a schedule with the generated name of the report. So I think this is the right way.

Hope this help.

4 REPLIES 4

carlos_verabaca
Explorer
0 Kudos

When I run GR55, choose the Report Group that I want to execute and then choose Execute in BackGround, SAP creates a schedule with the generated name of the report. So I think this is the right way.

Hope this help.

andreas_mann3
Active Contributor
0 Kudos

Hi,

use fm G_PROGRAM_NAME to get program name

than you could create a job with fm's

1) job_start

2) submit (PROGRAM_NAME)

3) job_close

regards Andreas

ramki_maley
Active Contributor
0 Kudos

Hi Brian,

The following link should help you. I don't think it is any different for other releases.

<u><b>4.6C:</b></u> http://help.sap.com/saphelp_46c/helpdata/en/5b/d22fc343c611d182b30000e829fbfe/frameset.htm

BrianVanderwiel
Participant
0 Kudos

Thanks for the replies everyone.

To clarify, we need to schedule the report via our external scheduling system to run on a certain interval.

Since we can't guarantee that the generated program name will remain the same, the best solution seems to be a "shell" program that calls G_PROGRAM_NAME, then submits the report. Now I just need to decide what features (how flexible) to put in the shell program.

Thanks again.