Ansicht
Dokumentation

BAPI_USER_DELETE - Delete user

BAPI_USER_DELETE - Delete user

CPI1466 during Backup   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The method deletes the user USERNAME.

The relationships of the user (to systems, profiles, activity groups) are also deleted.

Notes

The method is fully integrated into Central User Administration (CUA).

Depending on the system status, the method behaves as follows:

  • Central System of a CUA
The user is completely deleted. A DELETE IDoc is sent to all child systems to which the user is assigned.
  • Child System of a CUA:
The system assignment for the child system is deleted directly in the central system with the method BAPI_USER_SYSTEM_ASSIGN. The user is then deleted asynchronously in the child system using an IDoc by redistribution of the deletion. For this to be possible, it is vital that the method BAPI_USER_SYSTEM_ASSIGN exists in the CUA central system. If this prerequisite is not met, the action is terminated. The user is not deleted.
  • Standalone System
The user is deleted.





Parameters

RETURN
USERNAME

Exceptions

Function Group

SU_USER

General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1515 Date: 20240523 Time: 175544     sap01-206 ( 28 ms )