‎2007 Sep 05 12:17 PM
SELECT-OPTIONS: s_erdat FOR vbak-erdat
in INITIALIZATION event.
i made logic for display s_erdat. so when i excute program, it is displaying low and high value correctly. no problem with that report.
Now, i want to run this program as background, for this i create variant. how can i create a variant to send date values which i wrote logic in INITIALIZATION event..
thks
sudhakar
‎2007 Sep 05 12:25 PM
Hi reddy,
See Once you wrote the logic in Initialization it comes on the selection screen..
Then you need to goto PROGRAM -- >EXECUTE IN BACKGROUND
and give the output device and enter, you will get an information again enter.
Now click immediate and uncheck periodic job and save it.
Now go to SM36 -- > click Job selections --> check all the check boxes in ssecond row and execute.
you will get all the schedule jobs.
check your program name is your job name..
click that and press the spool button above ..
Now click the abap list under the TYPe column.. thats your output..
<b>NOTe</b>
And If you want current date always as an variant data.
its not possible writing the logic.. there is some other technique to do that.
See when you give date as a variant and save it.. when you run the program on the other date you will not get the current date but you will get the previous saved date.
there is a technique to do that..
Tell me your exact problem we can help you a lot.!!
rewards if useful;,
regards,
nazeer
‎2007 Sep 05 12:26 PM
Hi,
Just create any variant. But during initialisation it will be overwritten.
Thanks...
Preetham S