Understanding HR Schema and PCR with an Example

Applies to:
SAP ECC 6.0 version, SAP HCM module. For more information, visit the Enterprise Resource Planning homepage.

Summary
This document will provide you an example as to how you can use custom Schemas, PCR’s and Operations to address your company’s unique payroll requirements. Author: Dinesh Pandey

Company: SAP Labs India Created on: 08 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.

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 1

...............................sap...............com | BPX ... 3 Step1: Create custom operation K-E1 ...............................................sap..... 5 Step6: Modify schema ZN00 to replace sub schema INN1 by the custom sub schema ZNN1 ...........................................................................................................sdn.....................sap.......................boc.....................................sap............................................................................................................... 5 Step7: Place rule ZKP1 in custom schema ZNN1 ...............com | UAC ....................... 3 Step2: Create custom rule ZKP1 ......................... 4 Step4: Create custom schema ZN00 by copying ‘India Payroll’ schema .................................bpx...........................................Understanding HR Schema and PCR with an Example Table of Contents Introduction ..... 7 SAP COMMUNITY NETWORK © 2010 SAP AG SDN ............. 6 Copyright.....................................................uac........................................................................................com | BOC ..................com 2 ................................................. 5 Step5: Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema ................................. 4 Step3: Write code for custom operation in include PCBURZIN0 .......

2.bpx.sap. Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema 6. Step1: Create custom operation K-E1 Use transaction PE04 to create customer specific operation K-E1.sap. This requirement can be fulfilled using the following steps: 1. Create custom schema ZN00 by copying ‘India Payroll’ schema 5.uac. The following section describes the above steps in detail. Create custom personnel calculation rule ZKP1 4.com | BPX .sap. your company wants to calculate PTax.sap. Write code for custom operation in include PCBURZIN0 3.Understanding HR Schema and PCR with an Example Introduction Let’s say your company does not want to calculate Professional Tax (PTax) for employees who belong to country India and stay in XYZ state. Create custom operation K-E1. SAP COMMUNITY NETWORK © 2010 SAP AG SDN . For all other states of the country.com 3 . 7. Place the rule ZKP1 in custom sub schema ZNN1. The characteristics of the operation loos like as shown below.com | UAC .com | BOC . Edit schema ZN00 are replace sub schema INN1 by the custom sub schema ZNN1.sdn.boc.

sap.com | BOC . The rule looks like as shown below.sdn. Step3: Write code for custom operation in include PCBURZIN0 Go to transaction SE38 and include your code in include PCBURZIN0. Country key State key key SAP COMMUNITY NETWORK © 2010 SAP AG SDN .Understanding HR Schema and PCR with an Example Step2: Create custom rule ZKP1 Use transaction PE02 to create custom rule ZKP1.sap.bpx.com | BPX . Let’s say 11 is the Region code for XYZ state In table display mode the screen will look like as show below.sap.com | UAC .sap.uac.boc.com 4 .

bpx.com | UAC . Step5: Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema Copy standard sub schema INN1 (Gross to Net calculation – India) to custom schema ZNN1 using transaction PE01.uac.com 5 .sdn.sap. Step6: Modify schema ZN00 to replace sub schema INN1 by the custom sub schema ZNN1 The screen for schema ZN00 will look like as shown below.com | BPX . SAP COMMUNITY NETWORK © 2010 SAP AG SDN .sap.sap.sap.Understanding HR Schema and PCR with an Example Step4: Create custom schema ZN00 by copying ‘India Payroll’ schema Copy schema IN00 (HR-IN: India Payroll schema) to custom schema ZN00 using transaction PE01.boc.com | BOC .

boc. To enter a new row.sap.com | BOC .uac.Understanding HR Schema and PCR with an Example Step7: Place rule ZKP1 in custom schema ZNN1 Use transaction PE01 to place rule ZKP1 in custom schema ZNN1.sap. write „I‟ in the line column and press “enter”. The screen for schema ZNN1 will look like as shown below.com 6 .sdn.sap.sap.com | UAC . Your schema ZNN0 is now ready for handling Professional Tax (PTax) scenario as mentioned in the introduction section. SAP COMMUNITY NETWORK © 2010 SAP AG SDN .com | BPX .bpx.

and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.sap. PostScript.sdn.S. Inc. and other countries. Nothing herein should be construed as constituting an additional warranty. z9. BatchPipes. Adobe. AS/400. 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. National product specifications may vary. R/3. PartnerEdge. DB2. Oracle is a registered trademark of Oracle Corporation. World Wide Web Consortium. MVS/ESA. XML. OS/400. z/VM. System z. Web Intelligence. 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. POWER6.com 7 . All other product and service names mentioned are the trademarks of their respective companies. pSeries. S/390. Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. System Storage. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only. Intelligent Miner. OSF/1.sap. xSeries. POWER5+. Redbooks. DB2 Universal Database. POWER6+. ByDesign. Massachusetts Institute of Technology.sap. System p. z10. iSeries. WinFrame. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. z/OS. Java is a registered trademark of Sun Microsystems. System z9. Windows. and PowerPoint are registered trademarks of Microsoft Corporation. The information contained herein may be changed without prior notice. Duet. System z10. ICA.com | BPX . S/390 Parallel Enterprise Server. Crystal Decisions. BladeCenter. HTML. the Adobe logo. Acrobat. JavaScript is a registered trademark of Sun Microsystems. used under license for technology invented and implemented by Netscape. GPFS. without representation or warranty of any kind. OpenPower.com | BOC . POWER. HACMP. SAP COMMUNITY NETWORK © 2010 SAP AG SDN . Excel. IBM. These materials are subject to change without notice.boc. if any. and MultiWin are trademarks or registered trademarks of Citrix Systems. BusinessObjects. System x. and Motif are registered trademarks of the Open Group. OS/2. Business Objects and the Business Objects logo. Citrix.sap. SAP.uac. zSeries.. Microsoft. PowerVM.bpx. POWER5. Inc. System i5. and SAP Group shall not be liable for errors or omissions with respect to the materials. eServer. SAP Business ByDesign. Outlook. VideoFrame. AIX. WebSphere. SAP NetWeaver. and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S. MetaFrame. All rights reserved. PowerPC. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. Crystal Reports. i5/OS.Understanding HR Schema and PCR with an Example Copyright © Copyright 2010 SAP AG. XHTML and W3C are trademarks or registered trademarks of W3C®. Linux is the registered trademark of Linus Torvalds in the U. Netfinity. Program Neighborhood. Xcelsius. in the United States and in other countries. OS/390. RETAIN.com | UAC . Data contained in this document serves informational purposes only. DB2 Connect. RACF. Business Objects is an SAP company. Inc. UNIX. System p5. Power Architecture. System i. Parallel Sysplex. X/Open.A.

Sign up to vote on this title
UsefulNot useful