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: 

Context Authorization - Two Roles

Former Member
0 Kudos

Hi Experts,

We are using context authorization. We have two roles. One is Manager role which allows manager to view/modify qualification and appraisal for his/her org unit. And another role is Qualification Admin which allows to view qualification but not allowed to view Appraisal.

When we use roles individually, it works fine. As a Manager, person is able to view/modify qualification and appraisals. And with role of Qualification admin is able to view/maintain only qualification.

We have following switches on:

AUTSW ORGPD 1 HR: Structural Authorization Check

AUTSW INCON 1 HR: Master Data (Context)

PLOGI PDCON X HR: Context Authorization Check in PD

We have used PLOG_CON AND P_ORGINCON objects.

Our problem is that when we combined these roles and assigned to one person, it doesn't work.

Would appreciate kind guidence on this.

Thanks,

Aashish

1 REPLY 1

Former Member
0 Kudos

Hi All,

Issue is resolved. I have done just few changes in existing set-up. Activated AUTSW ORGPD 1 HR: Structural Authorization Check - Structural Authorization Key. Assigned Q and QA objects to Authorization Profile of Manager role which would authorize to view/modify infotype 24 and 25. I have used RH_GET_MANAGER_ASSIGNMENT functional module for Q and QA objects to get qualifications data as a Manager.

Authorization object PLOG and P_ORGINCON used in both roles and assigned respective authorization profile in each role.

Manager role and Qualification Admin role assigned to the user individually.

Thanks,

Ashish