Current Position:Home > Regarding Variants for Background jobs

Regarding Variants for Background jobs

Update:11-30Source: network consolidation
Advertisement
Hi Folks
Can you please let me know the procedure how we can create the variants for Background jobs.
Points are assured for correct answers.
Regards,
kumar

The Best Answer

Advertisement
Hi Sree Ram,
Check this info.
If you have any selection screen parameters for your program you need to enter the values for those fields in runtime. So, if you schedule your program in background to execute then there is no one to do this job. Here comes the concept of Variant.
With variant you define what are the selection field values in the runtime. During runtime the program picks this values and runs the program.
When you execute your program which has selection fields, you enter the values and then you click on 'GO TO ' tab and 'SAVE AS VARIANT'.
When you schedule your program in background, give this variant also. Then it will run automatically.
Hope this resolves your query.
Reward all the helpful answers.
Regards
  • Regarding Variants for Background jobs Update:11-30

    Hi Folks Can you please let me know the procedure how we can create the variants for Background jobs. Points are assured for correct answers. Regards, kumarHi Sree Ram, Check this info. If you have any selection screen parameters for your program you

  • Download alv report using layout variant in background Update:10-11

    Hi All, I want to download an Alv report using layout varaint in background job. can any one please help me. i.e... I am facing a problem in downloading a text file to the Application server. My requirement is, when the user downloads a file with the

  • Dynamic Variant for Background Programs Update:10-11

    Hi, On a Std program, I have two parameter Settlement Period and Settlement Year. I want to run this std program in the background with VAriant. The values in these variable should change automatically for every new period/fiscal year. I tried to use

  • LDB-PNP Variant  behavior (Background job )  on INITIALIZATION Event. Update:11-30

    Iu2019ve written code on initialization event to pre-select employees based on Employee status (active) and created PNPINDEX. Problem: This program move to prod in June, user created the variant as u201Ccurrent yearu201D and employee status u201CACTI

  • How to pass layout variant in background job? Update:11-30

    Dear Gurus, I have set layout variant as PARAMETERS in my program. The report will be executed successfully in front-end, but if I set it in background , it will pop up error msg: Program (IS_VARIANT-REPORT) not specified. But the alv function I have

  • Change variant for background scheduled jobs Update:11-30

    Hi experts, I want to schedule the report RKO7KO8G in background. Two of the selection parameters of this report are Settlement period & Settlement year. This report should be executed in the background every month. For this the period parameter shou

  • Variants for background jobs Update:11-30

    You need to schedule and automate batch jobs in an organisation. There will be multiple variants and multiple steps within same batch jobs. The variants are date dependent and needs to change every day. You need to automatically change the variants e

  • How to delete variant form background job Update:11-30

    Hi, I have one background job with 5 variants associated with iy. Now i want to remove 2 variant from that background job. is it posible??? if yes then how to do that? Thanks,Hi. Go to SM37, execute report to see it, click on modify, and change steps

  • Variant in Background Update:11-30

    Hi Experts, Can we make a variant run in background by default?? If yes then how??Hi, By Usin Fm:RS_CREATE_VARIANT Check This Code.... build range table for parameters of the variant   CLEAR t_contents. REFRESH t_contents.   PERFORM add_param_to_var.

  • Creating a variant for background scheduling Update:11-30

    Hi All , I have  3 seperate executable programs which take filename as an input on the selection screen ( from the application server ) . Now the requirement is to schedule these programs as background jobs using a variant , but the variant is not po