Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

program variants

Former Member
0 Likes
778

hai all of you,

i created a program in se38. but i want to run this program as background job with variants .what r the steps to to execute to run this as background? how can i create variants?

plz send the detail info about variants and background jobs

7 REPLIES 7
Read only

Former Member
Read only

Former Member
0 Likes
732

Hi,

Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.

If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a <b>variant</b>

See the below link, it well explained about the background jobs

http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/2c513897110872e10000009b38f889/content.htm

Regards

Sudheer

Read only

Former Member
0 Likes
732

Hi Ravindra,

Go to the selection screen of your program & enter the values. Once you have entered the values, press the save button. This will take you to the variant creation screen.Here enter the name & description for the variant. Also there is a checkbox for 'Only for background processing' in this screen. Please check this checkbox & this variant would be available for background processing.

Now coming to your second question as to how should we run the program in background mode, the answer is pretty simple.On the selection screen itself ,press F9 function key. This would take you to the screen for executing your program in background mode. Once your done with this, you can see the background job details in SM37 transaction.

Please reward points if you find this information useful.

Regards,

Chetan.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
732

Hi,

In se38,just execute the program.

In the selection screen of the program,type the values you need.

Then press the save button.

Then you will be in a screen to enter the name for variant.Do it and save.

Then go to se38 and execute the program.Choose the saved variant.Then from the menu program->Execute in background.

Kindly reward points by clikcing the star on the left of reply,if it helps.

Read only

Former Member
0 Likes
732

Have a look at below link. It will give you details about creation of variants.

http://web.mit.edu/sapr3/docs/webdocs/reports/rpRFvariant.html

Below link will give you the details about scheduling and executing of the backkground jobs.

I hope it helps.

Best Regards,

Vibha Deshmukh

*Plz mark useful answers

Read only

0 Likes
732

Even this link can help you.

<a href="http://www.le.ac.uk/mis/docs/sapdocs/af/af1-2%20Background%20Jobs.doc">Guide for Background Jobs</a>

Kind Regards

Eswar