Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

cosolidate spool lists

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Hi dsfgs dsfs...

Could you plz tell me thru which are you printng ..Using SF or Script.

Regards,

sg

0 Kudos

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

Former Member
0 Kudos

Hi,

Please check table TSP01

also have look at

*SP0*

tables

Best regards,

raam

former_member223537
Active Contributor
0 Kudos

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