‎2009 Jun 12 6:17 AM
Hi,
I need to create a batch job.
In the selection-screen in have made one of the date parameter as sy-datum.
When i create a variant today that variantw will have todays date, and if i need ot run the same variant
tomorrow the date is getting vanished.
How can i make the date in the variant i create as sy-datum
What are the steps involved in creating the batch job and creating the variant with default sy-datum.
Pls help.
Thanks.
‎2009 Jun 12 6:32 AM
HI,
One way would be to have the default today's date set for the date parameter on selection screen.
Another way would be to make use of Selection variables TVARV.
Hope this helps.
‎2009 Jun 12 6:53 AM
Deepti....you can make that parameter as sy-datum...in the program..may be in start-of-selection...so that it doesnt even consider the date in the variant....
Infact why are you keeping that variable in Selection-Screen, if you always want it as Sy-Datum...when you run the report...
Hope it helps!
‎2009 Jun 12 7:07 AM
‎2009 Jun 12 8:04 AM
Hi,
Please try mapping your variant with TVARV table.
Thanks and Regards,
Jayakrishnan R.