• Blog
  • How to Audit an SAP System in 2026: A Step-by-Step Guide

How to Audit an SAP System in 2026: A Step-by-Step Guide

How to Audit an SAP System in 2026: A Step-by-Step Guide

An SAP system audit is a structured review of an SAP environment’s user access, configurations, logs, and controls to verify security, compliance, and segregation of duties.

Key Takeaways

  • An SAP audit follows six structured steps: scope definition, user access reconciliation, audit log review, configuration testing, compliance assessment, and findings reporting.
  • Auditors set materiality thresholds by transaction volume, financial exposure, or data sensitivity, then sample high-risk transaction codes rather than testing every record.
  • The SAP Security Audit Log (SM19/SM20) must be configured before review begins; without it, findings lack a supporting evidence trail that compliance reviewers will accept.
  • Segregation-of-duties validation must flag users who can both initiate and approve the same transaction, documented with specific user ID, role, and transaction code.
  • Every scope decision must be documented with a rationale tied to specific risk criteria, not general assumptions, regardless of organization size.

SAP audits are sprawling. Scope creep, access control gaps, and log volumes that bury the findings that matter most make it hard to know where to start, or whether you’ve actually covered what regulators and leadership expect. This guide delivers a practical, step-by-step walkthrough for planning and running a complete SAP system audit in 2026, covering scope definition, user access, segregation-of-duties checks, audit log review, configuration compliance, and findings reporting. We cover the full six-step audit process first, then walk through four critical SAP landscape controls: configuring the Security Audit Log, scheduling follow-up audits, building a transaction checklist tailored to your system, and locking developers out of production.

How to Audit an SAP System: A 6-Step Process

An SAP system audit follows six structured steps that move from scope definition through evidence collection to reported findings.

Every SAP audit, regardless of organization size or auditor role, must establish a defensible, risk-based scope, validate segregation-of-duties controls, and produce documented evidence that satisfies both internal stakeholders and external regulators. The six steps are:

  1. Define audit scope and materiality thresholds
  2. Reconcile user access certifications and segregation-of-duties matrices
  3. Review SAP audit logs for suspicious activity
  4. Test configuration controls and internal controls integrity
  5. Assess compliance against applicable regulations
  6. Report findings with a remediation roadmap

Defining Audit Scope Across the SAP Landscape: Risk-Based Transaction Sampling and Materiality Thresholds

Start by mapping your SAP landscape to the compliance obligations that govern it. Internal auditors conducting compliance audits should align scope directly to regulatory frameworks such as SOX, the General Data Protection Regulation (GDPR), and applicable local data privacy laws. That mapping determines which SAP modules, transaction codes, and business processes carry the highest inherent risk and therefore anchor the audit scope.

Risk assessment drives sampling. Auditors set materiality thresholds by transaction volume, financial exposure, or data sensitivity, then sample high-risk transaction codes rather than testing every record. The table below shows how scope criteria shift by audit context:

Audit Context Scope Anchor Sampling Priority Typical Cadence
Compliance audit (SOX/GDPR) Critical SAP tables mapped to regulatory requirements High-risk transaction codes; timestamped audit trail evidence Annual with event-triggered mid-cycle reviews
Operational audit (Basis admin) Multi-landscape consistency (dev/test/prod) Configuration change logs; access provisioning records Semi-annual or change-velocity triggered
Security audit (IT security team) Authentication and authorization controls Privilege escalation events; role conflict matrix Quarterly or continuous monitoring
Small/mid-market shipper Highest-risk modules only Standardized checklist procedures; industry benchmarks Quarterly to annual

Enterprise organizations with a complex SAP landscape should establish a formal governance structure that coordinates scope across systems and functions. Smaller organizations should concentrate scope on the most common SAP findings for their sector and reserve mid-cycle audits for significant system changes or suspected violations. Regardless of size, every scope decision must be documented with a rationale tied to specific risk criteria, not general assumptions.

Reconciling User Access Certifications in the SAP Landscape With Active Directory and Segregation-of-Duties Matrices

Pull the current user access certification list from SAP and cross-reference it against Active Directory to identify accounts that are active in one system but terminated or dormant in the other. Unreconciled accounts represent a direct access control failure and a data security exposure that regulators treat as a material finding.

Segregation-of-duties validation is the next control layer. Internal auditors should test for role combinations that allow a single user to initiate and approve the same transaction, a classic segregation of duty conflict that undermines internal control integrity. IT security professionals should extend that analysis to privilege escalation paths and unauthorized transaction execution risks.

Key activities at this step include:

  • Comparing SAP role assignments against the approved segregation-of-duties matrix
  • Flagging users who hold conflicting transaction code authorizations
  • Identifying orphaned or over-provisioned accounts that violate least-privilege policies
  • Documenting each access risk finding with the specific user ID, role, and transaction code as evidence

SAP Basis administrators performing operational audits should also verify that access provisioning controls are consistent across development, test, and production environments. A role that exists in production but was never formally approved in the change management process is a vulnerability, not a configuration artifact. Every finding at this step must be recorded with enough specificity to support remediation tracking and to satisfy an external auditor reviewing the audit trail.

SAP Landscape: Configuring the Security Audit Log to Track Critical Security Events

Configure the SAP Security Audit Log before you review a single transaction. Without it, your audit has no reliable record of who did what and when.

The Security Audit Log (transaction SM19/SM20) is the primary source of evidence for access control reviews, segregation of duty violations, and incident response investigations in any SAP system audit guide. FreightOptics works in transportation, but the principle applies universally: you cannot manage what you cannot see. Internal auditors who skip this configuration step produce findings with no supporting trail, which compliance reviewers and external auditors will reject. Activate the log in every system tier (development, quality, and production) because attackers and insiders exploit gaps in non-production environments too.

SAP Security Audit Log: What the SAP System Audit Guide Requires You to Capture

A complete sap system audit guide mandates that the Security Audit Log records at minimum four event classes: dialog logon attempts, RFC calls, report starts, and changes to user master records. These four classes surface the access control failures, privilege escalations, and data integrity breaches that risk assessment frameworks flag as critical. Configure filters in SM19 to capture events for all users, not just privileged accounts, because segregation of duty violations frequently originate from standard user accounts with accumulated permissions. The table below maps each event class to the audit objective it satisfies and the regulation that requires it.

Event Class SM19 Filter Code Audit Objective Relevant Regulation
Successful/failed dialog logons AU1, AU2 Access control verification GDPR Art. 32, SOX ITGC
RFC/BAPI calls AU3 Cross-system data flow tracing Data protection, GDPR
Report and transaction starts AU5 Segregation of duty evidence SOX, internal control frameworks
User master record changes AU6 Privilege change audit trail Data privacy laws, ISO 27001
System configuration changes AU7 Internal control integrity SOX, GDPR, sector regulations

Internal auditors should verify that filters are set to “Dynamic” so changes take effect without a system restart, and that the “All Clients” checkbox is active to prevent client-level blind spots.

SAP Landscape Retention Policies: Establishing Baseline Archival Procedures for Audit Log Data

Retention policy is not a storage decision; it is a risk management and data protection decision with direct compliance consequences. Most data privacy laws, including the General Data Protection Regulation, require organizations to retain security event records long enough to support incident response and regulatory inquiry, while also limiting retention to what is necessary under data minimization principles. Set the Security Audit Log retention period in SM19 to align with your longest applicable regulatory window, then archive older files to a write-once storage target to preserve data integrity.

Follow these baseline archival procedures:

  • Define retention tiers: Keep 90 days online in the SAP system for active auditing, 12 months on near-line storage for internal audit review, and up to 7 years in cold archive for regulatory compliance.
  • Automate archival jobs: Schedule background jobs using SAP Basis procedures to move log segments nightly, eliminating manual gaps that create vulnerabilities in the audit trail.
  • Protect archive integrity: Apply checksum validation at write time so any tampering with archived logs is detectable during future auditing cycles.
  • Document the policy formally: Record retention rules in your policies and procedures library and link them to the relevant data protection and SAP Risk Management frameworks so internal auditors can cite them during fieldwork.
  • Test recovery annually: Run a disaster recovery exercise that restores archived log segments into a sandbox environment to confirm the data remains readable and complete.

Skipping formal archival procedures is one of the most common findings in SAP audit management reviews, and regulators treat missing log data as evidence of inadequate internal controls rather than a simple oversight.

SAP Landscape: Scheduling Regular Follow-Up Audits to Maintain Ongoing Compliance

Schedule follow-up SAP system audits at least annually, with targeted mid-cycle reviews triggered by specific risk events rather than arbitrary calendar dates.

How Often SAP Landscape Audit Cycles Should Run, and What Forces a Mid-Cycle Review

An annual full-scope SAP system audit satisfies most compliance mandates, including SOX, GDPR, and ISO 27001 control cycles. Mid-cycle audits are not optional when specific triggers occur. Internal auditors who wait for the annual cycle after a triggering event expose the organization to undetected control failures, data integrity gaps, and regulatory penalties.

Trigger a mid-cycle audit when any of the following occur:

  • A major SAP release upgrade or support package stack update changes system behavior or access control logic
  • A merger, acquisition, or entity restructuring alters business processes and role assignments
  • A data breach, cybersecurity incident, or failed incident response exercise surfaces new vulnerabilities
  • Segregation of duties conflicts are flagged in SAP Risk Management or SAP GRC Process Control outside a scheduled review
  • A new data privacy law or amendment to the General Data Protection Regulation takes effect that changes data protection obligations
  • Internal audit or an external regulator issues a finding that requires remediation verification before the next annual cycle

The Three Lines of Defense model assigns ongoing monitoring to the first line, periodic testing to the second, and independent assurance to the third. Mid-cycle audits are the third line’s mechanism for validating that first-line controls held after a change event.

Trigger Type Recommended Response Window Audit Scope
SAP upgrade or transport release Within 30 days of go-live Access controls, segregation of duties, configuration baselines
Data breach or security incident Within 5 business days Data security, audit log completeness, incident response controls
Regulatory change (GDPR, sector rule) Before the regulation’s effective date Data protection, sensitive information handling, policies and procedures
Org restructuring or role reassignment Within 60 days of cutover User access, segregation of duties, authorization objects
GRC flagged SoD conflict Within the quarter Affected roles, compensating controls, risk assessment documentation

Building a Multi-Year Audit Roadmap That Aligns Mandates, Change Calendars, and Criticality Rankings

A multi-year audit roadmap reduces audit fatigue and ensures that high-criticality SAP systems receive proportionally deeper coverage than lower-risk components. Start by ranking every system in the SAP landscape using a risk assessment that scores data sensitivity, transaction volume, regulatory exposure, and disaster recovery classification. Assign annual full audits to Tier 1 systems and biennial audits to Tier 2, with continuous control monitoring filling the gaps.

Map each audit window against the organization’s change calendar so that internal auditing activity follows, rather than conflicts with, major transport releases. Align roadmap milestones to external compliance deadlines: SOX testing windows, GDPR accountability reviews, and sector-specific regulation renewal dates. Review and rebase the roadmap annually, because SAP landscape complexity changes as new integrations, cloud extensions, and data collection pipelines are added.

SAP Landscape: Using a Tailored Transaction Checklist Specific to Your System Configuration

Map your SAP landscape before you open a single transaction log. A tailored transaction checklist tied to your actual system configuration stops audit scope from drifting and keeps every finding traceable to a specific environment, module, and control owner.

SAP Landscape Coordination Across Dev, Test, and Production Environments

Treat development, test, and production as three distinct audit subjects with different risk profiles, not three copies of the same system. Production holds live financial data and personal data subject to data protection obligations including the General Data Protection Regulation, so every access control finding there carries direct compliance weight. Development and test environments carry a different risk: they often run with relaxed segregation of duties controls and may contain copies of production data, creating data security and data privacy law exposure that internal auditors routinely underestimate.

Coordinate across environments using this approach:

  • Production: Full audit scope. Review user access, segregation of duties, change transport logs, and configuration. Every finding links to a live business process and a named control owner.
  • Quality/Test: Confirm no live personal or sensitive information is stored without masking. Verify that transport approvals from test to production are documented and authorized.
  • Development: Check that developer access does not extend into production. Confirm that no direct production changes bypass the transport management system (TMS).
  • All environments: Reconcile user lists across landscapes. A user deprovisioned in production but still active in development is a real access control gap and a risk management finding.

The key audit difference per environment is consequence: a configuration error in development is a vulnerability; the same error in production is a compliance violation.

Critical SAP Tables, Modules, and Transaction Codes in an SAP Landscape Audit

The table below maps the highest-risk areas of an SAP landscape to the specific transaction codes and tables an internal auditor should pull first during a risk assessment.

Audit Focus Transaction Code / Table Why It Matters
User access and roles SU01, SUIM, AGR_USERS Identifies active users, role assignments, and segregation of duties conflicts
Authorization objects SU53, AUTH_CHECK_FLTR Surfaces unauthorized access attempts and failed authorization checks
Change document log SCU3, SE16 on CDHDR/CDPOS Provides data integrity evidence for configuration and master data changes
Financial posting controls FB03, BKPF/BSEG tables Validates that journal entries match approved business processes
Transport management STMS, SE10 Confirms all production changes passed through authorized transport requests
System log and security audit log SM20, SM21 Supports incident response review and detects unauthorized system activity
GDPR and data privacy SCPF, SWNCONFIG Confirms data collection, retention, and deletion rules meet data protection requirements

Prioritize the security audit log in SM20 above all others. SM20 records logon failures, authorization violations, and RFC calls, giving internal audit a timestamped, append-style trail that supports both risk management reporting and regulatory compliance evidence. Pull SUIM next to map every role that contains a financially sensitive transaction code, then cross-reference against the segregation of duties matrix your GRC team maintains.

SAP Landscape: Confirming Developers Lack Direct Production Environment Access

Developers must not have direct production access in SAP. Confirm this by reviewing transport routes and user authorizations in each system tier.

SAP Landscape Audit Approach Across Dev, Test, and Production Environments

A multi-system SAP audit requires a distinct scope for each landscape tier. Development systems carry the highest change risk; test systems validate those changes; production systems hold live business data and require the strictest access controls. Treat each tier as a separate audit object with its own risk profile.

Start by mapping the transport landscape using transaction STMS. Confirm that changes flow only through approved transport requests, never through direct production modifications. Document which users hold authorization object S_TRANSPRT in each system, and flag anyone in production who also holds developer roles in development.

Use this table to anchor your audit approach per environment:

Environment Primary Audit Focus Key Transaction Acceptable Direct Change Access
Development (DEV) Change management, code review SE38, SE80 Developers only, no production data
Quality/Test (QAS) Transport validation, test data masking SM37, SCC4 Testers, no live personal data
Production (PRD) Authorization, data integrity, audit logs SM20, SUIM, SU53 Basis admins via firefighter only

Data privacy laws including the General Data Protection Regulation require that production data containing personal information is never copied to development or test systems without masking. Verify client settings in SCC4 to confirm production client is locked against direct changes. Any deviation is a finding that carries both compliance and data protection risk.

SAP Landscape Segregation-of-Duties Violations and Remediation Steps

Segregation of duties violations in SAP occur when a single user holds conflicting authorizations that allow them to initiate and approve the same transaction. Run transaction SUIM to extract user-to-role and user-to-authorization mappings. Cross-reference those mappings against your organization’s SoD ruleset or an SAP Risk Management rulebook.

Common high-risk SoD conflicts to check:

  • Creating and releasing purchase orders (ME21N + ME29N in the same user)
  • Posting and reversing financial documents (FB01 + FB08)
  • Creating vendors and processing payments (FK01 + F110)
  • Administering user accounts and approving their own access (SU01 + role assignment)

When you find a conflict, document the user ID, conflicting roles, business process affected, and the period the conflict existed. Internal auditors should recommend one of three remediation paths: role redesign to remove the conflicting authorization, compensating controls such as mandatory supervisory review of flagged transactions, or a formal risk acceptance signed by the process owner.

Remediation timelines matter. Production SoD conflicts affecting financial reporting or sensitive information should be resolved within 30 days. Lower-risk conflicts in non-financial processes can follow a 90-day remediation plan with documented compensating controls in place during that window. Track all open items in your audit management system to close the internal control loop.

Frequently Asked Questions

What is SM19 tcode in SAP?

SM19 is SAP’s Security Audit Log configuration transaction. We use it to activate, filter, and manage audit profiles that record security-relevant events: failed logins, authorization errors, and critical transaction executions. Every SAP audit guide treats SM19 as a baseline control. Without an active, correctly scoped audit profile here, you have no reliable event trail to support compliance reviews or incident investigations.

What are the common SAP audit findings and compliance gaps I should expect, and how do I benchmark my audit results against industry standards?

Common findings include excessive privileged access, inactive security audit logs, missing segregation-of-duties controls, and unmonitored RFC connections. To benchmark, map your results against SAP’s own security baseline, DSAG audit guidelines, and ISACA’s COBIT framework. A structured SAP system audit guide cross-referenced to these standards gives auditors a defensible gap score and prioritizes remediation by risk severity rather than volume of findings.

How do I coordinate a multi-system SAP audit across different landscapes (dev, test, production) and what are the key differences in audit approach per environment?

Production audits focus on access controls, change logs, and live transaction monitoring. Test environments require transport controls and data masking verification. Dev audits check that no real customer data is present and that developer access is time-limited. Coordinating across landscapes means aligning your SAP system audit guide scope to each environment’s risk profile, then reconciling transport logs to confirm only approved changes promoted to production.

How do I audit segregation-of-duties violations in SAP, and what remediation steps should I recommend when I find conflicting roles?

Pull user-role assignments via SUIM and map them against an SoD conflict matrix covering critical function pairs, such as purchasing and payment approval. When we find conflicts, remediation steps include role redesign to split functions, compensating controls like enhanced logging on dual-role users, and periodic access recertification. Document every conflict and its resolution with a timestamped audit trail to satisfy external auditors and internal compliance teams.

What are the most critical SAP tables, modules, and transaction codes I should audit to catch compliance violations and unauthorized configuration changes?

Prioritize tables AGR_USERS, USR02, and TSTC for access and authorization data. Review modules FI, MM, and Basis first. They carry the highest compliance exposure. Key transaction codes include SU01 for user management, SE16 for table access, SM20 for audit log review, and PFCG for role maintenance. Any SAP system audit guide should treat unauthorized changes to these as critical findings requiring immediate escalation.

Apply the Same Audit Rigor to Carrier Invoices

Carrier billing errors do not announce themselves. They accumulate quietly across invoices, modes, and billing cycles until they become a structural drag on margin. A rigorous sap system audit guide gives finance and logistics teams the framework to surface those errors, reconcile transportation spend against contracted rates, and build the audit trail that makes recoveries defensible. That process is repeatable and systematic, not opportunistic. Transportation Spend Intelligence means knowing where every dollar went and why it changed. You cannot manage what you cannot see, and you cannot recover what you never caught. The teams that treat freight audit as a continuous discipline rather than a periodic exercise are the ones who show up to carrier negotiations with data, not estimates.

Review your current freight audit process against the recovery opportunities we’ve documented across 38+ parcel and 200+ carrier integrations. Extend that review to warehouse and fulfillment charges with a FreightOptics 3PL audit.

Talk to Us About Transportation Spend

You're Overpaying on Freight Transportation Costs.

Tell us where freight or parcel costs are rising or where the numbers do not add up.

See Where Your Freight Spend Is Going