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: 

Deleting SAP spool request..

Former Member
0 Kudos

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

former_member194669
Active Contributor

Use fm


      call function 'RSPO_R_RDELETE_SPOOLREQ'
        exporting
          spoolid = v_spoolid.

1 REPLY 1

former_member194669
Active Contributor

Use fm


      call function 'RSPO_R_RDELETE_SPOOLREQ'
        exporting
          spoolid = v_spoolid.