8 Replies Latest reply: Sep 9, 2009 8:01 AM by Ponmozhi V RSS

Background jobs and variant

Secure SAP
Currently Being Moderated

Hi Guys,

 

I have couple of question regarding background jobs.  Can anyone please tell me how to create user variant for background jobs for example I want to create a user variant for this background jobu201D PFCG_TIME_DEPENDENCYu201D I can go to se38 and create variant for example (Ztest) but what is the benefit of this variant?

 

My second question is; please let me know what other standard background jobs should be set up in production other then PFCG_TIME_DEPENDENCY.  Is basis user who will create batch jobs have admin access?

 

Thanks in advance

Faisal

  • Re: Background jobs and variant
    Raja Gunasekaran
    Currently Being Moderated

    Faisal,

     

    you can see all the standard jobs in sm36-> standard jobs.

     

    Regards,

    Raja. G

  • Re: Background jobs and variant
    mohit gupta
    Currently Being Moderated

    Hi ,

     

           This is task of basis to schedule standard jobs via sm36.You can create a new user for example JOBUSER with appropriate authorisation to schedule it .the idea to create new user to avoid locking it or deleting it .

     

           Variant is nothing but the input which a job need to run succesfully.for example if a job need to run for every month then you can define variant 30 days so that this jon will read this variant & run every after 30 days.

     

           you can get more info for variant on below link::

     

    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/0a/af73ec76ac11d1ad670000e8a6353a/content.htm

     

    Thanks..

    Mohit

    • Re: Background jobs and variant
      Secure SAP
      Currently Being Moderated

      Thank you guys for quick response,

       

      I'm in a realization phase and I was asked to define all the background jobs that needs to be ran in production. My basis guy didn't know anything about this job that is very important in Prod " PFCG_TIME_DEPENDENCY", that's why I was asking this question. 

       

      So above mentioned report do you know how should I explain my basis guy to set up this job by daily basis I know it is through SM36 but can you guys give me some steps to setup the above mentioned report as a background job. Also I need to know what other background jobs I need to define in this phase or what other jobs need to be setup by basis?

       

      Thank you so much for your feedback

       

      Faisal

  • Re: Background jobs and variant
    Ponmozhi V
    Currently Being Moderated

    Hi,

     

    Variant is nothing but a input created for a background job where the user interaction is not possible (or not required).

    You can see the standard jobs in SM36.Click the 'Standard Jobs' button.

     

    When you define a Background job, you are supposed to include a 'Job Step' which may be a ABAP program too. In that case you will be prompted for creating a variant in SE38 itself by clicking the 'Variants' radio button. Normally if the Program has already specified varian you can select it from search help too. And finally you can schedule the job according to your requirement.

Actions