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: 

Display SPool requests

Former Member
0 Kudos

Hi All,

Here i have one issue with Spool requests. One of our user wants to display all teh spool requests belonging to his site. Please let me know how can we provide access to group of users.

Thnaks in Advance.

1 ACCEPTED SOLUTION

sdipanjan
Active Contributor
0 Kudos

Hi,

You can view Spool requests created by all users in TCode SP01. For this you need the following authorizations mainly:

S_ADMI_FCD BC_A System Authorizations SPAM, SP01

S_SPO_ACT BC_A Spool: Actions BASE, DISP

Other values related to these objects can also be taken into account. For more details please check the documentation for these objects. let us know for more information if needed.

Regards,

Dipanjan

5 REPLIES 5

sdipanjan
Active Contributor
0 Kudos

Hi,

You can view Spool requests created by all users in TCode SP01. For this you need the following authorizations mainly:

S_ADMI_FCD BC_A System Authorizations SPAM, SP01

S_SPO_ACT BC_A Spool: Actions BASE, DISP

Other values related to these objects can also be taken into account. For more details please check the documentation for these objects. let us know for more information if needed.

Regards,

Dipanjan

Former Member
0 Kudos

Thanks for your reply.

We have seven sites, Each site manager has access to his own site only. how can we proceed with this requirement.

sdipanjan
Active Contributor
0 Kudos

One option has already been discussed u Julius i.e changing the attribute of the field SPOAUTH to Organization Level field.

But I hope it would be better to create a Custom TCode (say ZP01) for this purpose.

Also create a Custom Auth. Object (say.. ZSPO_AUTH) with Fields SPOAUTH, SPOACTION, SPODEVICE (optional - this will help you to select Site Specific device if any and also if the users are bound to use them as Local printer... you will know what is the access type).

While creating this, make SPOAUTH Organization Level.

Ask Developers to use this object in AUTHORITY-CHECK statement for enforcing a check against this.

Add this Object to ZP01 in SU24 as C/M.

Create a role (preferable and easy for maintenance to use ref-derive design if your SOP permits) and make copy for all site and assign to the Site Owners.

Remove SP01 from their user master.

Regards,

Dipanjan

Former Member
0 Kudos

One possibility would be to use the SPOAUTH field of S_SPO_ACT as an org field, and assign an appropriate org variable to it.

You would need to choose the role and the variable carefully though - otherwise folks with authority to display all accounting documents (for example, if you have such roles and use $BUKRS...) will also display all spool requests.

That should take care of the authorizations side of the coin...

Cheers,

Julius

Former Member
0 Kudos

2 more ways ...

1) If each of your site can mention different 'Authorization(Ex:ZZZ) ' in the 'spool attributes' for their jobs,

You can build a role with these 'authorizations' as values for SPOAUTH in S_SPO_ACT.

2) If each site can run the jobs on seperate systemID's, and not on their own userID's , You can build

a role with the 'SystemID' as value for SPOAUTH in S_SPO_ACT.