cancel
Showing results for 
Search instead for 
Did you mean: 

How to find relevant batchjobs using variant input parameters

ali-sd
Active Participant
0 Kudos

Hi Experts,
We have 1000's of batchjobs, most of the times, it is very difficult to find the relevant one, I tried so much to find a way to find the relevant batchjob, but failed. Later I was wondering if we have a way to find the specific batchjobs by using variant's input parameters, below is an example variant.


If we can use shipping point (1000), order type (ZSO), sales org (1000) in some table to find the relevant batchjobs? Is it possible? Please advise.


Thanks and Regards.

Sandra_Rossi
Active Contributor
0 Kudos

A few people have shared their program to search or display the variables of program variants. You can then find the jobs which use these program variants.

Accepted Solutions (1)

Accepted Solutions (1)

ali-sd
Active Participant
0 Kudos

I got the solution. But it is not standard.
Input parameters in SM37
1. Specific program
2. Specific brand name in the job description (which is division per client)
3. Execute, you get a list of batchjobs still
4. Again in each batchjob, manually verified the variant entries (per my requirement)

This is the only option I have to validate the specific batchjob.

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor

You can check in table TBTCO or SM37, to get the related program name or go to SM36 > Overview, where you input the program name and execute so that it will show the variant name. The other option could be SM66 which I am not sure as I don't have access to SAP to cross verify

ali-sd
Active Participant
0 Kudos

Hi Lakshmipathi,
Thank you very much for the quick reply. I really appreciate it.
Yes, I understand that we can use TBTCO or SM37 or SM36 to find the program. But my question is, is there any table in S4 or ECC system just to pass the input parameters (of variant) along with program to find the most specific batchjob?
Because for any single program (ex: RVV50R10C), I have 100+ batchjobs, so if I get a chance to also filter these 100+ jobs by variant parameters, will be very great.

Thanks

raymond_giuseppi
Active Contributor
0 Kudos

AFAIK the values for variant selection are stored in a cluster, INDX like, table VARI. You wont be able to perform a simple SELECT to find the values.

Usually those variants are read using FM such as RS_VARIANT_CONTENTS or RS_VARIANT_VALUES_TECH_DATA.

Your search tool would be requested to look for each and every variant of the report, reading VARID, extract the selection values for each variant, search in the resulting internal table before looking at table TBTCO to find the backgroud jobs. Performance can and will become a problem?