Ansicht
Dokumentation

PRGN_RFC_DEL_AGRS_IN_COLL_AGR - Remove Single Role Assignments from a Composite Role

PRGN_RFC_DEL_AGRS_IN_COLL_AGR - Remove Single Role Assignments from a Composite Role

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Features

The function module removes single role assignments from a composite role and then performs a comparison of the indirect user assignments for the affected single roles. Depending on the Customizing settings of the system and client, and the module call, other follow-on actions are possible:

  • If changing a role means that it is automatically written to a Customizing request, because the Customizing switch CLIENT_SET_FOR_ROLES in table PRGN_CUST is set to YES, and automatic recording for client-specific objects is selected in transaction SCC4, all single roles that are still assigned are written to the same request as the composite role.
  • If the module is called with PROFILE_COMPARISON = 'X', the profile comparison is performed automatically for the single roles that are no longer assigned.

Requirements

The function module call fails completely if the following conditions are not all met:

  • The role transferred under the parameter AGR_NAME must be a composite role.
  • The executing user must have authorization to change the composite role (object S_USER_AGR, ACTVT = 02).
  • The composite role must not be locked by another user.
  • If automatic role recording is active (see above), the composite role must be successfully written to a transport request.

If one of these checks or actions fails, the module call is terminated with an exception. Each exception is linked to an error message, which is also written to the RETURN table.

The automatic recording of the single roles contained in the composite role is independent of the recording of the composite role, and is therefore not a prerequisite for processing the composite role.

Problems during the comparison of the user assignments only lead to warnings in the RETURN table.





Parameters

ACTIVITY_GROUP
ACTIVITY_GROUPS
CHECK_NAMESPACE
ENQUEUE
NEW_REQUEST
NO_DIALOG
PROFILE_COMPARISON
REQUEST
RETURN

Exceptions

ACTIVITY_GROUP_DOES_NOT_EXIST
ACTIVITY_GROUP_ENQUEUED
AUTHORITY_INCOMPLETE
NAMESPACE_PROBLEM
NOT_AUTHORIZED
NO_COLLECTIVE_ACTIVITY_GROUP

Function Group

PRGN_CATT

ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3098 Date: 20240523 Time: 143139     sap01-206 ( 47 ms )