2007 Oct 12 10:12 AM
Hello all,
Does anybody know how can I write spool to excel file? I know that FM 'LIST_DOWNLOAD' can save what's currently on screen but first I would have to display spool as transaction SP01 does and it's not that ease as I thought. Any ideas ?
2007 Oct 12 10:15 AM
Hi,
Check this link it will help you.
https://forums.sdn.sap.com/click.jspa?searchID=5891689&messageID=3856705
Thanks,
Reward If Helpful.
Hi,
Check this link it will help you.
https://forums.sdn.sap.com/click.jspa?searchID=5891689&messageID=3856705
Thanks,
Reward If Helpful.
2007 Oct 12 10:15 AM
Hi,
Check this link it will help you.
https://forums.sdn.sap.com/click.jspa?searchID=5891689&messageID=3856705
Thanks,
Reward If Helpful.
2007 Oct 12 10:16 AM
Hi,
SUBMIT rm07idif WITH SELECTION-TABLE li_selection
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = li_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
CHECK sy-subrc = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
listobject = li_listobject
EXCEPTIONS
empty_list = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
Or here you can send the spool to Excel.
Try this link
http://www.geocities.com/victorav15/sapr3/abapfun.html#ole
OR
Use Function RSPO_DISPLAY_SPOOLJOB
to automate the process of display.
Try SeE37 RSPO_DISPLAY_SPOOLJOB single test
nothing could be easier.
RSPO_DOWNLOAD_SPOOLJOB downloads to a flat file
That could be processed to CSV & captured into Excel.
Reward points if useful
2007 Oct 12 10:17 AM
2007 Oct 12 10:17 AM
Hi,
chek the below link
http://www.sap-img.com/abap/download-in-background-in-excel-format.htm
Regards,
Nagaraj
2007 Oct 12 10:30 AM
hi
good
There is a possibility of download the spool file as txt-file. .
Use Tranx SP01 - select the spool entry -->"spool request --> forward as text . You will find the file in your SAP work directory as <sid><spool#>.
http://www.sap-img.com/abap/download-in-background-in-excel-format.htm
or use fm RSPO_DOWNLOAD_SPOOLJOB.
reward point if helpful.
thanks
mrutyun^
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |