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

Spool request to printer

Former Member
0 Likes
422

Hello,

I created spool requests for the samartforms by executing in background.

Can any one tell me how to send the the spool request to printer? I would like to send from ABAP program not using tcode sp02.

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
353

Hi

We can use FM: <b>RSPO_OUTPUT_SPOOL_REQUEST</b> for the same.

          CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
            EXPORTING
              device           = <printer>
              spool_request_id = <request>.

Regards

Eswar

2 REPLIES 2
Read only

Former Member
0 Likes
354

Hi

We can use FM: <b>RSPO_OUTPUT_SPOOL_REQUEST</b> for the same.

          CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
            EXPORTING
              device           = <printer>
              spool_request_id = <request>.

Regards

Eswar

Read only

0 Likes
353

Thanks Eshwar