SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Downloaden Sie, um offline zu lesen
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 1
Implementing SAP HR Structural
Authorization
Applies to:
SAP ECC 6.0 version, SAP HCM module. For more information, visit the Enterprise Resource Planning
homepage.
Summary
This document describes the steps required for implementing SAP HR Structural Authorization.
Author: Dinesh Pandey
Company: SAP Labs India
Created on: 30 January 2010
Author Bio
Dinesh Pandey is a Principal Consultant with Custom Development, SAP Labs India. He has
worked on various customer projects in the area of SAP HCM.
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 2
Table of Contents
Introduction .........................................................................................................................................................3
Steps to implement Structural Authorization ......................................................................................................3
Impact of Structural Authorization on SAP HR Transactions .............................................................................5
BADI for HR Authorization Checks.....................................................................................................................9
Copyright...........................................................................................................................................................10
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 3
Introduction
In Human Resources, authorizations play a significant role since access to HR data must be strictly
controlled. There are two main ways to set up authorizations for SAP Human Resources:
You can set up general authorizations that are based on the SAP-wide authorization concept or you can
set up HR-specific structural authorizations that check by organizational assignment if a user is authorized
to perform an activity.
The structural profile determines which object in the organizational structure the user has access to. The
general profile determines which object data (infotype, subtype) and which access mode (Read, Write, ...)
the user has for those objects.
In contrast to general authorization profiles, which are assigned using the Profile Generator (PFCG
transaction), you use table T77UA (User Authorizations = Assignment of Profile to User) to assign structural
profiles.
Structural profiles use the data model of the Organizational Management to build hierarchies using objects
and relationships.
Steps to implement Structural Authorization
Let‟s take a business scenario to understand how structural authorization works. The scenario is as follows:
“User SMITH is the chief of org. unit 00000220 “Executive Board –Italy” and he should be allowed to access
data of those employees who belongs to this org. unit.
The following section will tell you how this requirement can be addressed in SAP using structural
authorization.
1. Step1: Maintain structural authorization profile in view T77PR
By entering a specific evaluation path (O-S-P in this example) in the field „Eval. Path‟, you can determine that
the user is only authorized to access objects along this evaluation path.
Evaluation paths "collect" objects from a start object in an existing structure according to their definition: The
definition of an evaluation path determines the start object and which object types using which relationships
are selected.
Few more fields which you can enter in this view:
a. Period - In this field, you can define the profile according to the validity period of the structure. You
can enter the following options: Key date, all, and different periods such as current year, current
month and so on.
If you select the entry D (current day), the structural authorization is limited to the structures valid on
the current day.
b. Function Module - You can use this field to specify a function module that determines the root
object dynamically at runtime.
The advantage of using function modules is that each time you define an authorization profile, the
function module generates a user-specific profile for each user at runtime.
If a manager changes department, for example, the corresponding profile in the T77PR table
(Definition of Authorization Profiles) does not need to be changed.
O stands for
Org Unit
Org Unit Id
(Root object)
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 4
Following function modules are delivered in the standard system:
- RH_GET_MANAGER_ASSIGNMENT (Determine Organizational Units for Manager)
- RH_GET_ORG_ASSIGNMENT (Organizational Assignment)
c. Depth (Display Depth)
You can use this field to determine which level of a hierarchical structure a user is authorized to
access.
2. Step2: Assign structure authorization profile to user in view T77UA
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 5
Impact of Structural Authorization on SAP HR Transactions
 The below screen shows the complete organization hierarchy of an organization using transaction
PPOME.
Figure1: Complete Organization hierarchy for a IDES company
 When user SMITH logs on to the system and looks for the organization hierarchy using transaction
PPOME, it will look like as show below.
Figure2: Organization hierarchy for organization unit 00000220
You can easily notice that SMITH can only view organization hierarchy for organization unit
00000220 and not the complete organization hierarchy.
Org hierarchy of org.
unit 00000220
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 6
 When user SMITH tries to look for master data for personnel no. 1, he will get an error as shown in
the screen-shot below. Reason: Personnel no. 1 is not a part of org hierarchy 00000220.
Figure3: HR Master Data screen
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 7
 User SMITH will get an error if he wants to read employee 00000001 data using FM
“HR_READ_INFOTYPE” as shown in the screen-shot below.
Figure5: Function module execution via SE37 transaction
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 8
 When user SMITH tries to look for details of position 50006025, he will get an error as shown in the
screen-shot below. Reason: Position 50006025 is not a part of org hierarchy 00000220.
Figure4: Screen to maintain PD Objects
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 9
BADI for HR Authorization Checks
You can implement a customer-specific test procedure for general and structural authorization checks using
a Business Add-In (BADI). The BADI for the structural authorization check is called HRBAS00_STRUAUTH.
Implementing SAP HR Structural Authorization
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 10
Copyright
© Copyright 2010 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,
Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of
Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts
Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by
Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document
serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.

Weitere ähnliche Inhalte

Was ist angesagt?

Organizational Management in SAP HCM
Organizational Management in SAP HCMOrganizational Management in SAP HCM
Organizational Management in SAP HCMDivyasri_G
 
Authorisations in SAP: best practices
Authorisations in SAP: best practicesAuthorisations in SAP: best practices
Authorisations in SAP: best practicesJonathan Eemans
 
Integrating SAP HR and Business Process Driven Identity Management
Integrating SAP HR and Business Process Driven Identity ManagementIntegrating SAP HR and Business Process Driven Identity Management
Integrating SAP HR and Business Process Driven Identity ManagementNovell
 
Sap hr training demo
Sap hr training demoSap hr training demo
Sap hr training demoNaveen M
 
SAP Security & GRC Framework
SAP Security & GRC FrameworkSAP Security & GRC Framework
SAP Security & GRC FrameworkHarish Sharma
 
Master data distribution in SAP: implementation guide
Master data distribution in SAP: implementation guideMaster data distribution in SAP: implementation guide
Master data distribution in SAP: implementation guideJonathan Eemans
 
Oracle hrms basic features and functionalities(for R11i and R12)
Oracle hrms basic features and functionalities(for R11i and R12)Oracle hrms basic features and functionalities(for R11i and R12)
Oracle hrms basic features and functionalities(for R11i and R12)Manish Goel, PMP
 
Otbi and bicc_psr_technote_v3_final_document
Otbi and bicc_psr_technote_v3_final_documentOtbi and bicc_psr_technote_v3_final_document
Otbi and bicc_psr_technote_v3_final_documentHamadaAsmrAladham1
 
Sap Security Workshop
Sap Security WorkshopSap Security Workshop
Sap Security Workshoplarrymcc
 
Hyperion Planning Security
Hyperion Planning SecurityHyperion Planning Security
Hyperion Planning Securityadivasoft
 
Sap audit programs_and_ic_qs
Sap audit programs_and_ic_qsSap audit programs_and_ic_qs
Sap audit programs_and_ic_qsPhong Ho
 
Oracle Fusion Procurement implementation guide
Oracle Fusion Procurement implementation guideOracle Fusion Procurement implementation guide
Oracle Fusion Procurement implementation guidesahagaurav
 
PART I of III: Advanced Authorization for SAP Global Deployments: September ...
PART I of III:  Advanced Authorization for SAP Global Deployments: September ...PART I of III:  Advanced Authorization for SAP Global Deployments: September ...
PART I of III: Advanced Authorization for SAP Global Deployments: September ...NextLabs, Inc.
 
Simplified guidelines for selecting a bi platform in an enterprise
Simplified guidelines for selecting a bi platform in an enterpriseSimplified guidelines for selecting a bi platform in an enterprise
Simplified guidelines for selecting a bi platform in an enterpriseAlaa Karam
 
Oracle Fusion Applications Accounts Payables
Oracle Fusion Applications Accounts PayablesOracle Fusion Applications Accounts Payables
Oracle Fusion Applications Accounts PayablesBerry Clemens
 
Oracle Self Service HR Document
Oracle Self Service HR DocumentOracle Self Service HR Document
Oracle Self Service HR DocumentHussain Abbas
 

Was ist angesagt? (20)

Organizational Management in SAP HCM
Organizational Management in SAP HCMOrganizational Management in SAP HCM
Organizational Management in SAP HCM
 
Day5 R3 Basis Security
Day5 R3 Basis   SecurityDay5 R3 Basis   Security
Day5 R3 Basis Security
 
Authorisations in SAP: best practices
Authorisations in SAP: best practicesAuthorisations in SAP: best practices
Authorisations in SAP: best practices
 
Integrating SAP HR and Business Process Driven Identity Management
Integrating SAP HR and Business Process Driven Identity ManagementIntegrating SAP HR and Business Process Driven Identity Management
Integrating SAP HR and Business Process Driven Identity Management
 
Sap hr training demo
Sap hr training demoSap hr training demo
Sap hr training demo
 
SAP Security & GRC Framework
SAP Security & GRC FrameworkSAP Security & GRC Framework
SAP Security & GRC Framework
 
Master data distribution in SAP: implementation guide
Master data distribution in SAP: implementation guideMaster data distribution in SAP: implementation guide
Master data distribution in SAP: implementation guide
 
Oracle hrms basic features and functionalities(for R11i and R12)
Oracle hrms basic features and functionalities(for R11i and R12)Oracle hrms basic features and functionalities(for R11i and R12)
Oracle hrms basic features and functionalities(for R11i and R12)
 
360 Degree Processes In R12 Hrms
360 Degree Processes In R12 Hrms360 Degree Processes In R12 Hrms
360 Degree Processes In R12 Hrms
 
Hr510 personnel development
Hr510   personnel developmentHr510   personnel development
Hr510 personnel development
 
Otbi and bicc_psr_technote_v3_final_document
Otbi and bicc_psr_technote_v3_final_documentOtbi and bicc_psr_technote_v3_final_document
Otbi and bicc_psr_technote_v3_final_document
 
Sap Security Workshop
Sap Security WorkshopSap Security Workshop
Sap Security Workshop
 
Hyperion Planning Security
Hyperion Planning SecurityHyperion Planning Security
Hyperion Planning Security
 
Sap audit programs_and_ic_qs
Sap audit programs_and_ic_qsSap audit programs_and_ic_qs
Sap audit programs_and_ic_qs
 
Oracle Fusion Procurement implementation guide
Oracle Fusion Procurement implementation guideOracle Fusion Procurement implementation guide
Oracle Fusion Procurement implementation guide
 
PART I of III: Advanced Authorization for SAP Global Deployments: September ...
PART I of III:  Advanced Authorization for SAP Global Deployments: September ...PART I of III:  Advanced Authorization for SAP Global Deployments: September ...
PART I of III: Advanced Authorization for SAP Global Deployments: September ...
 
Simplified guidelines for selecting a bi platform in an enterprise
Simplified guidelines for selecting a bi platform in an enterpriseSimplified guidelines for selecting a bi platform in an enterprise
Simplified guidelines for selecting a bi platform in an enterprise
 
Oracle Fusion Applications Accounts Payables
Oracle Fusion Applications Accounts PayablesOracle Fusion Applications Accounts Payables
Oracle Fusion Applications Accounts Payables
 
How to assign sap business planning and consolidation authorizations via the ...
How to assign sap business planning and consolidation authorizations via the ...How to assign sap business planning and consolidation authorizations via the ...
How to assign sap business planning and consolidation authorizations via the ...
 
Oracle Self Service HR Document
Oracle Self Service HR DocumentOracle Self Service HR Document
Oracle Self Service HR Document
 

Ähnlich wie Hr structural auths

Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsHicham Khallouki
 
How to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idHow to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idAshwin Mane
 
Sap success factors quick guide
Sap success factors quick guideSap success factors quick guide
Sap success factors quick guideSushil Rathi
 
SAST Authorization Management: How to integrate your SoD analysis into the SA...
SAST Authorization Management: How to integrate your SoD analysis into the SA...SAST Authorization Management: How to integrate your SoD analysis into the SA...
SAST Authorization Management: How to integrate your SoD analysis into the SA...akquinet enterprise solutions GmbH
 
CO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfCO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfssuser878ec2
 
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration PlatformWebinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration PlatformEdureka!
 
H1 2021 EC-Platform Quick Review by Deloitte Germany
H1 2021 EC-Platform Quick Review by Deloitte GermanyH1 2021 EC-Platform Quick Review by Deloitte Germany
H1 2021 EC-Platform Quick Review by Deloitte GermanyChristoph Pohl
 
Q2 2019 EC Platform Quick Review by Deloitte Germany
Q2 2019 EC Platform Quick Review by Deloitte GermanyQ2 2019 EC Platform Quick Review by Deloitte Germany
Q2 2019 EC Platform Quick Review by Deloitte GermanyChristoph Pohl
 
D365 F&O - Data and Analytics White Paper
D365 F&O - Data and Analytics White PaperD365 F&O - Data and Analytics White Paper
D365 F&O - Data and Analytics White PaperGina Pabalan
 
Exploring ms reportsolutions
Exploring ms reportsolutionsExploring ms reportsolutions
Exploring ms reportsolutionsDavid Ortiz
 
Secure Your Environment with UiPath and CyberArk Technologies
Secure Your Environment with UiPath and CyberArk TechnologiesSecure Your Environment with UiPath and CyberArk Technologies
Secure Your Environment with UiPath and CyberArk TechnologiesDianaGray10
 
Quick Preview: SuccessFactors Q3 - EC & Platform
Quick Preview: SuccessFactors Q3 - EC & PlatformQuick Preview: SuccessFactors Q3 - EC & Platform
Quick Preview: SuccessFactors Q3 - EC & PlatformChristoph Pohl
 
D365 Finance & Operations - Data & Analytics (see newer release of this docum...
D365 Finance & Operations - Data & Analytics (see newer release of this docum...D365 Finance & Operations - Data & Analytics (see newer release of this docum...
D365 Finance & Operations - Data & Analytics (see newer release of this docum...Gina Pabalan
 
J11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docxJ11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docxArun Obilisetty
 
Ppf in sap_ewm_1
Ppf in sap_ewm_1Ppf in sap_ewm_1
Ppf in sap_ewm_1Yuan Lin
 
Workflow Automation and Customization using Salesforce
Workflow Automation and Customization using SalesforceWorkflow Automation and Customization using Salesforce
Workflow Automation and Customization using SalesforceIRJET Journal
 
Q2 2018 (1805) Release Preview
Q2 2018 (1805) Release PreviewQ2 2018 (1805) Release Preview
Q2 2018 (1805) Release PreviewChristoph Pohl
 

Ähnlich wie Hr structural auths (20)

Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
 
How to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idHow to Create SAP MarketPlace user id
How to Create SAP MarketPlace user id
 
Sap basis and_security_administration
Sap basis and_security_administrationSap basis and_security_administration
Sap basis and_security_administration
 
Sap success factors quick guide
Sap success factors quick guideSap success factors quick guide
Sap success factors quick guide
 
Infoobject
InfoobjectInfoobject
Infoobject
 
SAST Authorization Management: How to integrate your SoD analysis into the SA...
SAST Authorization Management: How to integrate your SoD analysis into the SA...SAST Authorization Management: How to integrate your SoD analysis into the SA...
SAST Authorization Management: How to integrate your SoD analysis into the SA...
 
CO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfCO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdf
 
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration PlatformWebinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
 
H1 2021 EC-Platform Quick Review by Deloitte Germany
H1 2021 EC-Platform Quick Review by Deloitte GermanyH1 2021 EC-Platform Quick Review by Deloitte Germany
H1 2021 EC-Platform Quick Review by Deloitte Germany
 
Q2 2019 EC Platform Quick Review by Deloitte Germany
Q2 2019 EC Platform Quick Review by Deloitte GermanyQ2 2019 EC Platform Quick Review by Deloitte Germany
Q2 2019 EC Platform Quick Review by Deloitte Germany
 
D365 F&O - Data and Analytics White Paper
D365 F&O - Data and Analytics White PaperD365 F&O - Data and Analytics White Paper
D365 F&O - Data and Analytics White Paper
 
Exploring ms reportsolutions
Exploring ms reportsolutionsExploring ms reportsolutions
Exploring ms reportsolutions
 
Secure Your Environment with UiPath and CyberArk Technologies
Secure Your Environment with UiPath and CyberArk TechnologiesSecure Your Environment with UiPath and CyberArk Technologies
Secure Your Environment with UiPath and CyberArk Technologies
 
Quick Preview: SuccessFactors Q3 - EC & Platform
Quick Preview: SuccessFactors Q3 - EC & PlatformQuick Preview: SuccessFactors Q3 - EC & Platform
Quick Preview: SuccessFactors Q3 - EC & Platform
 
D365 Finance & Operations - Data & Analytics (see newer release of this docum...
D365 Finance & Operations - Data & Analytics (see newer release of this docum...D365 Finance & Operations - Data & Analytics (see newer release of this docum...
D365 Finance & Operations - Data & Analytics (see newer release of this docum...
 
J11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docxJ11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docx
 
Ppf in sap_ewm_1
Ppf in sap_ewm_1Ppf in sap_ewm_1
Ppf in sap_ewm_1
 
SENTHIL RAMADOSS CV
SENTHIL RAMADOSS CVSENTHIL RAMADOSS CV
SENTHIL RAMADOSS CV
 
Workflow Automation and Customization using Salesforce
Workflow Automation and Customization using SalesforceWorkflow Automation and Customization using Salesforce
Workflow Automation and Customization using Salesforce
 
Q2 2018 (1805) Release Preview
Q2 2018 (1805) Release PreviewQ2 2018 (1805) Release Preview
Q2 2018 (1805) Release Preview
 

Kürzlich hochgeladen

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 

Kürzlich hochgeladen (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Hr structural auths

  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1 Implementing SAP HR Structural Authorization Applies to: SAP ECC 6.0 version, SAP HCM module. For more information, visit the Enterprise Resource Planning homepage. Summary This document describes the steps required for implementing SAP HR Structural Authorization. Author: Dinesh Pandey Company: SAP Labs India Created on: 30 January 2010 Author Bio Dinesh Pandey is a Principal Consultant with Custom Development, SAP Labs India. He has worked on various customer projects in the area of SAP HCM.
  • 2. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 2 Table of Contents Introduction .........................................................................................................................................................3 Steps to implement Structural Authorization ......................................................................................................3 Impact of Structural Authorization on SAP HR Transactions .............................................................................5 BADI for HR Authorization Checks.....................................................................................................................9 Copyright...........................................................................................................................................................10
  • 3. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 3 Introduction In Human Resources, authorizations play a significant role since access to HR data must be strictly controlled. There are two main ways to set up authorizations for SAP Human Resources: You can set up general authorizations that are based on the SAP-wide authorization concept or you can set up HR-specific structural authorizations that check by organizational assignment if a user is authorized to perform an activity. The structural profile determines which object in the organizational structure the user has access to. The general profile determines which object data (infotype, subtype) and which access mode (Read, Write, ...) the user has for those objects. In contrast to general authorization profiles, which are assigned using the Profile Generator (PFCG transaction), you use table T77UA (User Authorizations = Assignment of Profile to User) to assign structural profiles. Structural profiles use the data model of the Organizational Management to build hierarchies using objects and relationships. Steps to implement Structural Authorization Let‟s take a business scenario to understand how structural authorization works. The scenario is as follows: “User SMITH is the chief of org. unit 00000220 “Executive Board –Italy” and he should be allowed to access data of those employees who belongs to this org. unit. The following section will tell you how this requirement can be addressed in SAP using structural authorization. 1. Step1: Maintain structural authorization profile in view T77PR By entering a specific evaluation path (O-S-P in this example) in the field „Eval. Path‟, you can determine that the user is only authorized to access objects along this evaluation path. Evaluation paths "collect" objects from a start object in an existing structure according to their definition: The definition of an evaluation path determines the start object and which object types using which relationships are selected. Few more fields which you can enter in this view: a. Period - In this field, you can define the profile according to the validity period of the structure. You can enter the following options: Key date, all, and different periods such as current year, current month and so on. If you select the entry D (current day), the structural authorization is limited to the structures valid on the current day. b. Function Module - You can use this field to specify a function module that determines the root object dynamically at runtime. The advantage of using function modules is that each time you define an authorization profile, the function module generates a user-specific profile for each user at runtime. If a manager changes department, for example, the corresponding profile in the T77PR table (Definition of Authorization Profiles) does not need to be changed. O stands for Org Unit Org Unit Id (Root object)
  • 4. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 4 Following function modules are delivered in the standard system: - RH_GET_MANAGER_ASSIGNMENT (Determine Organizational Units for Manager) - RH_GET_ORG_ASSIGNMENT (Organizational Assignment) c. Depth (Display Depth) You can use this field to determine which level of a hierarchical structure a user is authorized to access. 2. Step2: Assign structure authorization profile to user in view T77UA
  • 5. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 5 Impact of Structural Authorization on SAP HR Transactions  The below screen shows the complete organization hierarchy of an organization using transaction PPOME. Figure1: Complete Organization hierarchy for a IDES company  When user SMITH logs on to the system and looks for the organization hierarchy using transaction PPOME, it will look like as show below. Figure2: Organization hierarchy for organization unit 00000220 You can easily notice that SMITH can only view organization hierarchy for organization unit 00000220 and not the complete organization hierarchy. Org hierarchy of org. unit 00000220
  • 6. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 6  When user SMITH tries to look for master data for personnel no. 1, he will get an error as shown in the screen-shot below. Reason: Personnel no. 1 is not a part of org hierarchy 00000220. Figure3: HR Master Data screen
  • 7. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 7  User SMITH will get an error if he wants to read employee 00000001 data using FM “HR_READ_INFOTYPE” as shown in the screen-shot below. Figure5: Function module execution via SE37 transaction
  • 8. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 8  When user SMITH tries to look for details of position 50006025, he will get an error as shown in the screen-shot below. Reason: Position 50006025 is not a part of org hierarchy 00000220. Figure4: Screen to maintain PD Objects
  • 9. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 9 BADI for HR Authorization Checks You can implement a customer-specific test procedure for general and structural authorization checks using a Business Add-In (BADI). The BADI for the structural authorization check is called HRBAS00_STRUAUTH.
  • 10. Implementing SAP HR Structural Authorization SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 10 Copyright © Copyright 2010 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.