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

capturing spool number while submit report

Former Member
0 Likes
483

Hi all,

Thanx for ur replies. I'm trying submit to spool. This wud suffice my req. But how to capture the spool number other than going to tsp01 as everythng happens in background. Ineed to further process the spool number. My code is

SUBMIT rkpep005 USING SELECTION-SET 'TEST1'

TO SAP-SPOOL

WITHOUT SPOOL DYNPRO

AND RETURN.

2 REPLIES 2
Read only

Former Member
0 Likes
436

hi,

There are some system parameters which captures the spool number.

<b>sy-spono</b> -> Contains the name of the spool number during printing.

<b>SY-PRDSN</b> -> Contains the name of the spool file during printing.

Rgds,

Jothi.P

*Ps close the thread once you got the answer.

Read only

marcelogb
Participant
0 Likes
436

hi,

There are some system parameters which captures the spool number.

sy-spono -> Contains the name of the spool number during printing.

SY-PRDSN -> Contains the name of the spool file during printing.

Rgds,

Jothi.P

*Ps close the thread once you got the answer.

Those don't work with submits.

Regards,

John

Edited by: John Smith on Nov 30, 2010 3:40 PM