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

How to get SPOOL ID while using NEW-PAGE statement

Former Member
0 Likes
622

Hi Experts

I am using "NEW-PAGE PRINT ON......PRINT OFF" statement to write directly in to the spool. while in this processing i want to get the SPOOL ID under which data is written. Is it possible? if yes, how ?

Thanks in Advance

Mukundhan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
534

Hi

Check the system field

<b>sy-spono</b>

for Spool ID at that place of code

Reward points if useful

Regards

Anji

Hi Experts

I am using "NEW-PAGE PRINT ON......PRINT OFF" statement to write directly in to the spool. while in this processing i want to get the SPOOL ID under which data is written. Is it possible? if yes, how ?

Thanks in Advance

Mukundhan

2 REPLIES 2
Read only

Former Member
0 Likes
535

Hi

Check the system field

<b>sy-spono</b>

for Spool ID at that place of code

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
534

Hi

Use <b>SY-SPONO</b> system variable to get the spool id.

Regards

Raj