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

Deleting SAP spool request..

Former Member
0 Likes
4,151

Hello Gurus,

I am using function modules RSPO_OPEN_SPOOLREQUEST , RSPO_WRITE_SPOOLREQUEST and RSPO_CLOSE_SPOOLREQUEST to create spool request. Then I am using function module 'CONVERT_ABAPSPOOLJOB_2_PDF' to convert spool to PDF.

Now I want to delete the spool after the pdf is created because spool was just a medium to create PDF. How can I delete the specific spool that got created by RSP* function modules ?

Please help.

Regards,

Jainam.

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
1,974

Use fm


      call function 'RSPO_R_RDELETE_SPOOLREQ'
        exporting
          spoolid = v_spoolid.

Use fm


      call function 'RSPO_R_RDELETE_SPOOLREQ'
        exporting
          spoolid = v_spoolid.

1 REPLY 1
Read only

former_member194669
Active Contributor
1,975

Use fm


      call function 'RSPO_R_RDELETE_SPOOLREQ'
        exporting
          spoolid = v_spoolid.