Double click on “selection variable” column and select “D”ĥ. Select the line of your date – options field from the list and scroll rightĤ. System will take you to variant screen enter the name and description of the variant.ģ. Go to SE38 transaction enter Program name and execute then enter all the values in the input fields which are needed and click on “Save” button.Ģ. Process to create a dynamic variant is explained as follows:ġ. This is the concept of “dynamic variants” which we shall discuss in this document.
#Last day on the job update#
So a batch job will be scheduled as a one-time activity but for today’s run it takes a particular date and for tomorrow’s run, it takes updated and new date, without the need to enter or update the variant every day. Sometimes a few fields in such variants need not keep the same data for the frequent run, but there is a need for “dynamic” update of selection data, for example dates. Therefore, an SAP Program and a variant name can be provided to setup a batch job the variant taking care of the selection data in the program fields. Whenever we have to run an SAP Program for which selection data needs to be entered, and in case same data needs to be entered along with the program run for every run, SAP offers option to save sets of input values for programs as “variants”.