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 Chage Spool Request Status using ABAP code

Former Member
0 Likes
1,082

Hi,

I have a requitrement to changes the chage spool request status using ABAP code.

I cehck the table TSP02 has a status field PJSTATUS, but can't get value help on this field.

Where can I find list of values for the spool status ?

Cheers

Sam

3 REPLIES 3
Read only

former_member196280
Active Contributor
0 Likes
768

Hi Sam,

I guess, below status information will be helpful to you.

8 --> Error

9 --> Completed

5 --> Processing

2 --> waiting

Regards,

SaiRam

Read only

0 Likes
768

Hi,

The spool request status has been maintained somewhere in the IMG.

The status may not be same in every system.

Cheers

Sam

Read only

0 Likes
768

Hi,

I do not thing it is maintained in some table, but coded in the standard program. You can do the where-used list on the dataelement and see where it is changing.

I found FM RSPO_RSPOOLREQ_TO_VIEW and RSPO_RSTATUS_FOR_SPOOLREQ which looks like it is changing the spool status