2008 Aug 22 5:19 AM
I have a report that run in background.Now my aim is to save the data in excel on my desktop.
Please guide me how to do so.I have used this function module
SAP_CONVERT_TO_XLS_FORMAT
and many more but still i'm not able to save data in excel.
I have a report that run in background.Now my aim is to save the data in excel on my desktop.
Please guide me how to do so.I have used this function module
SAP_CONVERT_TO_XLS_FORMAT
and many more but still i'm not able to save data in excel.
2008 Aug 22 5:20 AM
2008 Aug 22 5:24 AM
hi abhut
Use The function module
Download or GUI_Download
Regards
Deva
2008 Aug 22 5:25 AM
2008 Aug 22 5:26 AM
You cannnot use any of these function modules in Background. There is no easy way of interacting with the presentation server in backgorund, Instead you could do background processing and store the file in app server and then transfer it from app server to presentation server.
This is one of the complicated way to do it:
2008 Aug 22 6:42 AM
I do not want to create RFC detination.Is there some other way to do this.
Please guide
2008 Aug 22 6:51 AM
If you dont create a RFC destination then there is no other way to access presentation server(desktop) in background.
One other alternative is to run the main program in foreground, submit a job of an program which does all the processing in background...then read the output of this background job, and then save it to excel in foreground.
2008 Aug 22 6:45 AM
ABHUT
There is no possible way to download the file on Presentation Server through Background Job.
Thanks
Amol Lohade
2009 Mar 03 10:47 AM
2009 Mar 03 11:32 AM
HI,
Submit the program and store the output in Memory.
Get the memory contents using FM LIST_FROM_MEMORY, and data will be in ABAPLIST format.
Now you convert the data from ABAPLIST to EXCEL format.
Hope this helps.
Regards,
SP Raj.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |