on 04-14-2010 3:35 PM
Dear All,
I got a requirement where i need to schedule a background job which will run on daily basis and the variant will change every Month. So, how shall i pass the variant. it should be automated.
Please reply with a needful.
Best Regards
Narendar
Narendar,
There are standard SAP dynamic date variables available. When saving your program variant, select "Selection Variable" > Dynamic date calculation. Here SAP will allow you to enter parameters that will calculate dates at runtime. Standard variables are
Current Date
From month start to today
Current date +/- ??? days
current date +/- ??? work days
First day of current month
nth working day of current month
First day of next month
First day of previous month
Last day of previous month
Last Day of the Current Month
First quarter ????
Second quarter ????
Third quarter ????
Fourth quarter ????
Current date - xxx,current date + yyy
Date - xxx, Date + yyy (work days)
Previous month
Current period
(Beginning of mth-xx months, end of mth+yy months)
If these are not adequate, then you can engage a programmer to create your own, which you can update using your own rules.
Check out the online help on the subject
http://help.sap.com/saphelp_erp60_sp/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm
Rgds,
DB49
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The basic parameters cannot change,
Add multiplee variants in to steps and assign them a dynamic date, so they are picked up only at that date!! It also depends on what the job is!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.