Ansicht
Dokumentation

BAPI_USER_SYSTEM_ASSIGN - Change User-System Assignments in Central CUA System

BAPI_USER_SYSTEM_ASSIGN - Change User-System Assignments in Central CUA System

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use the System Assign method to change the system assignments for a user.

The system assignments for the user USERNAME are transferred in a table called SYSTEMS.

All existing system assignments are overwritten by the assignments contained in the table. This also means that existing system assignments are deleted if they are no longer contained in the table.

You only need to fill the field SYSTEMS - SUBSYSTEM.

If the user still has role or profile assignments for systems in which the user is to be deleted, these are also deleted from the user master record.

If the authorization check for assignment or removal of systems fails, the affected systems are removed from the SYSTEMS table. In this case, the return table contains messages of type 'E'.

Example

The user has the following system assignments

SYSTEM1
SYSTEM2 with ROLES and PROFILES
SYSTEM3

You want to remove

SYSTEM1 and SYSTEM2

and add

SYSTEM4

Transfer the table SYSTEMS with the following content:

SYSTEM3
SYSTEM4

The result is that the user has the following system assignments:

SYSTEM3
SYSTEM4

Notes

Further information





Parameters

RETURN
SYSTEMS
USERNAME

Exceptions

Function Group

SU_USER

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1906 Date: 20240523 Time: 170737     sap01-206 ( 28 ms )