Create SAP users, roles, and authorizations
Create the SAP user, roles, and authorization objects required for the Software Asset Management integration with the central and satellite SAP systems.
Before you begin
The SAP transport files must be imported into the central system before configuring users and roles.
Role required: SAP Basis administrator
About this task
The Software Asset Management integration requires a dedicated SAP user with separate roles for the central system and each satellite system. Central system roles control background job scheduling and service access. Satellite system roles control RFC execution and table display access.
Procedure
-
Create a user ID
S_SERVICENOWin your SAP system.If the user already exists, remove the current authorizations and set up new authorizations with central and satellite system permissions. -
Create a central system role.
- Navigate to transaction code PFCG.
-
On the Role Maintenance page, enter a role name in the Role field.
For example, Z_SNOW_CTR.
- In the Description field, enter a brief description of the role and save.
-
Add authorization object S_SERVICE and add external service name /NOW/SAMP//NOW/SAMP_USER_DETAILS_WSDL.
-
Add authorization object S_BTCH_ADM and select the N (No administrator authorization) option in the Activities field.
-
Add authorization object S_BTCH_JOB, select RELE (Release Jobs) in the Activities field, and leave the JOBGROUP field
empty.
- Optional:
If the central system is a SAP S/4HANA system, add authorization object S_PROGNAM and the following values in the corresponding fields.
- P_ACTION — BTCSUBMIT
- P_PROGNAM — /NOW/SAMP_USER_PROG_BCKJOB_RUN
-
Create a satellite system role.
- Navigate to transaction code PFCG.
-
On the Role Maintenance page, enter a role name in the Role field.
For example, Z_SNOW_CLT.
- In the Description field, enter a brief description of the role and save.
-
Add authorization object S_RFC and fill in the following values for the fields.
Table 1. Field values for authorization object S_RFC Field Value Activity 16 This code refers to Execute.
RFC_NAME /OSP/CORE, /OSP/PRGN_GET_ALL_AGRS, BAPI_USER_GETLIST, BAPI_USER_GET_DETAIL, MENU_READ_TSTC, RFC_READ_TABLE, RFCPING, SCSM_COLLECTOR, SDTX, SMNV_MIGRATION, STR9, SU_USER, SWNC_COLLECTOR_GET_AGGREGATES, SYSU, TR_SYS_PARAMS, /NOW/SAMP, /NOW/SAMP_HANADB RFC_TYPE FUGR and FUNC Here, FUGR is the Function Group and FUNC is the Function Module.
-
Add authorization object S_TABU_DIS and enter 03 in the Activity and &NC&, SS in the
Table Authorization Group field.
-
Add authorization object S_TABU_NAM and fill in the following values for the fields.
Table 2. Field values for authorization object S_TABU_NAM Field Value Activity 03 This code refers to Display.
Table Name AGR_FLAGS, AGR_TEXTS, TSTCT, TUPL, TUPLT, TUREP, TUTYPA, TUTYPNOW, TUTYPPL, USR41_MLD, T000 -
Add authorization object S_TOOLS_EX and enter S_TOOLS_EX_A in the Authorization name in user master
main field.
- Add authorization object S_BTCH_ADM and select the N (No administrator authorization) option in the Activities field.
- Add authorization object S_BTCH_JOB, select RELE (Release Jobs) in the Activities field, and leave the JOBGROUP field empty.
-
Add authorization object S_RZL_ADM and enter 01 in the Activity field.
-
Add authorization object S_USER_GRP and enter 03 in the Activity field and SUPER in the User group in user
master main field.
-
Assign the central system role to the
S_SERVICENOWuser in the central system, and the satellite system role to the same user in each satellite system.Table 3. Authorization objects and their descriptions Authorization object Description S_RFC Verifies that the called RFC user is authorized to execute RFC function modules. S_SERVICE Verifies the start of your external services. S_TCODE Initiates an SAP transaction from the command box or menu. S_BTCH_ADM Manages background processing. S_BTCH_JOB Manages background jobs. S_RZL_ADM Maintains external system commands. S_TABU_DIS Controls table access to users. S_TABU_NAM Provides authorizations for tables based on the table name instead of the table authorization group. S_TOOLS_EX Monitors tool performance. S_USR_GRP Performs user maintenance for several transactions.
What to do next
Select the Remote Function Call (RFC) connections that the SAP ABAP program uses to import data from your SAP clients. For details, see Select SAP clients to import data.