You are on page 1of 2

finding out variant for batch job

This question is answered


A background batch job is triggered for a certain condition and the variant passed is the batch
number. In SM37, I can see numerous background jobs that were executed successfully. Is it
possible to find out the value of the variant that it was executed for?
Tags:

abap

Megan Flores
January 07, 2009 at 10:04 AM
1 Likes
Correct Answer

santosh sarda replied


January 07, 2009 at 09:46 AM
1. go to sm37
2.select the batch job you wnat to see the variant for
3.click STEP from application tool bar.
4. put the cursor on program name ran in step overview list.
5. Select Menu 'GOTO'.
6. cleick on varaint in the same.
here you will see the varaint that was used while running the program in background.
0View this answer in context

Not what you were looking for? View more on this topic or Ask a question

7 replies

Ankesh Saharan replied


January 07, 2009 at 09:31 AM
Double click the successfully executed job..then Check its Step.
There you will see the program and variant used for the job.
Revert if u need more.
0 likes

Megan Flores replied


January 07, 2009 at 09:47 AM
I can see the name of the variant. But what is the value of the variant passed. I dont see that
anywhere.
0 likes

shan palani replied


January 07, 2009 at 09:40 AM
refer below table
BPABAPJOB---- Background job table for ABAP jobs
0 likes

Correct Answer

santosh sarda replied


January 07, 2009 at 09:46 AM
1. go to sm37
2.select the batch job you wnat to see the variant for
3.click STEP from application tool bar.
4. put the cursor on program name ran in step overview list.
5. Select Menu 'GOTO'.
6. cleick on varaint in the same.
here you will see the varaint that was used while running the program in background.
0 likes

Megan Flores replied


January 07, 2009 at 10:04 AM
Yes I can see a value for the variant here. But this is not the value of the batch number that the
background job selected ran. This is the value of the batch number for the current background
job. So this is incorrect
0 likes

Mohammad MahaboobKhan replied


January 07, 2009 at 09:49 AM
Hi,
Goto SM37 - Select shedule jobs - > select Job -> click on Step (Here you can find the varient) -
Click on spool(here you can see output)
Regards
Md.MahaboobKhan
0 likes

Megan Flores replied


January 07, 2009 at 09:52 AM
There is no report generated after the execution of the program so no output can be seen

You might also like