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: 

How to Authorise SM37?

Former Member
0 Kudos

Hi,

Jobs are created by User A the Administrator. The User B supposed to be a End-User is allowed to do anything;

LIST, PROT, RELE, SHOW and PLAN

Except for Delete DELE for User A jobs. How could I allow User B to do all job operation through SM37 except for DEL for all Jobs created by User A.

Please give me the Field & the Value needed for the Authorisation Object.

Thanks,

Kishan

1 ACCEPTED SOLUTION

Peter_Inotai
Active Contributor
0 Kudos

I don't think it's possible. You can also try to debug it, with adding a breakpoint to statement AUTHORITY-CHECK.

It seems there is the following check for deletion:


  AUTHORITY-CHECK
    OBJECT 'S_BTCH_ADM'
        ID 'BTCADMIN' FIELD 'Y'.

However the same check used for creation also.

Peter

6 REPLIES 6

Former Member
0 Kudos

Hi,

Just to add I dont have to restrict it to User A there could be serveral Jobs created by many Users but User B is not suppose to DELE-Delete but do all other operation for these Jobs.

Thanks,

Kishan

Peter_Inotai
Active Contributor
0 Kudos

I don't think it's possible. You can also try to debug it, with adding a breakpoint to statement AUTHORITY-CHECK.

It seems there is the following check for deletion:


  AUTHORITY-CHECK
    OBJECT 'S_BTCH_ADM'
        ID 'BTCADMIN' FIELD 'Y'.

However the same check used for creation also.

Peter

0 Kudos

Hi Peter,

With;

AUTHORITY-CHECK OBJECT 'S_BTCH_ADM' ID 'BTCADMIN' FIELD 'Y'.

I cannot restrict the User from Deleting other Users Jobs. When I use;

AUTHORITY-CHECK OBJECT 'S_BTCH_ADM' ID 'BTCADMIN' FIELD 'N'.

I cannot Repeat Schedule it say only for the current Users jobs could be Repeated. Is this a bug in SAP?

Thanks,

Kishan

0 Kudos

Hi All,

Could anyone help me.

Thanks,

Kishan

0 Kudos

>Is this a bug in SAP?

Not really a bug, it's a missing functionality.

What I'd suggest is to open an OSS message.

You might also consider the possibility to define a new auth object (with enabling all this actions) and insert a check after 'S_BTCH_ADM' check.

It would be a modification, but probable it would work.

Peter

former_member188685
Active Contributor
0 Kudos

Hi Kishan,

It depends on the role of user B. try to set the authorizations for user B except the delete option.

contact your BASIS to create the authority to do that.

Regards

vijay