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: 

MRS role auto assignment

Former Member
0 Kudos

Hi ,

I got one requirement to assigned / revoked roles basis on the below logic,

logic to identify  org heads and roles auto assigned / revoked.

select all P_Head from table zhr_* where zactive EQ "x" and Zcomp EQ "WSM1".

Delete duplicate values of p_head.

result is  employee id of org heads.

select userid from pa* for the above result where suby eq 001 and endda eq 31.12.9999.

logic for provisioning and de-provisioning

Select all UNAME from Agr* where Agr_name eq **** and to_dat ge sy-datum.

pro

1 REPLY 1

Former Member
0 Kudos

Please suggest code to import in to program to achieve above requirement