‎2006 Sep 20 4:01 PM
Hi all,
I have a requirement to schedule a job to run on the 17th and the program in it shall pick up all records starting by 15th of last month(START DATE) till 14th of the current month (END DATE).
However, I cannot find any option that allow us to define a variant like with this parameters.
Do you guys know possible solutions?
Thanks in advance,
Luis
‎2006 Sep 20 4:09 PM
Hi,
Your Program need to do all these things, you need to write the code like, it should allow the records from 15th of last month to 14th of this month ....
This program you can schedule on 17th using SM36 Transaction code .......
Regards
Sudheer
‎2006 Sep 20 4:11 PM
Hi
You can code in the <b>initialization</b> event to take START DATE and END DATE as required.
So, if you run this prg anytime, it will take 15th of last month as START DATE and 14th of current month as END DATE by <b>DEFAULT</b>.
Regards,
Raj
‎2006 Sep 20 4:18 PM
Hi LuÃs,
You can create two new TVARVC variables(Entries in TVARVC table) and write an ABAP program to update these variables with the required dates(This can be scheduled as a step ahead of the current program)
Assign the TVARVC variables to the select fields via the selection variables option while creating the variant that is used to run the program in Back ground
Thanks,
Vinay