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

BAPI_USER_ACTGROUPS_ASSIGN change users role

Former Member
0 Likes
1,102

i use the bapi

BAPI_USER_ACTGROUPS_ASSIGN

the tables TB_ACTIVITYGROUPS change the role

i just want the user role valid to some day then i can pass parameter to  TO_DAT

question:

  when i change the date,i must use pfcg find the role,then use user compare,otherwise ,the user role does not take effect

how to do the user compare in abap,or some general bapi

btw: google the web,see can use job do the work,someone would give me the detail,how to write abap do this in background

thanks

1 REPLY 1
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
597

Hi

I have recently use this BAPI in assigning/extending role validity. The key thing to be taken care of is you need to pass all the role details irrespective of whether you want to change them or not else it will delete all other roles.

To do a user comparison in ABAP write a program for the same

Nabheet