08-04-2008 3:23 AM
Hi,
I have a requirement, thru my program more than one spool request/list will be genereated.
I have captured into one internal table all spool reuqests generated by current run of the program.
How to get associated List for spool requests? which table contains the list?
and how to merge the output?
Plz plz help me
08-04-2008 4:08 AM
Hi dsfgs dsfs...
Could you plz tell me thru which are you printng ..Using SF or Script.
Regards,
sg
08-04-2008 4:28 AM
program is Report here..
any of smartforms or Scripts NOT invloved in this report.
report itself wll generate multiple spool requests by parllel processing.. need to get consolidated output for these requests.
Plz help me
08-04-2008 4:28 AM
Hi,
Please check table TSP01
also have look at
*SP0*
tables
Best regards,
raam
08-04-2008 6:49 AM
Hi,
Loop over the table which has all the spool nos. & call the FM "RSPO_RETURN_ABAP_SPOOLJOB". append the output to final output internal table.
loop at gt_spool into wa_spool.
CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
IMPORTINg
RQIDENT = wa_spool-spool_no
...
TABLES
BUFFER = gt_spool.
loop at gt_spool.
append gt_spool to gt_output.
endloop.
refresh : gt_spool.
endloop.
Best regards,
Prashant