Ansicht
Dokumentation

RSEC_GET_AUTHS - Returns List of Authorization Names

RSEC_GET_AUTHS - Returns List of Authorization Names

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Returns the available analysis authorizations.

Standard authorizations are not listed.

If required, only those authorizations granted for user I_USERNAME are returned. A check is then made for characteristic 0TCTAUTH and the (technical) authorization names permitted for the executing user. If this user is not authorized for any 0TCTAUTH values, or the characteristic does not occur in an authorization, exception NOTHING_FOUND is returned.

The following combinations are possible for the call:

I_USERNAME I_AUTHCHECK Result in E_T_AUTHS
@0V@ @0V@ like RSEC_GET_AUTH_FOR_USER with characteristic 0TCTAUTH
@0V@ initial Selects all authorizations for the user
initial @0V@ Not permitted (exception invalid_params)
initial initial Selects all available authorizations

Example

Notes

If I_USERNAME is not specified, but an authorization check is required (I_AUTHCHECK = rs_c_true), exception INVALID_PARAMS is set.

If the output list is empty, one of the two exceptions is raised.

Further information





Parameters

E_T_AUTHS
E_T_AUTHT
E_T_ROLE_AUTHS
E_T_ROLE_AUTHT
I_AUTHCHECK
I_OBJSTAT
I_OBJVERS
I_USERNAME
I_WITH_GENERATED
I_WITH_ROLES
I_WITH_TEXTS

Exceptions

INVALID_PARAMS
NOTHING_FOUND
NO_AUTH

Function Group

RSEC_CHECKS

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3162 Date: 20240523 Time: 142528     sap01-206 ( 29 ms )