2014 Feb 20 6:36 AM
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
2014 Feb 20 6:46 AM
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