‎2007 Feb 02 6:01 AM
Hi All,
I have to create a batch job which will run a report. For that batch job i have to show only few Columns in report. This report also used to run for others batch jobs.
Now i want to know how can i modified my report to know which batch job is executing my report while processing in background.
i.e i can modify the report output based on the folloing condition.
If SY-BATCH is initial and BATCHJOBNAME = 'Test'.
desired output.
else.
...
endif.
‎2007 Feb 02 6:11 AM
Hi piyush,
1. The answer to your question is :
the FM
GET_JOB_RUNTIME_INFO
2. Use this FM inside the code
of your report.
3. It will give you various details like.
EVENTID
EVENTPARM
EXTERNAL_PROGRAM_ACTIVE
JOBCOUNT
JOBNAME
STEPCOUNT
regards,
amit m.
‎2007 Feb 02 6:11 AM
Hi piyush,
1. The answer to your question is :
the FM
GET_JOB_RUNTIME_INFO
2. Use this FM inside the code
of your report.
3. It will give you various details like.
EVENTID
EVENTPARM
EXTERNAL_PROGRAM_ACTIVE
JOBCOUNT
JOBNAME
STEPCOUNT
regards,
amit m.
‎2007 Feb 02 6:18 AM
Use this FM inside ur report program GET_JOB_RUNTIME_INFO..
It will serve your purpose.
Anju