Application Development and Automation 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: 
Read only

Delete spool

Former Member
0 Likes
736

Hey all,

May i know if there is any FM to delete the Spool request number. or any way to delete it through program.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
571

Hi,,

Try below FM

RSPO_IDELETE_SPOOLREQ

RSPO_RLIST_DELETE_SPOOLREQ

RSPO_R_RDELETE_SPOOLREQ

3 REPLIES 3
Read only

Former Member
0 Likes
572

Hi,,

Try below FM

RSPO_IDELETE_SPOOLREQ

RSPO_RLIST_DELETE_SPOOLREQ

RSPO_R_RDELETE_SPOOLREQ

Read only

Former Member
0 Likes
571

hi,

you can get spool request like that...

SELECT * FROM TBTCO into corresponding fields of table i_tbtco

WHERE jobname = v_jobname

and sdlstrtdt = sy-datum.

  • and sdluname = v_username.

SORT i_tbtco by sdlstrttm descending.

read table i_tbtco index 1.

SELECT * FROM tbtcp INTO corresponding fields of table i_tbtcp

WHERE jobname = v_jobname

and jobcount = i_tbtco-jobcount

and listident <> '0000000000'.

then you can delete this spool.

Rgds,

Paras