Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Schema
Applies to:
This article is relevant to SAP HCM module where Payroll is implemented. This applies to all SAP Releases.
For more information; visit the Enterprise Resource Planning homepage.
Summary
This document is intended for those who are interested to know the basics of a payroll schema. The exercise
in the article helps in understanding how a Payroll schema controls a Payroll driver program.
Author: Sajimol C
Company: Satyam Computer Services Limited
Created on: 22 April 2009
Author Bio
Sajimol is working with Satyam Computer Services Limited, Bangalore. She has around 5 years of
experience as SAP HR Technical Consultant.
Table of Contents
Scope and Purpose of the Article .......................................................................................................................3
Pre-requisites......................................................................................................................................................3
Create a Schema................................................................................................................................................3
Step1: Create schema ZT01...........................................................................................................................3
Step2: Edit schema ZT01 ...............................................................................................................................4
Step3: Create schema ZT02...........................................................................................................................5
Step4: Edit schema ZT02 ...............................................................................................................................5
Step5: Create schema ZT00...........................................................................................................................6
Create payroll control record ..............................................................................................................................8
Run the Payroll Driver.........................................................................................................................................8
Edit schema ZT02.............................................................................................................................................10
Re-run the Payroll.............................................................................................................................................11
Related Content................................................................................................................................................13
Disclaimer and Liability Notice..........................................................................................................................14
Pre-requisites
The readers are expected to have a good understanding of Payroll process in SAP. Basic knowledge of
following objects is helpful.
1. Payroll Area
2. Payroll Control Record
3. Payroll Driver program
4. Schema (Editor)
Create a Schema
The Payroll schema we are going to create is for an Organization TEST.
Country grouping chosen is Australia.
Naming Convention used is as follows:
Z Æ To represent a customer schema
TÆ First letter of the company name
nnÆ A unique sequence number
Attributes for schema ZT01 is created automatically. Country grouping is assigned based on that of the
parent schema and program class is by default C for Payroll. You can choose Country grouping * if it is
applicable to All Countries.
Check ‘Schema can be executed’ check box. Save ZT00. Edit Source text.
Add just two lines in ZT00.
COPY ZT02 - ZT02 is copy of Initialization schema QIN0. In ZT02, Function CHECK ABR is made
executable.
COPY ZT01 - ZT01 is copy of main payroll schema Q000, where call to Initialization schema QIN0 is
commented.
Payroll log with Error message is displayed. Payroll period requested (15/2007) is incompatible with the
period set in Payroll Control Record (13/2007).
Note: If ‘Test Run(no update)’ check box is selected in the payroll driver selection screen, this instructs the
driver program to skip the check for control record. A simulation run will take place without any regard for the
control record.
Let us edit the schema to skip the check for payroll control record.
Related Content
SAP Online Help : http://help.sap.com
SAP Developer Network: http://www.sdn.sap.com
Helpful Ref: http://sap.ittoolbox.com
For more information, visit the Enterprise Resource Planning homepage.