Ansicht
Dokumentation
CACS_GET_ROLES - Determination of Participation Roles for Specified Commission Contracts
ABAP Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
Function module for determining permitted participation roles, supported by RFC. It is not suitable for mass processing or for use in performance-critical areas.
Import parameters:
IV_APPL: mandatory parameter describing the commission application for which the query is to be carried out.
IV_CLC_TIMESTAMP: effective time of access; this is filled with the current time stamp (UTC using GET TIME STAMP) if it is initial.
IV_KNW_TIMESTAMP: technical time of access; this is filled with the current time stamp (UTC using GET TIME STAMP) if it is initial.
IV_ROLETYPE: entitlement category, permitted values according to fixed-v alue domain CACSCLAIMTYPEDO. If this parameter is specified, the system only finds roles matching this entitlement category.
IV_CTRTB_ID: identifies a commission contract. Only those roles are foun d that are permitted for the specified contract.
If the two optional parameters IV_ROLETYPE and IT_CTRTB_IDS are initial, all the participation roles are output that exist in the application at the time of access. If these two parameters are specified at the same time, the effect is cumulative.
Export parameters:
ET_ROLES: table with participation roles and their corresponding descriptive texts (name of participation role) according to the input parameters. Depending on the input data, this table can also be returned blank if, say, the value for IV_ROLETYPE is not assigned to any role of the specified commission contract or if no participation agreement is assigned to the standard contract of the commission contract. The return of a blank table does not trigger an exception.
Exceptions:
INVALID_FUNCTION: the roles are determined by generated function modules that are specified during runtime. This exception is triggered if the names of these modules cannot be determined, and also if the module does not exist.
Parameters
ET_ROLESIV_APPL
IV_CLC_TIMESTAMP
IV_CTRTB_ID
IV_KNW_TIMESTAMP
IV_ROLETYPE
Exceptions
INVALID_FUNCTIONFunction Group
CACS_EXT_CCCL_GUI_FRONTEND_SERVICES - Frontend Services CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2556 Date: 20240523 Time: 045835 sap01-206 ( 50 ms )