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 create a role for a authorization object using FM?

Former Member
0 Kudos

Hi,

My requirement is to add a role for the authorization object S_RFC using a function module.

Can anybody suggest a proper FM to achieve the same?

Regards,

Suraj

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi Suraj,

check this

SMAN_SET_USER_PARAMETER

hope this helps.

Regards,

Kinshuk

5 REPLIES 5

Former Member
0 Kudos

Hi suraj,

1. why do u need to do it using abap code ?

2. such sensitive things like roles and

rights should be mainly handled

by basis people!

regards,

amit m.

Former Member
0 Kudos

Not sure, try this

ADD_SEL_AUTHS_TO_PROFILE

0 Kudos

try to use PRGN_1250_READ_AUTH_DATA for a existing role to see how the structures are being populated. You will also need to assign a node number for new authorization. Also check function modules PRGNNODE.

0 Kudos

Hi Ravikumar,

Thanks for your reply.

Sorry to change my question. My question is to create a role for an authorization object using FM.

FM 'ADD_SEL_AUTHS_TO_PROFILE' does not exist.

Can you please suggest the required FM?

Thanks in advance,

Suraj

Former Member
0 Kudos

hi Suraj,

check this

SMAN_SET_USER_PARAMETER

hope this helps.

Regards,

Kinshuk