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

process background job using varient

Former Member
0 Likes
374

Hi experts,

I am setting a background job using varient.My application server directory contains 10 files.I want to process those files every day file by file.After processing I am deleting that file from that directory.I created one varient for that.(It Is a daily Process).and i need to pass these file to selection screen in background job.

Please help me.

regards,

rakesh

2 REPLIES 2
Read only

Former Member
0 Likes
344

Hi Rakesh,

Hi

first Save the variant for that program and use in Job scheduling

Create a Variant for the Program and

Schedule JOB in background:

Go to SM36 create a Job

enter Program and Variant for that program in STEP..

click on Start Condition

Click on DATE and TIME enter date scheduled Start and END times

click on Period Values

Click on HOURLY/WEEKLY etc

CLick on RESTRICTIONS also to use further criteria.

so your job will be scheduled and run as per your requirement.

and in SM37 Transaction check the status of that JOB

Check this link for scheduling jobs..

http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm

<b>Kindly Reward Points If You Found The Reply Usefull<b>,

Cheers,

Chaitanya.

Read only

0 Likes
344

Hi,

I know how to schedule the job,but how to process all files every day using that variant.

I need to do file by file,file differ with time.