Sunteți pe pagina 1din 9

SAP Audit Guide

for Human Resources


This audit guide is designed to assist the
review of human resource processes that
rely upon controls enabled in SAP systems.

The specific areas examined in this guide are relevant


configurables, transactions, authorizations and reports
in Personnel Management and other sub-modules in
the Human Capital Management (HCM) application of
SAP ERP.

The guide provides instructions for assessing


application-level controls in the following areas:

HR Master Data

Time Management

Travel Management

Payroll Processing

Employee Self Service

The guide is delivered using clear, non-technical terms


to enable financial and operational auditors to
successfully navigate the complexities of SAP security.
Other volumes of this guide deal with SAP controls in
areas such as Financial Accounting, Revenue,
Expenditure, Inventory, and Basis.

HR Master Data

Organizational and employee-level master data is


maintained through the Personnel Management
module in versions 4.6 and above. HR-related data
fields are grouped and controlled in this module
through records known as infotypes. There are multiple
infotypes, each identified through a unique four-digit
code. Examples include Personal Data (0002) which
contains fields for an employee’s first name, last name
and date of birth, among other areas. Codes between
0000 – 0999 are assigned to HR/payroll data, 1000 –
1999 are used for organizational data, and 2000 –
2999 are used for time-related data. Infotypes can have
numerous subtypes and, since HR data is time-
dependent, an employee can have multiple records for

Human the same infotype. The complete list of infotypes


configured in SAP can be viewed through the menu
path IMG - Personnel Management - Personnel

Resources Administration - Customizing Procedures - Infotypes.


Access to master data should be configured at the
infotype level and correspond to role requirements.
SAP Audit Guide
Within each SAP client, company codes are usually
configured with several personnel areas and sub-areas
2
and Employee groups and sub-groups. These areas and AUTHC = * and PSIGN = I (Include) will grant read access
groups control wage types, pay scales, default values for to all personnel records for infotypes specified in INFTY,
basic pay and other critical areas of employee master data. regardless of exclusions for the same infotypes configured
The enterprise structure including specific settings in through other authorizations.
personnel areas and employee groups within each
Consideration should be given to implementing dual control
company code should be closely reviewed using
over master data changes. This can be achieved by
transaction EC01. Furthermore, a sample of master records
preventing changes in master records entered by one set
should be reviewed to ensure that employees are assigned
of users from taking effect until they are released by
to the correct areas and groups.
another set of users with the appropriate authorizations.
Master records should also be reviewed to ensure The latter group should have the authorizations to release
employees are assigned to the appropriate health, changes but should not be able to enter master data.
insurance, savings and other benefit plans. Configured
plans and associated rules should be reviewed through
IMG – Personnel Management – Benefits. Time Management
To safeguard against the risk of duplicate employees in the Time-related data including working hours, absences,
system, SAP should be configured to compare information overtime and allowances can be pulled from external time
such as last name, first name and date of birth against recording systems or entered directly into SAP through
existing records during the entry of new employees. This is channels such as the Cross-Application Time Sheet (CATS)
performed through IMG – Personnel Management – function. CATS integrates directly with other components of
Personnel Administration – Customizing – Dynamic Actions SAP including Logistics and Project Systems through
– Activate Concurrent Employment for Personnel Business Application Programming Interfaces (BAPIs).
Administration. Once configured, SAP will automatically Accounting integration for time-data infotypes is enabled by
display possible matches against both active and inactive default but can be disabled through customization.
records. Therefore, the Infotype with Acct/ Logistics Data area of
IMG for HCM should be closely reviewed to ensure that
SAP should also be configured to provide a sufficient audit
integration is not deselected for any infotype. If Workforce
trail for changes to key infotypes. This is performed through
Management (WFM) is used to manage employee time
tables HR Documents: Infotypes with Documents
data, the mapping of SAP infotypes to WFM specification
(V_T585A), HR Documents: Field Group Definition
types should be reviewed in the WFM Core.
(V_T585B), and HR Documents: Field Group
Characteristics (V_T585C). Changes are displayed in report Time entry rules including validation checks, tolerances and
RPUAUD00 (Logged Changes in Infotype Data). controls for required, suppressed and optional fields are
configured and applied through CATS profiles. The settings
Access to key master data transactions such as PA10
for each CATS profile assigned to every user interface
(Personnel File), PA20 (Display HR Master Data), PA30
should be reviewed in the Time Sheet area of the Cross-
(Maintain HR Master Data) and PA40 (Personnel Actions)
Application Components area of IMG. Release procedures
and authorization object P_ORGIN should be restricted and
are also defined with each profile. Approvals can be
based on role requirements. Access should be qualified
triggered manually but SAP Business Workflow should be
with the P_PERNR authorization object which prevents
used wherever possible to support time sheet review and
users from changing specific infotypes in their own
approval. The attributes of workflows should be reviewed
personnel records. Write operations W, S, D and E should
through the Workflow Builder.
be specified in the AUTHC (Authorization code) field of the
P_PERNR object and the PSIGN field should be set to E Other areas of IMG that should be carefully reviewed
(Exclude). The infotypes that are subject to the exclusion include rules for Work Schedules, Time Data Recording
should be listed in the INFTY field. Users should not be and Administration, and Schemas in Personnel Time
granted inconsistent authorizations since this could Management. The last is particularly important since it
override any exclusions. For example, an authorization with impacts Time Evaluation.
This is an SAP function that detects potential errors in time-
related data entered during a pay period prior to processing.
Time Evaluation should be configured as a daily scheduled job.
Errors and warnings generated by the Time Evaluation report
RPTIME00 should be reviewed and resolved by administrators
before time data is transferred to payroll. This report displays
exceptions to rules configured in the schemas. Examples could
include employees or contractors that have reported more than
8 hours in a day or 40 hours in a week or registered more than
20 days of vacation leave. The Time Management Status in the
Planned Working Time infotype (0007) in every record for hourly
employees should not be set to zero since this will exclude
employees from Time Evaluation.

Access to the time management transactions listed in Table A


should be restricted, including the ability to approve timesheets,
which should be assigned exclusively to functional managers.
The dummy infotype 0316 is the authorization required for time
sheet entry. Infotype 0328 is required for time approval.

TRANSACTION DESCRIPTION

CAT2, CAT3 Time Sheet: Initial Screen

Time Sheet: Approve Times (Select


CAPS
by Master Data)

Time Sheet: Approve Times


CAT4
(Selection by Org. Assignment)

CAPP Time Sheet: Approve Times

PP61 Change Shift Plan: Entry Screen

PA61 Maintain Time Data

PA62 List entry for  additional data

PA63 Maint. time data

PA64 Calendar entry

PA70 Fast Entry (Time Data)

Table A: Time Management Transactions Master records


should not be
Time Management

SAP Travel Management uses workflow to track and approve


configured to
trip requests, book approved requests through integration with
external reservation systems, and record, reimburse and post exclude hourly
employees from
travel expenses. It performs an important control function by
enforcing compliance with travel policies. The relevant rules,
profiles and parameters for travel components should be
reviewed in IMG – Financial Accounting – Travel Management to
ensure alignment with travel policies and procedures.
time evaluation 3
Travel policies are maintained with
the TRAVEL_MANAGER role
4

Standard Travel Management roles should be assigned to


TRANSACTION DESCRIPTION
users. Most employees should be assigned the
SAP_FI_TV_TRAVELER role, which enables users to PRMM Personnel Actions
request trips, check travel services and enter travel
expenses. For organisations that opt for a centralized rather PRMD Maintain HR Master Data
than decentralized model, these tasks will be performed by
PRMS Display HR Master Data
a smaller group of users with the
S A P _ F I _ T V _ T R AV E L _ A S S I S TA N T r o l e . T h e PRAA Automatic Vendor Maintenance
MANAGER_GENERIC and ADVANCE_PAYER roles should
assigned to users responsible for approving trip requests, PRAP Approval of Trips
expense statements and/or advances. The
ADMINISTRATOR role should be closely safeguarded since PR02 Travel Calendar
it provides users with the ability to approve expense PR03 Trip Advances
statements for all travelers in the enterprise. The same rule
applies to the TRAVEL_MANAGER role which allows users PR04 Edit Weekly Report
to change configuration parameters for areas such as travel
policies and maintain HR master data. PR05 Travel Expense Manager

Travel expenses should be transferred to FI after approval PRCC Import Credit Card Files
for posting to the relevant GL accounts. This is performed
PRCCD Display Credit Card Receipts
through transactions PFRI (Create Posting Run) and PRRW
(Manage Posting Runs). Payments can be processed TPMM Personnel Actions (Travel Planning)
through payroll, check or direct deposit. Transactions
PRDX, PRD1 and FDTA are used for direct deposit, PRPY Maintain HR Master Data (Travel
TPMD
for payroll and PRCU for check printing. Other significant Planning)
transactions are listed in Table B.
Display HR Master Data (Travel
TPMS
Planning)

TP01 Planning Manager

Table B: Travel ManagementTransactions


5

Payroll Processing

Master data should be locked during a payroll run to discrepancies. These include reports RPCEDT00 (Payroll
prevent any changes. This is performed through Payroll Exceptions), RPUAUD00 (Logged Changes in Infotype
Control Records, accessed through transaction PA03 Data) and RPURECG0 (Payroll Results).
(Maintain Personnel Control Record). Each pay area has an
Advances, bonuses, corrections and other forms of
individual control record. The payroll period selected as the
payments or deductions outside scheduled payroll runs are
basis for the control records should be set to the period
processed through the Off-Cycle Work Bench (transaction
immediately before the live period. Also, the maximum
PUOC) for individual employees or through batch input
number of past periods that are open for payroll
using the One-Time Payments Off-Cycle infotype (0267) for
adjustments should be appropriately set in the Earliest
multiple employees. Reason codes should be configured
Retro Acctq Period field. Note that SAP uses the earliest
and consistently applied for all payments. Furthermore,
personal retroactive accounting date set in the Payroll
procedures should be in place to ensure that off-cycle
Status infotype (0003) in each employee master record if
functions are used to process and record payroll data for
this does not match the date set in the control record.
manual checks created outside the system.
Payroll control records can be used to determine which
SAP Payroll integrates into the FI AP payment program for
employees were included and rejected in the last payroll
check printing and Automated Clearing House (ACH)
run. The latter group can be identified by selecting Incorrect
transfers. The latter is performed through Payroll – Bank
Pers. Nos. and Locked Pers. Nos.
Transfer – Pre DME Program. DME is an acronym for Data
The ability to enter or update certain infotypes during a Medium Exchange. This process creates a preliminary DME
payroll run through transactions such as PAKG/ PAUX file that should be validated by management before the final
(Adjustments Workbench) should be restricted. The file is generated in CEMTEX format and transferred to a
employee remuneration information infotype should be designated processing bank. The Bank Deposit Summary
configured to prevent adjustments to wage types such as report should be sent to the bank along with the file to
salaries since any adjustment will override the value in the enable reconciliation. Payments methods and banking
master record. This should be performed through the IMG information are configured in IMG - Personnel
area Maintain Wage Types. Minimum and maximum values Administration – Personal Data – Bank Details – Define
can be configured for each wage type. The latter is highly Payment Methods and Payroll – Data Medium Exchange –
recommended. Rounding divisors for wage types should Preliminary Programs for DME – Set Up House Banks.
be reviewed to ensure they are configured appropriately
(divisors can be set anywhere between 1 and 100). The The above process will update the check register in FI AP
posting characteristics including time-dependencies for but will not update accounts in the General Ledger. This
wage types and month-end accruals should also be has to be manually performed through transaction PCP0
reviewed under account assignments. Wage types are (Edit Posting Runs) or through the menu path Payroll –
mapped to symbolic accounts which in turn are mapped to Subsequent Activities – Per Payroll Period – Evaluation –
GL accounts. Posting to Accounting – Execute Posting Run/ Process
Posting Run/ Check Completeness.
Gross and net pay calculations are performed by the
system based on processing rules known as personnel Payables to tax authorities, benefit providers and other third
calculation rules. These rules are grouped in schemas and parties should be transferred to AP for settlement through
can be adjusted through transactions PE01 (Maintain Payroll – Subsequent Activities – Per Payroll Period –
Payroll Schemas), PE01N (Editor for Payroll Schemas), Evaluation – Third Party Remittance.
PE02 (Maintain Calculation Rules), PE02N (Editor for PC
rules) and PE04 (Create Functions and Operations). Access
to these sensitive functions should be safeguarded.

There are a number of standard SAP reports that should be


reviewed by management during each payroll run to
confirm the validity of any adjustments and identify
6

Employee Self Service

Employee Self-Service (ESS) is a Web Dynpro (Java)


application that operates on the Enterprise Portal (EP). It
enables employees to maintain their personal information,
enter leave requests, update timesheets, display pay slips,
and perform other similar functions. Employees must be
assigned a user record in the J2EE with an appropriate role
to be able to use ESS. This is performed through the
HRUSER transaction or the menu path IMG – Personnel
Management – Employee Self-Service (ITS Version) –
General Settings for ESS – Create SAP Users for ESS.

Users should be a assigned single role from a copy of the


composite SAP_EMPLOYEE_ERP role provided by SAP
and should only have the ability to update their own data
for certain types of infotypes. Bank account information, for
example, should only be updated centrally by authorized
HR users. This should be configured through the P_PERNR
authorization object rather than P_ORGIN. The former
takes precedence over the latter. ESS users without
P_PERNR may be able to view and update records
belonging to other employees.
Layer Seven Security empowers organisations to realize the potential of
SAP systems. We serve customers worldwide to secure systems from
cyber threats. We take an integrated approach to build layered controls for
defense in depth

Address Web
Westbury Corporate Centre www.layersevensecurity.com
Suite 101 Email
2275 Upper Middle Road info@layersevensecurity.com
Oakville, Ontario Telephone
L6H 0C3, Canada 1 888 995 0993
© Copyright Layer Seven Security 2012 - All rights reserved.

No portion of this document may be reproduced in whole or in part without the prior written
permission of Layer Seven Security.

Layer Seven Security offers no specific guarantee regarding the accuracy or completeness of the
information presented, but the professional staff of Layer Seven Security makes every reasonable
effort to present the most reliable information available to it and to meet or exceed any applicable
industry standards.

This publication contains references to the products of SAP AG. SAP, R/3, xApps, xApp, SAP
NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and
services mentioned herein are trademarks or registered trademarks of SAP AG in Germany and in
several other countries all over the world. Business Objects and the Business Objects logo,
BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius and other Business
Objects products and services mentioned herein are trademarks or registered trademarks of Business
Objects in the United States and/or other countries.

S-ar putea să vă placă și