SAP Test Automation with Xiting

SAP test automation and modern SAP testing tools are essential for validating business processes, but they often fall short when it comes to authorization accuracy. Most SAP test automation tools focus on whether a workflow executes from end to end: they rarely reflect how roles and authorizations behave under real productive conditions. As a result, an authorization check in SAP may pass in a test system, while the same activity fails – or is over-authorized – in production.

Xiting closes this gap with a combination of SAP automation testing and productive data. The Productive Test Simulation (PTS) evaluates new and redesigned roles with real productive logic, without interrupting users or processes, and dramatically reduces manual effort when you check roles in SAP. In combination with a controlled deployment approach such as Protected Go-Live (PGL), organizations gain a more stable and predictable path for every SAP role redesign project – from initial design to go-live – supported by SAP testing tools for automation instead of spreadsheets and guesswork. 

Why traditional SAP role testing no longer fits modern projects

In many organizations, SAP role testing still looks very traditional. New roles are created in a development system, transported to a QA client and then handed over to business users who are asked to click through their daily work. The goal is to confirm that core processes still run and that every important authorization check in SAP passes in the test system. 

From a security perspective, this approach has clear limits: 

  • Test cases are often incomplete, and the way users actually work in production is very different from what they do in a scripted test.  
    As a result, an authorization check in SAP may succeed in QA but fail in the productive system, or the opposite: a user receives more access than intended because nobody had time to check authorization in SAP in all combinations of roles and org levels. 
  • At the same time, project teams are under pressure to move faster. When a SAP role redesign project is running in parallel with other initiatives, there is little room for repeated manual test cycles. Security and compliance teams still need to check roles in SAP regularly, run each critical authorization check SAP requires for sensitive transactions and document that they have done so. Without the right SAP testing tools, this quickly leads to long test phases, overloaded key users and a growing backlog of open findings. 

What is missing is a way to connect SAP test automation with the reality of productive usage. Instead of asking users to repeat artificial test scripts, organizations need a controlled way to let users work as usual and automatically record every relevant check authorization SAP performs in the background.
This is exactly the gap that Xiting’s Productive Test Simulation and Protected Go-Live address in the next sections.
 

Productive Test Simulation (PTS):
SAP test automation directly in productive landscape

Productive Test Simulation (PTS) is the core concept that makes SAP testing in production possible without putting operations at risk. Instead of letting users test in a separate system, Xiting lets them continue their normal work in the productive system while authorization and role checks are simulated and logged in the background. 

From a technical perspective, PTS acts as an SAP test automation tool that runs directly in the productive system. New or redesigned roles are prepared in XAMS and assigned to reference users. When a PTS session starts, these reference users are assigned to the respective dialog users. Missing authorizations for the reference users are logged, whereas dialog users can continue working uninterrupted, as they keep their previous roles. In other words, you can check authorization in SAP for a new role concept while day-to-day operations remain untouched. 

Every click they perform during a PTS session becomes part of your automated test set. Compared to manual test cycles, this approach saves significant effort and gives you much better insight into where to adjust roles and where to tighten access. Because PTS runs in the productive system, it offers a level of accuracy that generic SAP automation testing cannot reach on their own. 

Traditional SAP automation testing tools validate roles, but they usually do not reflect the final, productive authorization model. PTS closes this gap by recording each authorization check SAP performs against the simulated roles of the reference users and feeding this information back into XAMS for analysis and optimization.   

For organizations planning a large SAP role redesign project, PTS becomes the central SAP automation testing tool to validate the new concept before any risky go-live. 

How Productive Test Simulation (PTS) works in practice

In concrete terms, setting up Productive Test Simulation (PTS) in SAP follows a clearly defined sequence of steps that bring SAP test automation directly into the productive system and capture every relevant authorization check in SAP.

  1. Design new roles 
    New or redesigned roles are created using tools like Role Designer within XAMS. These roles follow the principle of least privilege and are prepared for assignment.
  2. Prepare reference users and Xiting Times 
    In Xiting Times, reference users that represent the new role concept are configured. The system is set up for Productive Test Simulation mode, including RFC connections, background jobs (e.g. collector jobs), and basic customizing.

    >> Check out now how to set up Xiting Times before running the PTS

  3. Start a PTS session 
    A business user in the productive system gets assigned a reference user in the background for the duration of several weeks. On the surface, nothing changes: the user keeps the old roles and logs in as usual and runs daily transactions – for example FB03, MM03, or their typical process variants.
  4. Authorization checks are simulated in the background 
    Every authorization check in SAP during that session is evaluated against the simulated roles. Missing permissions are logged (in a dedicated Xiting table in which the collected the trace data is stored) and later analyzed in Role Builder.
  5. Refine roles based on real usage 
    Security administrators use the simulation data to adjust role content, organizational values, and SU24 proposals. Instead of guessing what might be required, the system shows exactly which authorizations were needed and which ones caused issues. Helpful add-ons with predefined blocklists and allow lists highlight critical and required authorizations. 

Throughout this process, the productive system remains stable: missing permissions in the new roles do not block the user, because the simulation runs in the background and the old role assignments remain. Traditional manual test cycles are replaced with an automated, trace-driven feedback loop inside production. 

Benefits of Productive Test Simulation as an SAP testing tool

With PTS, SAP test automation for roles moves closer to how application testing is already done today: 

  • No process interruption: Testing runs in parallel to the productive system; newly created roles are tested automatically in the background while users continue their daily work.
  • Realistic coverage: Testing happens during real work, not in artificial scenarios.
  • Less test effort: Users don’t need separate test sessions; their daily work generates the test data, so business departments don’t have to allocate extra testing resources.
  • Higher precision: Instead of generic logs, you get clear, structured simulation data that feeds directly into SU24 so that proposal values can be adjusted based on real usage instead of guesswork.
  • Better control and compliance: Blocklist and whitelist functions help you enforce compliance requirements: critical activities can be explicitly blocked, while missing authorizations are suggested in a controlled way based on the productive test data.

Protected Go-Live (PGL):
Risk-free transition to a new authorization concept

Even with excellent test automation, the moment of truth is still the go-live. Especially in an SAP role redesign project, the biggest risk is simple: a user suddenly cannot perform a step because a permission is missing. That risk often leads to unwanted decisions – such as over-authorizing users or postponing necessary changes. Protected Go-Live (PGL) is Xiting’s answer to that problem. 

How Protected Go-Live (PGL) works

During a Protected Go-Live, the new role concept is activated, but the old roles don’t disappear completely. Instead, Xiting Times keeps them in the background as a controlled fallback: 

  • Users receive their new roles as planned. 
  • Their previous roles remain available as “backup” in the background assigned to the cloned reference users. 
  • If a user encounters a missing permission, they can temporarily reactivate their old roles for a predefined time period (e.g. 8 hours) – typically via a guided, self-service – to complete their task. 
  • Every use of the fallback is logged in detail so that security and audit teams can see exactly when, why, and for how long it was used.  

SAP Administrators then analyze the missing permissions, correct the new roles, and gradually reduce the need for the fallback. Once the role concept is stable, old roles can be removed in a planned, documented step. 

Why Protected Go-Live (PGL) matters for SAP role redesign projects

PGL directly addresses the main reasons why an SAP role redesign project is often postponed: 

  • Risk of production outages, because a missing authorization blocks critical processes.
  • Support overload, because IT has to react ad hoc to every missing authorization.
  • Low acceptance, because end users feel like “testers” during go-live. 

With PGL, you can check roles in SAP under real productive conditions and still guarantee a safe fallback. End users stay productive, while IT gains the time and data needed to refine the new roles. 

Xiting Times: The control center for PTS, PGL and Emergency Access

Both Productive Test Simulation (PTS) and Protected Go-Live (PGL) are orchestrated by the Xiting Times module in XAMS. While the technical setup includes details such as RFC connections, collector jobs and reference user maintenance, the functional concept can be summarized clearly.

Within Xiting Times, you configure:

  • Operation modes
    Typical modes include Productive Test Simulation, Protected Go-Live and Extended Access Management (emergency access / firefighter scenarios).
  • Reference users and mappings
    In Xiting Times, you assign reference users to productive users, start sessions and control when simulations or fallbacks are active.

Xiting refers to this as the “backpack principle”:
The reference user serves as a backpack for dialog users. Depending on the selected mode, Xiting Times is used to capture missing authorizations for the PTS or the PGL.

Image showing the Xiting backpack principle: Xiting Times assigns reference users with the new role as a backpack to productive users, while the old role remains active and Role Builder analyzes the collected simulation data.
Figure 1: Xiting “Backpack principle”
  • Jobs and trace collection
    Background jobs collect authorization traces from productive sessions, store them centrally and prepare them for analysis in Role Builder and other XAMS modules.

  • Approval workflows and runtime controls
    Depending on your governance requirements, you can define approvals, durations and conditions for PGL or extended access. This ensures that privileged access always remains transparent and audit-proof.

Where PTS and PGL deliver the most value

Organizations benefit most from PTS and PGL in scenarios with high complexity and high risk: 

  • SAP role redesign projects 
    Instead of building a separate test landscape, you validate the new role concept directly in the productive system with PTS and then switch safely using Protected Go- Live. 
  • SAP S/4HANA migrations
    New processes, Fiori apps and authorization concepts bring additional uncertainty. XAMS uses Productive Test Simulation to analyze the real impact of changes and to shorten test cycles significantly. 
  • Continuous improvement of authorizations
    Even outside formal projects, PTS sessions can be used selectively to test changes in sensitive areas, identify over-authorized users and refine roles based on actual usage. 

In all of these cases, SAP test automation becomes more than technical scripting. It turns into a continuous, data-driven feedback loop for your authorization concept. 

Key benefits at a glance

FAQ

What is SAP test automation in the context of authorizations?

In the authorization context, SAP test automation means that test cases for roles and permissions are no longer executed manually by users in a test system. Instead, tools like XAMS automate the evaluation of every authorization check in SAP during productive work.  Productive Test Simulation (PTS) is the core mechanism for this automated, trace-based approach.

Productive Test Simulation (PTS) is a unique form of authorization testing developed by Xiting. During a PTS session, users work in the productive system as usual, while their activities are evaluated against simulated roles in the background. Missing permissions are logged and analyzed without blocking the user. This allows organizations to identify and correct design issues in roles under real conditions and with minimal impact on operations. 

In a SAP role redesign project, it is crucial to ensure that new roles support all relevant processes without introducing security risks. PTS lets you validate the new role concept directly in production: users continue their daily work while the system tracks which permissions are actually needed. Based on this, you refine role content and organizational levels before switching fully to the new concept. Combined with Protected GoLive, this approach significantly reduces project risk and accelerates timelines. 

Protected GoLive is a concept where new roles are activated in production, but old roles remain available as temporary fallback. If a user encounters missing permissions, they can request or automatically trigger reactivation of their old roles for a limited time. All actions are fully logged. Administrators then analyze the missing authorizations, adjust the new roles, and gradually phase out the fallback. This minimizes the risk of process interruptions and increases end-user acceptance of the new authorization concept.

Xiting Times is the operational backbone for PTS, Protected GoLive, and emergency access scenarios. It controls when simulations run, how reference users are mapped, how long fallback roles are active, and which approvals are required. Integration with the XAMS module Role Builder turns Xiting Times into a central cockpit for automated role testing and controlled privileged access.

PTS does not necessarily replace all test systems, but it significantly reduces the need for manual regression testing in QA environments when it comes to authorizations. Technical changes, custom development and integrations will still be validated in non-productive systems. For role design and authorization checks in SAP, however, PTS provides much more accurate and efficient feedback by using real productive behavior as the test input. Additionallythe described functionality in Xiting Times can also be used in QA environments for daily business test requirements. 

Instead of manually running transaction by transaction to check roles in SAP, you use PTS sessions to collect detailed trace data in production. Role Builder processes this data, identifies missing authorizations, and helps optimize roles systematically. In addition, other XAMS components provide comprehensive analysis and reporting capabilities to continuously monitor the quality and risk profile of roles and authorizations.

Solutions

More Solutions of Xiting

Xiting Authorizations Management Suite

XAMS supports companies in their security projects by automating costly and time-consuming tasks, improving compliance adherence, and significantly reducing the risk of errors.

Xiting Security Platform

Discover the key use cases of the Xiting Security Platform (XSP) that will revolutionize your SAP security management with comprehensive coverage, seamless integration, and advanced analytics.

Xiting Content Portal

The Xiting Content Portal (XCP) is a SaaS solution that provides a central SAP risk repository and a user interface for the straightforward creation and management of rule sets, supported by a collaborative community approach.

Contact our experts

Melden Sie sich jetzt an!

Kontaktieren sie unsere experten