Auditing SAP Environment Final PDF
Auditing SAP Environment Final PDF
• CA Shirish Padey
• CA Heta Shah
• CA Mitesh Vora
• CA Kajal Shah
• CA Rakesh Lakhani
ICAI-Mumbai Branch
8th June,2019
Agenda
1. Introduction to Controls based Audit
2. Introduction to SAP
3. Accessing and Navigating SAP
4. SAP Organization
5. Review of IT General Controls (Other than BASIS)
6. Review of SAP BASIS
7. Validation of Automated Controls
8. Authorization Concept
9. Segregation of Duties
10. Data Migration to SAP
11. SAP Upgrade
12. Report Validation
13. JE Extraction and Analysis
14. Robotic Process Automation (RPA) in SAP
SESSION 1
• Absence of Printouts
• Voluminous data
• Difficulty in Ledger Scrutiny
• Difficulty in audit of “manual” journal
entries
1.4 Alternative?
• Reliance on IT General Controls
Introduction to SAP
2.1 SAP — What is it?
SAP is a German multinational software corporation
that makes ERP with regional offices in almost 140+
countries and has over approx. 437,000 customers in
180+ countries.
In German:
• Systeme, Anwendungen und Produkte in der
Datenverarbeitung
In English:
• Systems, Applications and Products in Data Processing
•Central Database
(Storage of all data)
•Access to Dataase:(Read /
Write data)
•Database
•Processing of data
using application logic
•Application
•Presentation of the
processed data to
the user
•Presentation
2.4 Transport System
•Change
•Request
Highly integrated
On-line, Real-time
Complex Data Structures
Causes business process changes
Causes organizational changes
Very sophisticated testing of functionality
and standard reports
In-Built Controls -
• Debit Credit tally
• Trail of all transactions entered
2.8 SAP Business one
• SAP Business one — for Small / Medium Enterprises
• To log on to an R/3 system with the SAP GUI, one need the
proprietary SAP GUI (Graphical User Interface) software
loaded on your system and an internet /network/VPN
connection
•System Number
•System ID
•Logical name of system
•Select
System:
•double-click or
•Logon button
3.6 Logging On
•Enter Client
•Enter User
•Enter Password
• When you log on, you will see either your user menu (specific to
your role), or the SAP standard menu (lists all transactions)
SAP
3.7 SAP Menus Standard
Menu
SAP User Menu
3.8 SAP Navigation: Using the System
• Clicking on the
menu option
• Enter a
transaction code
in the command
field
3.9 SAP Screen Components
•Title Bar
•SAP Menu
•Standard Toolbar
•Buttons
•Navigation icons
•Command Field
•Favorites
•Caution:
•Application Toolbar • on your
•Depending
GUI version,
•the screen may
•look different
•even if the SAP
•version is the
•same!
•Message Bar
•Status Bar
Questions?
SESSION 4
SAP Organization
4.1 SAP R/3 Organization Structure
4.2 SAP Organization
• Instance — One installation
• Client — At least one Client per Instance
• Company Code
• At least one Company Code per Client
• Generally a legal entity
• Trial Balance can be drawn at this level
• Cross Instance settings are not possible
• Cross Client settings are possible
• Cross Client consolidations are possible
• Some data can be defined at Client level, will apply
to all Company Codes of that Client
4.1 SAP Organization ……Contd.
• Business Area — across Company Codes
• Purchasing Organization
• Sales Organization
• Consolidations
Questions?
SESSION 5
The above procedures apply like-wise to any interfaces that have been
set-up with external applications
6.0 SAP NetWeaver / Basis
• What is SAP NetWeaver / Basis
• Role of SAP Basis team member
• IT Risks within SAP Basis
• SAP Basis review
6.1 What is SAP NetWeaver /
Basis?
SAP Application
Database
Operating System
Hardware
6.1 What is SAP NetWeaver /
Basis?
• NetWeaver is a toolkit used to enhance business
functionalities delivered by SAP components.
• Often interchangeably referred to as SAP Basis
(reference to the original toolkit that was the
foundation of SAP R/3).
• Act as a filter between the actual business logic in SAP
R/3 and the specifics of the operating system and
database underneath.
• SAP business programmers could focus on writing
business logic and not have to worry whether or not it
would work on the various permutations of hardware,
operating system and/or database.
6.2 Role of SAP Basis team member
• Activities that an SAP NetWeaver System
Administrator does day-to-day, include:
– create users/assign roles (within SAP)
– run backup
– check db/os space utilization, add space if
necessary
– install SAP software, configure SAP parameters
– monitor CPU/Memory/disk space/performance
– configure connectivity between SAP components
or SAP/non-SAP components
– SAP software change management (i.e. Transport
Management).
6.3 IT Risks within SAP Basis
• Critical system administration access is not appropriately
restricted, e.g.
– super-user access across the application
– creating/modifying user access and roles
– direct access to data through table maintenance
– opening production (live) system for making direct changes
– applying tested and approved changes to the production
system
– access execute programs directly in production system
– access to execute operating system and database commands
– access to application activity logs
– access to manage interfaces with other applications
– access to modify system parameters (passwords, logging,
etc.)
6.3 IT Risks within SAP Basis
• Conflicting accesses not appropriately segregated,
e.g.
– access develop/code a change AND implement it in
the production system
– developers have access to production environment
• Posting Block
• Organization Structure :
Client Company Code Sales Area Plant
• Master data :
- Customer Master Data at Client, Co Code and Sales Area level
- Pricing master data at Sales Area level
- Credit Limits Key T-Codes
• Sales Orders processing
• Delivery and Post Goods Issue processing XD01 – Customer Masters
• Sales Invoice processing VK11 – Price Masters
VA01 – Sales Order
• Credit Block and release
VL01 – Delivery
• Release of Sales Invoice for accounting VF01 – Sales Invoice
• Receipt of Money
• Ageing of Receivables Review
7.2 Order to cash
Key Automations
Order
7.3 Procure to Pay
Key sub-processes
• Organization Structure :
Client Company Code Purchase Org Plant
• Master data :
- Vendor Master Data at Client, Co Code and Purchase Org level
- Purchase Info records for Vendor and Materials
- Material masters
• Purchase Orders processing Key T-Codes
• Purchase Order Release
• Goods Receipts processing XK01 – Vendor Masters
MM01 – Material Masters
• Vendor Invoice processing ME21N – Purchase Order
• Three way match MIGO – Goods Receipt
• Release of Blocked Vendor Invoices for payments MIRO – Vendor Invoice
• Payments F110 - Payments
7.3 Procure to Pay
Key Automations
• All Vendor Masters are assigned Recon GL Accounts
• 3 way match indicators are appropriately set in Purchase Orders
• All Purchase Orders subject to release in SAP
• Goods Receipt cannot be processed in excess of Purchase Order quantity
• Vendor Invoice cannot be processed in excess of Goods receipt
• Prices in Vendor Invoice not changeable and defaults from Purchase Order
• Tabs in invoice for differential amount posting should be inactive
• Vendor not changeable in invoice
• Automated GL determination for Goods Receipts and Vendor invoices
• Duplicate Invoice check
• Automated payments accounting
• Payments to Alternate Payees
• Access to release Purchase Orders is restricted
• Access to release blocked invoices is restricted
• SOD between PO create and PO release
• SOD between Vendor Masters and Payments processing
• Purchase Order Approval
• Account determination
7.4 Manufacture to Inventory
Key sub-processes
• Organization Structure :
Client Company Code Plant Storage Location
• Master data :
- Material Master Data – Basic, Accounting, Costing, Plant, Sales Views
- Bill of Material
- Routing Key T-Codes
• Consumption processing
• Production order processing MM01 – Material Masters
• Other goods movements CS01 – BOM
CA01 – Routing
• Inventory valuation
MB01 – Goods Movements
7.4 Manufacture to Inventory
Key Automations
1 0000
• Depreciation Posting to GL
Questions?
SESSION 8
Authorization Concept
8.1 Users and Authorization Concept
Users must be setup
and roles assigned to
user master records
before you can use the
SAP System.
Profiles that come delivered with the system or were created from scratch can be
assigned directly to users.
Profiles that were created for a Role are attached to that Role cannot be assigned
directly. You must assign the Role and the system will then assign the user the
correct Profile.
In SAP systems, users are typically assigned the appropriate roles / profiles by the
security team
8.4 Authorization Objects
Authorization Objects are the keys to SAP security
When you attempt actions in SAP the system checks to see whether you
have the appropriate Authorizations. (AUTH CHECK Statement)
Example 1 Example 2
Value 1 01 02
(Create) (Change)
Roles Profile
Authorization
Menu items Authorization
object
USOBT_C
USOBX_C
Authorization Authorization Authorization
(SU24)
data field values object fields
8.8 Mechanism of Access Control
•
Segregation of Duties
9.1 SOD - Impact on Audit
SOD Conflict Risks
• Business Process Review controls may not address the risk of SOD conflicts.
• Extracting data for such transactions can be done using SAP standard tables
• Risk of multiple user id being used by the same person. E.g. Generic user ids,
Sharing of passwords.
IT Assets
• Hardware, Software, Data, related infrastructure
Data Migration
• A process of moving data from one data structure
to another. It is required when any organisation
replaces Application or Database system
Objectives of Migration Audit
• Data Integrity
• Control Adequacy
• Business Continuity
• Effectiveness
SAP Migration- Phases
• Vendor Selection
• Process Re-engineering
• Change Management
• Data Migration
Data Migration to SAP - Process
• Determining Source and Target Data Formats
• Data Mapping (Mapping A/c Balances etc.)
• Data Conversion/cleansing
• Business Sign-off
• Data Conversion program
• Test plan and Test Data
• Data Validation and Reconciliation
• Integration Testing
• Promote to Production
• Data conversion Execution
• Data Validation
• Final Signoff by all stakeholders
Data Migration to SAP – Key Points
• Addressing Open PO’s Open, SO’s etc.
• Uploads through T-Code “LSMW” or
“LTMC” if migrating to S4 HANA
• Scrutinize the “Data Migration Account”
• Sign-Offs
• Archival of Legacy
SESSION 11
SAP Upgrade
SAP Upgrade
• SAP does not support earlier versions.
Report Validation
12.1 Report Validation
• Reports may be Standard or Customized
• Customized Reports begin with Y or Z
• “System-dependent Manual Controls” also
rely on Reports from SAP.
• Identify source of the Report – SAP or BW
Report?
12.2 Reports – Impact on Audit
• In case ITGC are reliable -
– Standard Reports may be relied upon in case
of no change in the design/logic of the
standard report. Need to establish there is no
change.
– Logic of Customized Reports (beginning with
Y or Z) should be validated, either through
white-box or black box testing
– Ensure appropriateness of Input Parameters
12.2 Reports – Impact on Audit -contd..
• In case of inadequate ITGCs, additional
procedures will be required to determine
completeness and accuracy of the data
• Generally detailed substantive testing of
reports is done to ensure completeness
and accuracy of reports
• We may be able to leverage on testing
performed by the client
SESSION 13
– Back-dated entries
– Transactions passed by IT users
– Materiality overall and for specific accounts
– Unusual Account Combination/Passed at
unreasonable times
Questions?
Session 14
Benefits of Automation
– Efficiency
– Standardization
– Manual Errors Elimination
– Repetitive Task
Automation Journey
Stages of Implementation Technology
Process Scanning
Business Process Automation
Reporting Level
e.g. Auto scheduling and emailing of MIS reports
Governance Level
e.g. Configurable controls and Data Analysis testing
automation
RPA in SAP
Configurable Controls
Three way match in ERP
Duplicate Invoice check etc.
Data Analysis
Vendors not used for more than 1 year deactivated in
system
Purchase Orders created and released by the same user
Purchase Order creation/change vs. GRN or Invoice
Duplicate vendor masters in system
Potential Duplicate Invoices etc.
THANKS