SlideShare a Scribd company logo
1 of 50
iProConference:
SAP HCM Best Practise
London, 8th November 2012

HR Authorisations
Anja Marxsen
Sven Ringling

#HCMBP2012
Agenda

■ Overview: General / Structural /
Context Authorisation Check

■ How to reduce the number of roles
■ Avoid these pitfalls
■ How to approach a redesign

www.iprocon.com

slide: 2
Overview
General auth.

Struct. auth.

What?
e.g. PA30,

Context-dep.

IT 2001 2007

OM
structure

Where?
e.g. all P from

personnel area,
all O, S, C, E

Training
catalogue
www.iprocon.com

slide: 3
Example context-dependent auth.

Glenn is also a
leader of his team
and may read
master data.

Glenn is responsible
for time management.
He may maintain time
data for a special unit.
User
Structural
profile:
„Time
manager“

Structural
profile:
„My team“
www.iprocon.com

slide: 4
Overlapping of authorisation
Maintain time data

+
Read master data

A special org unit

+
His own team
www.iprocon.com

slide: 5
Solution: context-dependent auth.

context

Glenn is also a
leader of his team
and may read
master data.

context

Glenn is responsible
for time mgmt. He
may maintain time
data for a special
unit.

Structural
profile „Time
manager“

Structural
profile „own
team“
www.iprocon.com

slide: 6
Context-dependent authorisation

2 roles and 2 profiles together lead to a mix
of objects and authorisations

Context-dependent authorisation
can assign a profile to a special role

Tip
No more mix. Everybody can only do
what he is supposed to do.
www.iprocon.com

slide: 7
Agenda

■ Overview: General / Structural /
Context Authorisation Check

■ How to reduce the number of roles
■ Avoid these pitfalls
■ How to approach a redesign

www.iprocon.com

slide: 8
Why do we have so many roles?

General authorisation can restrict both:
access to data and access to persons

Functional range of SAP HCM
applications increases
Functions are becoming decentralised
– more users need different access

www.iprocon.com

slide: 9
Possible solutions



Implement structural authorisation with dynamic
start object



Stay with general authorisation but
►
►



use object P_NNNNN
use custom object + BAdI

Reduce maintenance effort using reference roles

www.iprocon.com

slide: 10
N structural profiles - 1 for each location
Responsible for your own location:

Responsible for 2 locations:

.
.
.
www.iprocon.com

slide: 11
How to create dynamic profiles

Standard function module RH_GET_ORG_ASSIGNMENT
dynamically identifies the assigned org unit.

Position

Holder

IT 0105

Person

ORGASS

Org unit

Belongs to

User
www.iprocon.com

slide: 12
Get more out of dynamic profiles
Many users stop at standard options
• Org unit: user is line manager of
• Org unit: user is staff member of

Real life requirements are more diverse
• PAs capturing data for managers or whole teams
• Managers not having access more than 2 levels down
(“grandfather principle”)
• Other roles like resource planners, event managers,…
You can achieve much with little custom
programming
• … and a good deal of analysis and conceptual thinking
• Nevertheless: always try to avoid complexity via pragmatic
processes
www.iprocon.com

slide: 13
Dynamic – but different start object I
1. Create custom relationship between position and other org unit:

Org Unit A

Org Unit B
Position

Position
Person

Person

www.iprocon.com

slide: 14
Dynamic – but different start object II

2. Copy evaluation path ORGASS and replace your own relationship:

www.iprocon.com

slide: 15
Dynamic – but different start object III

2. Copy function module and replace your own evaluation path:

www.iprocon.com

slide: 16
Tip for enhanced use

■ If the access to persons can„t be determined from
org structure you can also develop a custom
function module that may identify relevant persons
by
► user

parameter
► master data
► customizing
►…

■ In this case evaluation path and start object remain
empty.
www.iprocon.com

slide: 17
How to reduce number of roles

 Dynamic start object
■ Dynamic in general auhorization through custom object or
■

P_NNNNN or BAdI
Reference role

www.iprocon.com

slide: 18
P_NNNNN
You need access to all persons of your own cost center.

Standard authorisations don„t provide cost center.
Using the organisational key leads to 1 role for each user.

You may also use

P_NNNNN with additional coding.

Tip
1 role for all users
www.iprocon.com

slide: 19
Additional coding for P_NNNNN

■ The report RPUACG00 generates coding in
program MPPAUTZZ
■ Here you can add your own coding.
■ Note! After every regeneration the custom code gets
lost.

www.iprocon.com

slide: 20
How to decrease amount of roles

 Dynamic start object
 Dynamic in general auhorization through custom object or
■

P_NNNNN or BAdI
Reference role

www.iprocon.com

slide: 21
Concept of reference roles
Derived
Role
Personnel Area: 1000

Reference
Role

Derived
Role

Personnel Area: *

Personnel Area: 2000

Inheritance of all
authorisations except for
the organisational levels

Derived
Role
Personnel Area: 3000

www.iprocon.com

slide: 22
Agenda

■ Overview: General / Structural /
Context Authorisation Check

■ How to reduce the number of roles
■ Avoid these pitfalls
■ How to approach a redesign

www.iprocon.com

slide: 23
Avoid these pitfalls

■ P_PERNR
■ P_ABAP
■ time dependent check - T582a
■ Adding rights from different roles, particularly
backend and XSS
■ BAdI: all methods!

www.iprocon.com

slide: 24
P_PERNR
Possible values:
E = exclude own personnel number
I = include own personnel number

Not like this!

Rule:
Basis is always ‚normal„ authorisation – P_PERNR is checked last
E: less rights for own personnel number (e.g. Change IT0008)
I: more rights for own personnel number (e.g. ESS)
www.iprocon.com

slide: 25
Authorisation Object P_ABAP
Often difficult to provide access to
non-critical reports (e. g. phone list)

P_ABAP deactivates
HR authorisation check (COARS = 2)
Tip doesn„t replace the basic authorisation
but
to start a report!
Recommendation: 1 role with
non-critical reports for all users
www.iprocon.com

slide: 26
Time dependent check
The date-dependent check is not carried out for
each infotype by default. You can change the
setting in table view V_T582A.

www.iprocon.com

slide: 27
Rights from different roles adding up
■ It is a common misconception that authorisations are
only used together, when in the same role
►

►

E.g.: if one role allows to read infotype 0002 and a different role holds
rights for transaction PA20, then the user cannot access infotype
0002 in PA20  WRONG!
When a user wants to perform any action, authorisations from all
roles assigned are applied

■ Example: HR team leader
►

►
►

Role „HR Manager UK“ gives access to transaction PA30 and HR
infotypes only for personnel areas in the UK
Role „Manager for MSS“ gives access to all HR infotypes without
restrictions (assumption: MSS assigns right people only)
Problem: combining both roles gives access to all HR data globally
www.iprocon.com

slide: 28
BAdI for general auth. checks

You must consider all these methods during implementation to
ensure that the standard authorization check continues to work!
Otherwise, you deactivate the complete authorization check.

www.iprocon.com

slide: 29
Agenda

■ Overview: General / Structural /
Context Authorisation Check

■ How to reduce the number of roles
■ Avoid these pitfalls
■ How to approach a redesign

www.iprocon.com

slide: 30
Redesigning HR Authorisations

■ General approach / test
■ Performance improvement of structural
authorisation
■ Composite roles
■ OM assignment?
■ Assign structural profiles via BAdI
■ Further improvements through BAdIs?
■ Performance improvement through object P_ABAP
■ Migrating to context-dependent authorisation
■ Amend profile generator for better defaults in
transaction PFCG
www.iprocon.com

slide: 31
General approach

In role maintenance, biz
process or system
performance -> detailed
analysis & decide fix?
Efficency
issues

Loss of
Control?

Full process based redesign

Initial User
Workshop

New requirements?

New roles or new concepts,
e.g. context or BAdI required?

Check issues and decide fix
(may be wrong usage of objects
or requiring new concepts)

Some things
don’t work

www.iprocon.com

slide: 32
Tips for Test and Cut-Over

■ 4 elements of authorisation test
users do, what they need to?  key users test their
own process
► Can users do more than they should?  Key users and
tech experts test others‟ process
► Performance  tech experts perform mass test together
with key users
► User maintenance process  end to end acceptance test
with user admin and business users
► Can

■ Cut-Over
► Keep

old roles as a contingency and allow them to be
assigned for a limited period of time in case of issues
► Do not tell key users before test is completed
www.iprocon.com

slide: 33
Improve performance for struct. auth.

better: P

Evaluationpathwith 
nonspecifi
edtarget 
object
reduces performance

Save user data in
SAP memory
www.iprocon.com

slide: 34
Use composite roles
The more roles you have
the more maintenance effort
you need for user assignment

Role
„Reports for stores “
Role
„PA decentral“

Combine single roles into
composite roles

Role
„Time manager“

Tip
Composite role
„Store office“

Modular design of role concept
reduces maintenance effort

www.iprocon.com

slide: 35
Assign roles via org management

Organisational
Unit

Role
Job
Work
Center

Role

Role

Role
Role

User

Role

Position

Person

www.iprocon.com

slide: 36
Assign structural profiles via BAdI
Maintenance of table T77UA takes too much effort
or doesn„t fulfill the requirements

Assignment of structural profiles either from the field
PROFL or following your own logic
via BAdI HRBAS00_ GET_PROFL

Tip
No need of maintaining table T77UA.
Dynamic assignment of structural profiles.
www.iprocon.com

slide: 37
Further improvements through BAdIs
The BAdIs available are very powerful
• You may find ways to improve performance or usability by
making good use of them
• Risk: users / data security team learn that “everything is
possible somehow”  you end up reinventing the system
Examples
• Allow access to some infotypes only in specific transactions,
e.g. access to IT0002 fields for reporting, but not in
transactions, where NI number is shown
• Capture additional payments up to certain limit
• Rights to change HR data for most users “switched on/off”, if
central team wants to avoid changes at certain times
www.iprocon.com

slide: 38
Book recommendation

www.iprocon.com

slide: 39
Appendix

■ P_NNNNN
■ Reference role

www.iprocon.com

slide: 40
Step by Step

1.
2.
3.

Create P_NNNNN
Take over P_NNNNN in standard authorisation
check
Activate P_NNNNN

www.iprocon.com

slide: 41
Create P_NNNNN

www.iprocon.com

slide: 42
Take over in standard auth. check
Report RPUACG00

www.iprocon.com

slide: 43
Activate P_NNNNN
Table T77S0

www.iprocon.com

slide: 44
P_NNNNN with context

www.iprocon.com

slide: 45
Reference role
You might have roles for decentralised use that only differ
in one or few org level fields (e.g. personnel area).
In the standard, the plan version is the only org level

Tip

You can change existing
fields to org levels via Report
PFCG_ORGFIELD_CREATE

Only the reference role needs to be maintained.
www.iprocon.com

slide: 46
1. Create an org level field
Use report PFCG_ORGFIELD_CREATE to create a new org
level because the standard provides only the plan version as
an org level.
Result:

derived
role

A3 HCM Berechtigungen

www.iprocon.com

slide: 47
2. Derive role from reference role
A role becomes a reference role as soon as another role
has been derived from that role.

A3 HCM Berechtigungen

www.iprocon.com

slide: 48
3. Maintain the reference role
Transfer the authorisations of the reference role to the derived
roles via button „Copy data“ – except for the organisational
levels.

Reference
Role

www.iprocon.com

slide: 49
Ask for our in-house workshops
SAP HR Authorisations design
• Full (re)design
• Additional modules / processes
Reviewing your HR Authorisations
system
Preparing for a rollout
• Incl. international rollout
Switching to structural authorisations
• …or context sensitive authorisations
www.iprocon.com

slide: 50

More Related Content

What's hot

Fbr2 posting with reference document
Fbr2 posting with reference documentFbr2 posting with reference document
Fbr2 posting with reference document
Vaishali Ketkar
 
sap-co-configuration
sap-co-configurationsap-co-configuration
sap-co-configuration
Mohd Rehan
 
SAP Security & GRC Framework
SAP Security & GRC FrameworkSAP Security & GRC Framework
SAP Security & GRC Framework
Harish Sharma
 
081712 isaca-atl-auditing sap-grc
081712 isaca-atl-auditing sap-grc081712 isaca-atl-auditing sap-grc
081712 isaca-atl-auditing sap-grc
hkodali
 
100505811 lockbox-user-guide
100505811 lockbox-user-guide100505811 lockbox-user-guide
100505811 lockbox-user-guide
zanyone
 

What's hot (20)

SAP BI 7 security concepts
SAP BI 7 security conceptsSAP BI 7 security concepts
SAP BI 7 security concepts
 
Fbr2 posting with reference document
Fbr2 posting with reference documentFbr2 posting with reference document
Fbr2 posting with reference document
 
sap-co-configuration
sap-co-configurationsap-co-configuration
sap-co-configuration
 
Copa realignment
Copa realignmentCopa realignment
Copa realignment
 
SAP Security & GRC Framework
SAP Security & GRC FrameworkSAP Security & GRC Framework
SAP Security & GRC Framework
 
Sap Security Workshop
Sap Security WorkshopSap Security Workshop
Sap Security Workshop
 
Asset management in sap
Asset management in sapAsset management in sap
Asset management in sap
 
Optimising SAP HR Authorisation by using custom development incl. BAdIs
Optimising SAP HR Authorisation by using custom development incl. BAdIsOptimising SAP HR Authorisation by using custom development incl. BAdIs
Optimising SAP HR Authorisation by using custom development incl. BAdIs
 
Fico troubleshooting
Fico troubleshootingFico troubleshooting
Fico troubleshooting
 
SAP Enterprise Threat Detection Overview
SAP Enterprise Threat Detection OverviewSAP Enterprise Threat Detection Overview
SAP Enterprise Threat Detection Overview
 
CLP S7 300 E S7 400
CLP S7 300 E S7 400CLP S7 300 E S7 400
CLP S7 300 E S7 400
 
081712 isaca-atl-auditing sap-grc
081712 isaca-atl-auditing sap-grc081712 isaca-atl-auditing sap-grc
081712 isaca-atl-auditing sap-grc
 
13 locking functions and operating modes v1.00_en
13 locking functions and operating modes v1.00_en13 locking functions and operating modes v1.00_en
13 locking functions and operating modes v1.00_en
 
What is sap security
What is sap securityWhat is sap security
What is sap security
 
Pool asset management
Pool asset managementPool asset management
Pool asset management
 
100505811 lockbox-user-guide
100505811 lockbox-user-guide100505811 lockbox-user-guide
100505811 lockbox-user-guide
 
Odoo 12 accounting
Odoo 12 accountingOdoo 12 accounting
Odoo 12 accounting
 
Document reversal
Document reversalDocument reversal
Document reversal
 
Summarisation levels in SAP COPA
Summarisation levels in SAP COPASummarisation levels in SAP COPA
Summarisation levels in SAP COPA
 
SU01 - Background and Instruction
SU01  - Background and InstructionSU01  - Background and Instruction
SU01 - Background and Instruction
 

Similar to SAP HCM authorisations: streamline processes and improve HR data security

DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLXDN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
Dataconomy Media
 
Phase One Rules Demo w corp Overview
Phase One Rules Demo w corp OverviewPhase One Rules Demo w corp Overview
Phase One Rules Demo w corp Overview
Stan Ascher
 

Similar to SAP HCM authorisations: streamline processes and improve HR data security (20)

Sap hcm online training
Sap hcm online training Sap hcm online training
Sap hcm online training
 
Sap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,indiaSap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,india
 
Sap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,indiaSap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,india
 
Sap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,indiaSap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,india
 
Sap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,indiaSap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,india
 
Sap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,indiaSap hcm online and remote based training in usa,uk,india
Sap hcm online and remote based training in usa,uk,india
 
Labeling all the Things with the WDI Skill Labeler
Labeling all the Things with the WDI Skill Labeler Labeling all the Things with the WDI Skill Labeler
Labeling all the Things with the WDI Skill Labeler
 
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLXDN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
 
Technical debt in ML | Jaroslaw Szymczak | DN18
Technical debt in ML | Jaroslaw Szymczak | DN18Technical debt in ML | Jaroslaw Szymczak | DN18
Technical debt in ML | Jaroslaw Szymczak | DN18
 
Technical debt in machine learning - Data Natives Berlin 2018
Technical debt in machine learning - Data Natives Berlin 2018Technical debt in machine learning - Data Natives Berlin 2018
Technical debt in machine learning - Data Natives Berlin 2018
 
Agile contract for working software
Agile contract for working softwareAgile contract for working software
Agile contract for working software
 
Sprint 53
Sprint 53Sprint 53
Sprint 53
 
Business Applications of Predictive Modeling at Scale - KDD 2016 Tutorial
Business Applications of Predictive Modeling at Scale - KDD 2016 TutorialBusiness Applications of Predictive Modeling at Scale - KDD 2016 Tutorial
Business Applications of Predictive Modeling at Scale - KDD 2016 Tutorial
 
CHEQROOM Webinar: Get your school equipment organized
CHEQROOM Webinar: Get your school equipment organizedCHEQROOM Webinar: Get your school equipment organized
CHEQROOM Webinar: Get your school equipment organized
 
Southeast Michigan AUG - April 24 2018
Southeast Michigan AUG - April 24 2018Southeast Michigan AUG - April 24 2018
Southeast Michigan AUG - April 24 2018
 
Behavior Driven Development - Material de clase PMA
Behavior Driven Development - Material de clase PMABehavior Driven Development - Material de clase PMA
Behavior Driven Development - Material de clase PMA
 
Software requirements
Software requirementsSoftware requirements
Software requirements
 
Phase One Rules Demo w corp Overview
Phase One Rules Demo w corp OverviewPhase One Rules Demo w corp Overview
Phase One Rules Demo w corp Overview
 
Cavaros
CavarosCavaros
Cavaros
 
Drools & jBPM Workshop Barcelona 2013
Drools & jBPM Workshop  Barcelona 2013Drools & jBPM Workshop  Barcelona 2013
Drools & jBPM Workshop Barcelona 2013
 

More from Sven Ringling

Managing Change in International SAP HCM Projects
Managing Change in International SAP HCM ProjectsManaging Change in International SAP HCM Projects
Managing Change in International SAP HCM Projects
Sven Ringling
 

More from Sven Ringling (6)

Liebe Personalabteilung, Was ist Euer Beitrag zur Digitalen Transformation?
Liebe Personalabteilung, Was ist Euer Beitrag zur Digitalen Transformation?Liebe Personalabteilung, Was ist Euer Beitrag zur Digitalen Transformation?
Liebe Personalabteilung, Was ist Euer Beitrag zur Digitalen Transformation?
 
Concur vs SAP on premise Travel Management
Concur vs SAP on premise Travel ManagementConcur vs SAP on premise Travel Management
Concur vs SAP on premise Travel Management
 
SAP HR new Feature: Personnel (Sub)Areas and Employee (Sub)Groups Come with V...
SAP HR new Feature: Personnel (Sub)Areas and Employee (Sub)Groups Come with V...SAP HR new Feature: Personnel (Sub)Areas and Employee (Sub)Groups Come with V...
SAP HR new Feature: Personnel (Sub)Areas and Employee (Sub)Groups Come with V...
 
Managing cost and realising benefits from your SAP HCM or other HR system
Managing cost and realising benefits from your SAP HCM or other HR systemManaging cost and realising benefits from your SAP HCM or other HR system
Managing cost and realising benefits from your SAP HCM or other HR system
 
Managing Change in International SAP HCM Projects
Managing Change in International SAP HCM ProjectsManaging Change in International SAP HCM Projects
Managing Change in International SAP HCM Projects
 
Right Sourcing: The Role of HR in Creating Shareholder Value
Right Sourcing: The Role of HR in Creating Shareholder ValueRight Sourcing: The Role of HR in Creating Shareholder Value
Right Sourcing: The Role of HR in Creating Shareholder Value
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

SAP HCM authorisations: streamline processes and improve HR data security

  • 1. iProConference: SAP HCM Best Practise London, 8th November 2012 HR Authorisations Anja Marxsen Sven Ringling #HCMBP2012
  • 2. Agenda ■ Overview: General / Structural / Context Authorisation Check ■ How to reduce the number of roles ■ Avoid these pitfalls ■ How to approach a redesign www.iprocon.com slide: 2
  • 3. Overview General auth. Struct. auth. What? e.g. PA30, Context-dep. IT 2001 2007 OM structure Where? e.g. all P from personnel area, all O, S, C, E Training catalogue www.iprocon.com slide: 3
  • 4. Example context-dependent auth. Glenn is also a leader of his team and may read master data. Glenn is responsible for time management. He may maintain time data for a special unit. User Structural profile: „Time manager“ Structural profile: „My team“ www.iprocon.com slide: 4
  • 5. Overlapping of authorisation Maintain time data + Read master data A special org unit + His own team www.iprocon.com slide: 5
  • 6. Solution: context-dependent auth. context Glenn is also a leader of his team and may read master data. context Glenn is responsible for time mgmt. He may maintain time data for a special unit. Structural profile „Time manager“ Structural profile „own team“ www.iprocon.com slide: 6
  • 7. Context-dependent authorisation 2 roles and 2 profiles together lead to a mix of objects and authorisations Context-dependent authorisation can assign a profile to a special role Tip No more mix. Everybody can only do what he is supposed to do. www.iprocon.com slide: 7
  • 8. Agenda ■ Overview: General / Structural / Context Authorisation Check ■ How to reduce the number of roles ■ Avoid these pitfalls ■ How to approach a redesign www.iprocon.com slide: 8
  • 9. Why do we have so many roles? General authorisation can restrict both: access to data and access to persons Functional range of SAP HCM applications increases Functions are becoming decentralised – more users need different access www.iprocon.com slide: 9
  • 10. Possible solutions  Implement structural authorisation with dynamic start object  Stay with general authorisation but ► ►  use object P_NNNNN use custom object + BAdI Reduce maintenance effort using reference roles www.iprocon.com slide: 10
  • 11. N structural profiles - 1 for each location Responsible for your own location: Responsible for 2 locations: . . . www.iprocon.com slide: 11
  • 12. How to create dynamic profiles Standard function module RH_GET_ORG_ASSIGNMENT dynamically identifies the assigned org unit. Position Holder IT 0105 Person ORGASS Org unit Belongs to User www.iprocon.com slide: 12
  • 13. Get more out of dynamic profiles Many users stop at standard options • Org unit: user is line manager of • Org unit: user is staff member of Real life requirements are more diverse • PAs capturing data for managers or whole teams • Managers not having access more than 2 levels down (“grandfather principle”) • Other roles like resource planners, event managers,… You can achieve much with little custom programming • … and a good deal of analysis and conceptual thinking • Nevertheless: always try to avoid complexity via pragmatic processes www.iprocon.com slide: 13
  • 14. Dynamic – but different start object I 1. Create custom relationship between position and other org unit: Org Unit A Org Unit B Position Position Person Person www.iprocon.com slide: 14
  • 15. Dynamic – but different start object II 2. Copy evaluation path ORGASS and replace your own relationship: www.iprocon.com slide: 15
  • 16. Dynamic – but different start object III 2. Copy function module and replace your own evaluation path: www.iprocon.com slide: 16
  • 17. Tip for enhanced use ■ If the access to persons can„t be determined from org structure you can also develop a custom function module that may identify relevant persons by ► user parameter ► master data ► customizing ►… ■ In this case evaluation path and start object remain empty. www.iprocon.com slide: 17
  • 18. How to reduce number of roles  Dynamic start object ■ Dynamic in general auhorization through custom object or ■ P_NNNNN or BAdI Reference role www.iprocon.com slide: 18
  • 19. P_NNNNN You need access to all persons of your own cost center. Standard authorisations don„t provide cost center. Using the organisational key leads to 1 role for each user. You may also use P_NNNNN with additional coding. Tip 1 role for all users www.iprocon.com slide: 19
  • 20. Additional coding for P_NNNNN ■ The report RPUACG00 generates coding in program MPPAUTZZ ■ Here you can add your own coding. ■ Note! After every regeneration the custom code gets lost. www.iprocon.com slide: 20
  • 21. How to decrease amount of roles  Dynamic start object  Dynamic in general auhorization through custom object or ■ P_NNNNN or BAdI Reference role www.iprocon.com slide: 21
  • 22. Concept of reference roles Derived Role Personnel Area: 1000 Reference Role Derived Role Personnel Area: * Personnel Area: 2000 Inheritance of all authorisations except for the organisational levels Derived Role Personnel Area: 3000 www.iprocon.com slide: 22
  • 23. Agenda ■ Overview: General / Structural / Context Authorisation Check ■ How to reduce the number of roles ■ Avoid these pitfalls ■ How to approach a redesign www.iprocon.com slide: 23
  • 24. Avoid these pitfalls ■ P_PERNR ■ P_ABAP ■ time dependent check - T582a ■ Adding rights from different roles, particularly backend and XSS ■ BAdI: all methods! www.iprocon.com slide: 24
  • 25. P_PERNR Possible values: E = exclude own personnel number I = include own personnel number Not like this! Rule: Basis is always ‚normal„ authorisation – P_PERNR is checked last E: less rights for own personnel number (e.g. Change IT0008) I: more rights for own personnel number (e.g. ESS) www.iprocon.com slide: 25
  • 26. Authorisation Object P_ABAP Often difficult to provide access to non-critical reports (e. g. phone list) P_ABAP deactivates HR authorisation check (COARS = 2) Tip doesn„t replace the basic authorisation but to start a report! Recommendation: 1 role with non-critical reports for all users www.iprocon.com slide: 26
  • 27. Time dependent check The date-dependent check is not carried out for each infotype by default. You can change the setting in table view V_T582A. www.iprocon.com slide: 27
  • 28. Rights from different roles adding up ■ It is a common misconception that authorisations are only used together, when in the same role ► ► E.g.: if one role allows to read infotype 0002 and a different role holds rights for transaction PA20, then the user cannot access infotype 0002 in PA20  WRONG! When a user wants to perform any action, authorisations from all roles assigned are applied ■ Example: HR team leader ► ► ► Role „HR Manager UK“ gives access to transaction PA30 and HR infotypes only for personnel areas in the UK Role „Manager for MSS“ gives access to all HR infotypes without restrictions (assumption: MSS assigns right people only) Problem: combining both roles gives access to all HR data globally www.iprocon.com slide: 28
  • 29. BAdI for general auth. checks You must consider all these methods during implementation to ensure that the standard authorization check continues to work! Otherwise, you deactivate the complete authorization check. www.iprocon.com slide: 29
  • 30. Agenda ■ Overview: General / Structural / Context Authorisation Check ■ How to reduce the number of roles ■ Avoid these pitfalls ■ How to approach a redesign www.iprocon.com slide: 30
  • 31. Redesigning HR Authorisations ■ General approach / test ■ Performance improvement of structural authorisation ■ Composite roles ■ OM assignment? ■ Assign structural profiles via BAdI ■ Further improvements through BAdIs? ■ Performance improvement through object P_ABAP ■ Migrating to context-dependent authorisation ■ Amend profile generator for better defaults in transaction PFCG www.iprocon.com slide: 31
  • 32. General approach In role maintenance, biz process or system performance -> detailed analysis & decide fix? Efficency issues Loss of Control? Full process based redesign Initial User Workshop New requirements? New roles or new concepts, e.g. context or BAdI required? Check issues and decide fix (may be wrong usage of objects or requiring new concepts) Some things don’t work www.iprocon.com slide: 32
  • 33. Tips for Test and Cut-Over ■ 4 elements of authorisation test users do, what they need to?  key users test their own process ► Can users do more than they should?  Key users and tech experts test others‟ process ► Performance  tech experts perform mass test together with key users ► User maintenance process  end to end acceptance test with user admin and business users ► Can ■ Cut-Over ► Keep old roles as a contingency and allow them to be assigned for a limited period of time in case of issues ► Do not tell key users before test is completed www.iprocon.com slide: 33
  • 34. Improve performance for struct. auth. better: P Evaluationpathwith  nonspecifi edtarget  object reduces performance Save user data in SAP memory www.iprocon.com slide: 34
  • 35. Use composite roles The more roles you have the more maintenance effort you need for user assignment Role „Reports for stores “ Role „PA decentral“ Combine single roles into composite roles Role „Time manager“ Tip Composite role „Store office“ Modular design of role concept reduces maintenance effort www.iprocon.com slide: 35
  • 36. Assign roles via org management Organisational Unit Role Job Work Center Role Role Role Role User Role Position Person www.iprocon.com slide: 36
  • 37. Assign structural profiles via BAdI Maintenance of table T77UA takes too much effort or doesn„t fulfill the requirements Assignment of structural profiles either from the field PROFL or following your own logic via BAdI HRBAS00_ GET_PROFL Tip No need of maintaining table T77UA. Dynamic assignment of structural profiles. www.iprocon.com slide: 37
  • 38. Further improvements through BAdIs The BAdIs available are very powerful • You may find ways to improve performance or usability by making good use of them • Risk: users / data security team learn that “everything is possible somehow”  you end up reinventing the system Examples • Allow access to some infotypes only in specific transactions, e.g. access to IT0002 fields for reporting, but not in transactions, where NI number is shown • Capture additional payments up to certain limit • Rights to change HR data for most users “switched on/off”, if central team wants to avoid changes at certain times www.iprocon.com slide: 38
  • 40. Appendix ■ P_NNNNN ■ Reference role www.iprocon.com slide: 40
  • 41. Step by Step 1. 2. 3. Create P_NNNNN Take over P_NNNNN in standard authorisation check Activate P_NNNNN www.iprocon.com slide: 41
  • 43. Take over in standard auth. check Report RPUACG00 www.iprocon.com slide: 43
  • 46. Reference role You might have roles for decentralised use that only differ in one or few org level fields (e.g. personnel area). In the standard, the plan version is the only org level Tip You can change existing fields to org levels via Report PFCG_ORGFIELD_CREATE Only the reference role needs to be maintained. www.iprocon.com slide: 46
  • 47. 1. Create an org level field Use report PFCG_ORGFIELD_CREATE to create a new org level because the standard provides only the plan version as an org level. Result: derived role A3 HCM Berechtigungen www.iprocon.com slide: 47
  • 48. 2. Derive role from reference role A role becomes a reference role as soon as another role has been derived from that role. A3 HCM Berechtigungen www.iprocon.com slide: 48
  • 49. 3. Maintain the reference role Transfer the authorisations of the reference role to the derived roles via button „Copy data“ – except for the organisational levels. Reference Role www.iprocon.com slide: 49
  • 50. Ask for our in-house workshops SAP HR Authorisations design • Full (re)design • Additional modules / processes Reviewing your HR Authorisations system Preparing for a rollout • Incl. international rollout Switching to structural authorisations • …or context sensitive authorisations www.iprocon.com slide: 50