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

SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...Soumya De
 
Sap transaction codes
Sap transaction codesSap transaction codes
Sap transaction codesNigel D'souza
 
Authorisation Concept In SAP | http://sapdocs.info
Authorisation Concept In SAP | http://sapdocs.infoAuthorisation Concept In SAP | http://sapdocs.info
Authorisation Concept In SAP | http://sapdocs.infosapdocs. info
 
Parallel Execution With Oracle Database 12c - Masterclass
Parallel Execution With Oracle Database 12c - MasterclassParallel Execution With Oracle Database 12c - Masterclass
Parallel Execution With Oracle Database 12c - MasterclassIvica Arsov
 
SAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSSAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSsapdocs. info
 
Queries in SAP: Introduction
Queries in SAP: IntroductionQueries in SAP: Introduction
Queries in SAP: IntroductionJonathan Eemans
 
Maintain qualifications in SAP
Maintain qualifications in SAPMaintain qualifications in SAP
Maintain qualifications in SAPVishakha Kambli
 
Case study material ledger implementation lessons learned
Case study  material ledger implementation lessons learnedCase study  material ledger implementation lessons learned
Case study material ledger implementation lessons learnedJohannes Le Roux
 
Ap invoice line level approval - R12
Ap invoice line level approval - R12  Ap invoice line level approval - R12
Ap invoice line level approval - R12 Anand Mallarapu
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guidesapdocs. info
 
Sap Fico Configuration Material
Sap Fico Configuration MaterialSap Fico Configuration Material
Sap Fico Configuration MaterialNaina Mohamed
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rulesknreddyy
 
Enhancement revenue account_determination
Enhancement revenue account_determinationEnhancement revenue account_determination
Enhancement revenue account_determinationAzeemuddin Mohammad
 
Lsmw step by- step
Lsmw step  by- stepLsmw step  by- step
Lsmw step by- stepCapgemini
 
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing   Test Scripting V0.1Sap Integration Testing   Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1ASCARR1
 

What's hot (20)

SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Sap transaction codes
Sap transaction codesSap transaction codes
Sap transaction codes
 
Authorisation Concept In SAP | http://sapdocs.info
Authorisation Concept In SAP | http://sapdocs.infoAuthorisation Concept In SAP | http://sapdocs.info
Authorisation Concept In SAP | http://sapdocs.info
 
Cutover activities
Cutover activitiesCutover activities
Cutover activities
 
Parallel Execution With Oracle Database 12c - Masterclass
Parallel Execution With Oracle Database 12c - MasterclassParallel Execution With Oracle Database 12c - Masterclass
Parallel Execution With Oracle Database 12c - Masterclass
 
SAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSSAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHS
 
Queries in SAP: Introduction
Queries in SAP: IntroductionQueries in SAP: Introduction
Queries in SAP: Introduction
 
Maintain qualifications in SAP
Maintain qualifications in SAPMaintain qualifications in SAP
Maintain qualifications in SAP
 
Sap tutorial
Sap tutorialSap tutorial
Sap tutorial
 
Case study material ledger implementation lessons learned
Case study  material ledger implementation lessons learnedCase study  material ledger implementation lessons learned
Case study material ledger implementation lessons learned
 
Ap invoice line level approval - R12
Ap invoice line level approval - R12  Ap invoice line level approval - R12
Ap invoice line level approval - R12
 
Oracle ASCP Training
Oracle ASCP TrainingOracle ASCP Training
Oracle ASCP Training
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guide
 
Sap Fico Configuration Material
Sap Fico Configuration MaterialSap Fico Configuration Material
Sap Fico Configuration Material
 
Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
 
Enhancement revenue account_determination
Enhancement revenue account_determinationEnhancement revenue account_determination
Enhancement revenue account_determination
 
Lsmw step by- step
Lsmw step  by- stepLsmw step  by- step
Lsmw step by- step
 
Sap workflow training
Sap workflow trainingSap workflow training
Sap workflow training
 
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing   Test Scripting V0.1Sap Integration Testing   Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1
 

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

Sap hcm online training
Sap hcm online training Sap hcm online training
Sap hcm online training saptrmit
 
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,indiamagnificsmile
 
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,indiamagnifics
 
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,indiamagnificsha
 
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,indiamagnificsairam
 
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,indiamagnificsmily
 
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 Kwame Porter Robinson
 
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 | DN18DataconomyGmbH
 
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 | OLXDataconomy Media
 
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 2018Jaroslaw Szymczak
 
Agile contract for working software
Agile contract for working softwareAgile contract for working software
Agile contract for working softwareJoshua Lai
 
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 TutorialQiang Zhu
 
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. BAdIsSven Ringling
 
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 organizedCHEQROOM
 
Southeast Michigan AUG - April 24 2018
Southeast Michigan AUG - April 24 2018Southeast Michigan AUG - April 24 2018
Southeast Michigan AUG - April 24 2018Daniel Eads
 
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 PMACarlos Ble
 
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 OverviewStan 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
 
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
 
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 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
 
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
 
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
 

More from Sven Ringling

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?Sven Ringling
 
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 ManagementSven Ringling
 
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...Sven Ringling
 
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 systemSven 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 ProjectsSven Ringling
 
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 ValueSven 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

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

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