Hardening measures for handling SAP standard users are an integral part of the SAP security and audit guides. However, our consulting practice has shown that implementing these protective measures is a major challenge for businesses of all types and sizes.
To protect the standard users, SAP recommends reviewing certain criteria regularly. The official SAP Security Guide contains the following information:
Companies with complex SAP system landscapes face unique challenges because no one wants to risk production downtimes.
The following difficulties arise regularly when the DDIC user needs to be locked:
Do any of these problems and concerns sound familiar?
Here is a quick and efficient way to identify the use of user master records in batch job steps and correct the step users automatically.
Let’s assume you have been tasked with implementing the security recommendations for SAP standard users as described in the SAP Security Guide and want to lock these users. Due to the long operating history of the system, you’re not sure if the standard user DDIC might still be used in periodic batch jobs in application clients, for example. A hasty deactivation of the user in the application client could result in unwarranted interruptions to operations. This is why it’s important to identify critical batch jobs and correct the step users ahead of time – using automation where possible.
Step 1: Take stock of all affected batch jobs.
One lesser-known but useful function in recent SAP releases is the “Extended Job Selection” in transaction SM37. Previously, if you wanted to identify the step users, you either had to evaluate the tables TBTCO/TBTCP via query or use a custom ABAP program.
To identify the batch jobs, select transaction SM37, switch to “Extended Job Selection,” and then set the following filter settings:
Start the report:
Step 2: Create the new background users for the functions (such as BTCUSER200).
Step 3: Test the background functions to be rescheduled.
Step 4: Replace the DDIC step user in the affected batch jobs. Another little-known, yet efficient tool for mass change of batch jobs is the report BTC_MASS_JOB_CHANGE. It supports flexible changes to the following job properties:
To do so, set the selection parameters. [Tip: The report can also be run in test mode.]
Then run the report:
Test the success of the changes in transaction SM37:
The step user for the next run has been changed successfully from DDIC to BTCUSER200; the step user of job runs that are already complete remains unchanged by the conversion.
Pathlock’s Approach To RBAC & ABAC
Learn how Pathlock enhances SAP’s role-based access controls with attribute-based access controls & enables dynamic security policies.
To ensure that the use of SAP standard users does not result in interruptions in operations, you should check where they are used in at least the following areas:
Pathlock can help you identify the use of SAP standard users in all important areas of your system landscape quickly and effectively, enabling you to implement hardening measures safely without risking your SAP operations.
Get in touch with us to talk to our SAP experts.
Share
The recent data breach at HealthEquity, a leading heal...
SAP published 16 new and three updated Security Notes for S...
SAP published 17 new and eight updated Security Notes for A...
SAP published 16 new and two updated Security Notes for Jul...