Ansicht
Dokumentation

CFX_API_FLDGRP_AUTH_GET - Gets the authorizations set for a field group of a generic object instance

CFX_API_FLDGRP_AUTH_GET - Gets the authorizations set for a field group of a generic object instance

Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Gets the authorizations for a field group of a generic object instance on the basis of the following import parameters:

I_OBJECT_ID : <>

I_FIELDGROUP_ID : <>

I_FIELDGROUP_NS : << The field group namespace as specified for the given

fieldgroup in the >>

I_FIELDGROUP_INT_ID : << the internal ID of the field group>>

Either the first three parameters have to be input , or else if the

internal ID of the field group is known , then only the fourth parameter

needs to be input.

Examples

This example will give you an idea how to use this API.

Create a class 'Z_TEST_FG_AUTHORIZATION_APIS' and create method 'GET_FG_AUTH' to call the function module CFX_API_FLDGRP_AUTH_GET

method GET_FG_AUTH.

CALL FUNCTION 'CFX_API_FLDGRP_AUTH_GET'

,,EXPORTING

,,,,I_OBJECT_ID = I_OBJECT_ID "the internal ID of the generic object instance

,,,,I_FIELDGROUP_ID = I_FIELDGROUP_ID "The field Group ID as specified for the given field group in the <>

,,,,I_FIELDGROUP_NS = I_FIELDGROUP_NS " The field group name as specified for the given field group in the <>

,, ,,I_FIELDGROUP_INT_ID = ,,I_FIELDGROUP_INT_ID "The internal ID of the field group

,,TABLES

,,,,E_USER_ACTIVITIES = E_USER_ACTIVITIES

,,,,E_USER_ROLE_ACTIVITIES = E_USER_ROLE_ACTIVITIES

,,,,E_USER_GRP_ACTIVITIES = E_USER_GRP_ACTIVITIES

.

* The tables E_USER_ACTIVITIES, E_USER_ROLE_ACTIVITIES, E_USER_GRP_ACTIVITIES hold the *authorizations on the field group





Parameters

E_USER_ACTIVITIES
E_USER_GRP_ACTIVITIES
E_USER_ROLE_ACTIVITIES
I_FIELDGROUP_ID
I_FIELDGROUP_INT_ID
I_FIELDGROUP_NS
I_OBJECT_ID

Exceptions

Function Group

CFX_API_OBJ_FLDGRP_AUTH

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

Length: 2370 Date: 20240523 Time: 112017     sap01-206 ( 34 ms )