10-09-2008 12:50 PM
Hi Experts,
Hi iam having two standard programs so now i want to run those in background with " IMMIDIATE " mode and i want to download that two reports data in to two fileesk top
is there any possibility and give me the steps also
Thanks & Regards
Mohan Reddy
10-09-2008 1:03 PM
Hi,
1) To Schedule the 2 programs in background
you can do it in SM36 which can be used to schedule the program in background, it has options in that to schedule the program to execute( Immediately, on any specific day).
2) in you programs use GUI_DOWNLOAD function module and default the FILEPATH , after executing your programs you will get your data on desktop.
Regards
Bala Krishna
10-10-2008 10:06 PM
First of all, GUI_DOWNLOAD doesn't work in the background. Second, there is no option to get the output from a standard program into a file, unless the program has been written to do that.
You'll need to write a custom report, which will start both programs, capture their output and store it in a file on the server using OPEN DATASET command, not GUI_DOWNLOAD. Additionally, some programs might provide output in such a way that this won't even be feasible.
10-11-2008 3:56 AM