‎2008 Jun 10 3:46 PM
Hi All,
I have to get the spool request dynamically to pass that to the FM
CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'
EXPORTING
ID =
FNAME = .
so that I will be able to download the content into excel file.
Please help.
Points will be awarded for useful answers,
Thanks,
Sarath.C
‎2008 Jun 10 5:12 PM
Field SY-SPONO will give you the last generated spool. If you are creating only one spool than access this field to get the spool number.
Regards,
Naimesh Patel
‎2008 Jun 10 3:56 PM
‎2008 Jun 10 4:48 PM
Raymond,
I have data in three internal tables which is generated from a standard FM and to align them I pass it to another FM which finally creates a Spool request. Can you tell me how to fetch the spool request from TSP01 for the corresponding program Im executing.
Regards,
Sarath.C
‎2008 Jun 10 3:57 PM
Hi
parameter: spool type TSP01-RQIDENT.
data: filename type rlgrap-filename value 'c:/fax.txt'.
DATA: IT_ATTACH TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0 WITH HEADER LINE.
CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'
EXPORTING
ID = spool
FNAME = filename.
Regards
‎2008 Jun 10 5:12 PM
Field SY-SPONO will give you the last generated spool. If you are creating only one spool than access this field to get the spool number.
Regards,
Naimesh Patel