08-06-2013 9:20 AM
Hi guys,
I am a total newbie in SAP but I have been tasked by my supervisor to download/export multiple spools that I have specified in SP01 or SM37. Basically there are 7 usernames to be downloaded for month end processing. at the moment I am download it via SM37 and clicking one by one and saving locally. I was thinking if there is an easier way to do this, since there are about a couple of hundreds of spool to be downloaded and some of the spools are more than 3000+++ pages. Can someone help me with this ?
I am very sorry for this is my first post and a total noob.
Regards
Archproject
08-06-2013 3:57 PM
Hi,
Instead of downloading the file one by one manually.
You can write a program instead
-> Get the spool details(LISTIDENT) based on username from table TBTCP.
-> LOOP the spool requests
SUBMIT RSTXPDFT4 with spool = spool no.
PDF filename = (declare it as variable and concatenate spool no.)
Regards,
Vasanth
08-07-2013 12:56 AM
HI Vasanth,
Thanks for your reply. ok that sounds good. But the specification for the spool search is 7 usernames and within a range of date (e.g. 31/07/2013 - 5/08/2013).
1) Can this be implemented into the program as well ?
2) instead of PDF can it be in HTML format ?
Regards
Shock@Archproject
08-07-2013 2:43 AM
Hi,
You can read the spool number from TBTCP and pass spool number FM WWW_LIST_TO_HTML to convert it to HTML format.
CALL FUNCTION 'WWW_LIST_TO_HTML'
EXPORTING
list_index = lv_lsind List index
TABLES
html = ltab_w3html.
Cheers,
Arindam
08-07-2013 3:08 AM
Hi Arindam,
Thanks but I do not have that kind of privileges. Is there no other easier way to do this without creating programs or calling any function.
Regards
Shock
08-07-2013 3:47 AM
Hi Arindam,
Is there any way to do what i need to do without doing any calling of functions or creating a program ?
Regards
Shock
08-07-2013 3:47 AM
Hi Arindam,
Is there any way to do what i need to do without doing any calling of functions or creating a program ?
Regards
Shock
08-07-2013 6:08 AM
Not at the mass level that you are looking for. You can only do individual lists.
Cheers,
Arindam
08-07-2013 6:37 AM
Hi Shock,
Using standard program RSTXPDFT4 we can download single Spool in to PDF.
Your requirement for multiple spool requests, i think there no standard program for that, through Y development only it is possible.......
09-22-2016 12:09 PM
08-07-2013 4:22 AM