HR Forms and Payslips
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
A payslip is the one piece of paper, or PDF, that an employee reads after every payroll run. The payroll program works out the numbers and stores them as payroll results, but it does not draw a page. A separate piece of software, the HR form, reads the stored results and lays them out as a document with the company logo, the right headings and the amounts in the right places. A newcomer meets this topic when the first payslip comes out of the test system with a wrong heading, a missing line or the wrong fonts, and nobody knows which tool to open. This page explains how SAP builds HR forms, what the tools are called, how a form is created, activated and printed, and how the finished payslip reaches the employee. It is written against SAP S/4HANA 2025 FPS02 on premise and Private Edition with SAP HCM for SAP S/4HANA (H4S4), which needs a separate license. Everything here is taken from that documentation. SAP S/4HANA Cloud Public Edition and SAP SuccessFactors have their own payslip tools, which this page does not cover.
Before you read
-
HR and Payroll Basics: what a payslip, gross pay and net pay are, and what a payroll period is.
-
Infotypes: where the master data that a form prints is stored.
-
Time Evaluation: where the time results come from that a time statement prints.
-
Users, Roles and Authorizations: what an authorization object is.
-
Forms: SAPscript, Smart Forms and Adobe Forms: the general form tools of ABAP, which the HR forms build on.
Key terms
-
Remuneration statement: SAP’s name for the payslip, the list of amounts and information for one employee and one payroll period.
-
HR Forms Workplace: the central tool, started with transaction
HRFORMS, that selects the data of a form, links it to a layout tool, activates the form and prints it. -
MetaNet: the catalog of all data that can be printed, shown as a tree on the left of the Forms Workplace.
-
InfoNet: the part of that catalog that one concrete form uses, shown as a tree on the right.
-
Form class: a grouping of forms, such as the payslip class or the time statement class, that fixes which catalog and which data a form may use.
-
Form Builder: the graphical layout tool, integrated with the Forms Workplace, that produces PDF-based forms.
-
HR Form Editor: the older tool, started with transaction
PE51, for payroll forms such as the classic remuneration statement.
The running example: Example Trading Co.
All HR pages on this site use one fictitious business, Example Trading Co. All keys, names, numbers and dates are invented example values chosen for this site. They are not values delivered by SAP, and a real system defines its own. Dates are written DD.MM.YYYY, as an SAP screen shows them.
-
00001234Ana Torres, Sales Manager, hired 01.03.2024, personnel areaEX01, personnel subarea0001, employee subgroupAA, monthly basic pay 4,000.00 EUR, payroll areaE1(Monthly EX01). Her March 2026 payslip is the example document of this page. -
00001236Chloe Martin, Warehouse Clerk, hourly staff paid 14.00 EUR an hour. She appears once, because her working time is evaluated and a time statement is a second kind of HR form. -
The form name
ZEX_PAYSLIPused below is also invented. It is a customer name that starts withZ.
Ana’s payslip for March 2026 (01.03.2026 to 31.03.2026) uses generic flat example rates. They are not the rules of any country, and a real country version of payroll has its own wage types, taxes and contributions.
| Line on the payslip | Calculation | Amount in EUR |
|---|---|---|
Gross pay |
basic pay |
4,000.00 |
Employee social contributions |
20.00% of 4,000.00 |
800.00 |
Income tax |
15.00% of (4,000.00 - 800.00) = 15.00% of 3,200.00 |
480.00 |
Net pay |
4,000.00 - 800.00 - 480.00 |
2,720.00 |
Employer contributions (not printed on Ana’s copy in this example) |
21.00% of 4,000.00 |
840.00 |
The arithmetic was checked by hand and with a small script. No SAP system calculated it. The form does not change any of these numbers. It only decides where they appear and how they look.
From payroll results to a page
Two steps are always separate in SAP HR. First payroll calculates and stores results: for Ana, the amounts of the table above are held per payroll period (see the page on wage types and payroll results). Then a form reads those stored results and prints them. The help page "HR Forms Workplace (PY-XX-HF)" describes the same split inside the form itself: data selection and form design do not happen at the same time, so a layout can change without a new data selection, and a form designer does not need to know the technical table fields that hold the data.
The remuneration statement is the form that SAP delivers as the template. Its report is named RPCEDTx0, where x stands
for the country version, and it lists gross amounts, net amounts, the outgoing payment and additional information such as
organizational assignment and leave. The documentation says it is usually created after the payroll run and before the
bank transfer, and that it can be created after each payroll run when there are several in one period. Its format,
structure and content are set in Customizing for Payroll under Remuneration Statement. The infotype Notifications (0128)
holds personal or general messages that are printed on it, such as birthday greetings. The international transaction for
the form list is PC00_M99_CEDT (Remuneration Statements).
Three ways to make an HR form
SAP’s page "Tools for Human Resources Forms" names two tools for creating forms, and the documentation of the employee apps adds the way the result is shown. The table sums them up.
| Tool | What it is | Where it fits |
|---|---|---|
HR Forms Workplace ( |
One tool for data selection plus a graphical layout tool. The remuneration statement is the form template in the standard delivery, and the time statement is built the same way. |
The standard choice. The page for the Form Builder says SAP recommends it for new time statement forms. |
HR Form Editor ( |
An older editor for forms of Payroll (and a PT Form Editor for Time Management forms). The graphical layout is possible only to a certain extent. |
Existing forms and form classes it supports, for example |
Employee apps |
Fiori apps and Web Dynpro ABAP applications that show a finished payslip to the employee as a PDF. |
Where the employee reads and downloads the document. |
The page about the Salary Statement application for employees says that it is based on a salary statement created with the
HR Forms Workplace editor (transaction HRFORMS) or with the HR Form Editor (transaction PE51), so both tools can feed
the employee. A Time Management form must be edited with the tool that created it, says the page "Tools for Human
Resources Forms", and the "HR Form" page says HR forms can only be edited in the Forms Workplace if they were designed
with one of its two graphical tools.
The objects of the HR Forms Workplace
The Forms Workplace uses two mirrored families of objects. The meta side is the catalog. The info side is what one form uses. The page "Objects in the Forms Workplace" lists them in pairs.
| Meta object (catalog) | Info object (one form) | Meaning, and the payslip example |
|---|---|---|
MetaNet |
InfoNet |
The whole catalog, and the selection one form takes from it. SAP delivers a MetaNet named |
MetaStar |
InfoStar |
A view of data from one data source. The delivered |
MetaDimension |
InfoDimension |
A complete description of a business object or concept, such as the employee, the payroll period (in-period), the bank account or the wage type. It is split into a key and attributes. |
MetaField |
InfoField |
One piece of information of a dimension, either part of its key or an attribute. |
MetaFigure |
InfoFigure |
A figure to be summed or printed. For the wage types of a payroll result the figures are amount, number and rate. |
A MetaStar can also hold only dimensions, in which case it expresses a relationship between them. A form can contain several InfoStars built on one MetaStar, and the InfoStar page recommends combining them with selections to group data.
For Ana’s payslip the form designer drags the employee, the payroll period and the wage types of the payroll result from
the left tree to the right tree. The Forms Workplace then offers, for each InfoStar, the figures amount, number and rate.
The page "Selection and Sorting" gives a worked case: to print only the Total Gross Amount, the designer restricts the
WAGETYPE dimension of an InfoStar to the wage type /101, saves, and activates the form again. To group the lines of a
payslip into blocks, the same page advises one InfoStar per group of wage types, each restricted, printed in the order the
layout needs. Several selection lines are linked by a logical OR, and conditions on several fields of one dimension by a
logical AND.
Form classes
A form class groups forms by business purpose, for example the payslip class PAYSLIP or the time statement class. The
class decides which catalog the Forms Workplace proposes, which report class the print program gets, and which extra
selection fields may appear. It also limits the data: forms of the time statement class contain master data and time
evaluation data and cannot use payroll results. This is why Chloe’s time statement and Ana’s payslip are different
forms even though both are HR forms. The documentation warns that changing the form class of an existing form can change
the printed form a lot, so it advises saving a backup copy first.
Customer data and the HR Metadata Workplace
If a company stores its own data in customer tables or infotypes, the data is made available to forms in the HR Metadata Workplace, not in the Forms Workplace. The help page "Creating Forms" says so, and recommends building the first form from standard SAP data and adding customer data later. A MetaNet change has consequences: the Forms Workplace cannot know its effect on existing forms, so forms that were active stay active and may need to be activated again. The page that describes the MetaNet adds that changing the MetaNet of a form deletes data that is not in the new one.
Creating a payslip form
The steps below follow the official help pages "Create Form", "Copy HR Standard Form", "Creating Forms" and "Activate Forms from the Forms Workplace". They require an SAP system; not run here.
-
Prepare the prerequisites. You need authorization to change workbench objects, because activation generates repository objects, and the authorization object
P_HRF_INFOlimits the activities display, activate and change on forms. To display the metadata a form uses you needP_HRF_META. Customizing for HR forms is cross-client. -
Start transaction
HRFORMS. The list shows the existing HR forms. -
Do not change a standard form. The help page says standard forms can be overwritten by release upgrades or an HR Support Package. Either choose Create, or select a delivered form such as
SAP_PAYSLIP_DE(the page’s own example) and choose Copy to a customer name. For Example Trading Co. the new name isZEX_PAYSLIP. The name must be shorter than 16 characters, without special characters, and not yet used. Select the country grouping and the form class. -
Edit the InfoNet. Drag the MetaStars, MetaDimensions and MetaFigures you need from the left tree to the right tree, add selections, and set the attributes on the tabs of the objects. The tab for the form itself offers the star structuring: nested or flat. SAP recommends the flat structure for new forms, because the Forms Workplace then collects the data that belongs together by itself and the layout does not need loop statements for it.
-
Choose Layout. The Forms Workplace saves the form, generates the ABAP Dictionary structure and creates a form definition with that structure as its interface. The page "InfoNet" recommends the Form Builder for new forms.
-
Design the page: position the fields, add the logo, set fonts and write any condition logic. Save and activate the form definition. Activation generates a function module.
-
Go back and choose Activate on the form. The Forms Workplace generates the print program.
-
Test the print program. In test mode the data read is shown as tables without layout, so you can check, for example, that Ana’s bank data and address are right.
Every HR form consists of four generated or designed parts that all must be active before anything prints. The page "HR
Form" gives this example of the names for a form ZFORM1.
| Part | Example name from the help page |
|---|---|
InfoNet |
|
ABAP Dictionary structure |
|
Form definition |
|
Print program (an ABAP report) |
|
For ZEX_PAYSLIP the names would follow the same pattern. The print program is an ordinary ABAP report, so it can be
started from the Forms Workplace, put in the SAP menu or included in the process model. How reports work is explained in
Classic Reports and Events.
Transports and reactivation
A form is a workbench object, not a Customizing entry, so it travels in a normal transport (see
Customizing and the Implementation Guide). After an import into
the test or production system the form has the status inactive, because generating the dictionary structure takes long
and the Forms Workplace does not do it for you. It must be activated in the target system. You can activate several forms
at once under Utilities, Activate Form, selecting by name, country grouping or MetaNet. SAP also names a Business Add-In,
HRFORM_AFTER_TRANSP with the method ACTIVATE_FORM, to activate forms automatically after each transport.
Printing and delivering the payslip
Printing from the Forms Workplace
On the overview screen you select the active form and choose Execute Print Program. The selection screen offers, among others, these choices according to the help page "Starting Form Printing from Forms Workplace".
-
For the payslip class and payroll results, a period (such as current month or key date) or a payroll run. The period option reads all payroll results in it, including special runs. The payroll run option reads only the run you name, so a regular run is printed without the special runs of the same month.
-
The personnel numbers, payroll area or time administrator for which the form is started.
-
Suppress Statistics, Start Formatting per EE (once per employee, which the help says should be set for forms with only employee-related data such as the remuneration statement), Archive Forms (possible only if formatting is per employee) and Forms in Employee Language.
For Ana the selection is one payroll run, the March 2026 period of payroll area E1, and her personnel number 00001234.
An administrator can also set up a report variant and a parameter transaction that calls PC00_M99_HRF_CALL01 with
P_DIRECT, which skips the selection screen. Menu entries use PC00_Mxx_HRF, where xx is the country grouping, and the
international remuneration statement is on the SAP Easy Access menu under Human Resources, Payroll, International,
Payroll, Remuneration Statement with HR Forms Workplace.
Showing it to the employee
The employee should not need paper. SAP documents these ways to reach the employee, each with its own page.
-
My Paystubs (Version 3/Fiori 2.0): a transactional app in which employees see the list of paystubs the company issued for each payroll period, show the PDF version of a paystub, and, on a desktop or tablet, download and print it. A concurrently employed person can choose the personnel assignment. Its extensibility page names the BAdI
HCMFAB_B_MYPAYSTUBSfor adding data to the list cells and for extra information while printing, downloading or showing the PDF. The description pages do not say which form tool produced the PDF, so check this for your release before you promise a layout. -
My Forms (Fiori 2.0): an app that lists the HR form types available to the employee for the country of employment, including the remuneration statement and the time statement, and shows, downloads and prints a PDF of the chosen form. The form types can be SAP’s or defined by the employer.
-
Salary Statement (Web Dynpro ABAP,
HRESS_A_PAYSLIP): a list of amounts and information for a selected period, output as PDF, based on a salary statement made inHRFORMSorPE51. It needs the business functionHCM_ESS_WDA_1.
Ana would open My Paystubs or My Forms, find the March 2026 period, and see the PDF whose amounts come from the payroll results: gross 4,000.00 EUR, social contributions 800.00, tax 480.00 and net 2,720.00. For the surrounding apps and the roles that give access, see the page on employee and manager self-services.
What can go wrong
| Symptom or risk | What the documentation says |
|---|---|
A form that was imported by transport does not print |
The imported form is inactive. Activate it in the target system, or use the BAdI |
A changed MetaNet or an SAP change does not show in an existing form |
Existing forms stay active. Activate them again. SAP gives the need in a note or release note. |
Data disappeared from the form after switching the catalog |
Changing the MetaNet of a form deletes the data that the new MetaNet does not contain. |
The printed form changed completely |
The form class decides catalog and data. Changing it can change the print a lot, so save a copy first. |
A delivered form was overwritten by a Support Package |
Standard forms must not be modified. Copy them to the customer namespace. |
Time statement cannot be opened in |
The HR Form Editor does not support the time statement classes |
No layout for a customer table or infotype |
Provide the data in the HR Metadata Workplace first, then select it in the Forms Workplace. |
What older books show, and what has changed
The book SAP ERP HCM: Technical Principles and Programming, 1st edition (2013), devotes a chapter to the HR Forms Workplace. It covers the same ideas as this page: a MetaNet and its dimensions, stars and figures, creating a custom payslip from a copy of a standard one, activating it, calling the print program for regular and off-cycle payroll, and using the Form Builder for the layout. It describes the tool in the world of SAP ERP and the SAP NetWeaver Portal. Since then the tool has become part of HCM for SAP S/4HANA, which is separately licensed and, from S/4HANA 2025, no longer runs in compatibility mode. The employee side now includes the Fiori apps My Paystubs and My Forms, next to the Web Dynpro ABAP Salary Statement application. The book also shows details this page does not repeat because the current documentation does not confirm them, such as an infotype that marks employees who read payslips online so that their paper copy is skipped, and a BAdI list under the Utilities menu. Check each in the system documentation of your release before relying on it.
Summary
-
A payslip is made in two steps: payroll stores results, and an HR form reads them and lays them out. Ana’s March 2026 numbers (gross 4,000.00, social 800.00, tax 480.00, net 2,720.00) never change in the form.
-
The HR Forms Workplace, transaction
HRFORMS, selects data from a catalog (MetaNet) into the InfoNet of one form, generates a dictionary structure, a form definition and a print program, and prints. -
The form class fixes what data a form can use, so payslips and time statements are different forms.
-
Copy a delivered form to a
Zname and activate it again after every transport and after metadata changes. -
The older HR Form Editor (
PE51) remains for forms of the classes it supports; a form must be edited with the tool that made it. -
Employees read the PDF in My Paystubs, My Forms or the Web Dynpro ABAP Salary Statement.
References
-
HCM for SAP S/4HANA, separate license and compatibility mode
-
SAP ERP HCM: Technical Principles and Programming (publisher page; the 2nd edition is listed, the 1st edition 2013 was consulted for concepts)