Below is documentation, parameters and attributes of ABAP Method GET_REVW_APPR within SAP class IF_GRFN_API_POLICY. There is also a number of example ABAP code snipts to help you implement this method.
This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_GRFN_API_POLICY into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.
SAP Class method belongs too
IF_GRFN_API_POLICY Method Name
GET_REVW_APPR
Method Type
Instance Method: This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.
Importing Parameters:
Below is a list of importing parameters associated with this method, including its name, description and data type
IT_PLC_SCOPE " policy scope TYPE GRFN_T_API_POLICY_SCOPE
Exporting Parameters:
ET_APPROVER " User names table TYPE SPERS_ULST
ET_APPR_RSLT " Approval result TYPE GRFN_T_POLICY_APP_RESULT
ET_DEF_APPROVER " User names table TYPE SPERS_ULST
ET_DEF_APPR_INFO " New table of entity level roles TYPE GRFN_T_ROLE_LIST
ET_REVIEWER " User names table TYPE SPERS_ULST
Exceptions:
CX_GRFN_EXCEPTION - Generic GRC API exception
Example ABAP coding
DATA:
ld_IT_PLC_SCOPE TYPE GRFN_T_API_POLICY_SCOPE ,
ld_ET_APPROVER TYPE SPERS_ULST ,
ld_ET_APPR_RSLT TYPE GRFN_T_POLICY_APP_RESULT ,
ld_ET_DEF_APPROVER TYPE SPERS_ULST ,
ld_ET_DEF_APPR_INFO TYPE GRFN_T_ROLE_LIST ,
ld_ET_REVIEWER TYPE SPERS_ULST.
" ld_IT_PLC_SCOPE = "
DATA: lo_POLICY TYPE REF TO IF_GRFN_API_POLICY .
- CALL METHOD lo_POLICY->GET_REVW_APPR(
- EXPORTING
- IT_PLC_SCOPE = ld_IT_PLC_SCOPE
- IMPORTING
- ET_APPROVER = ld_ET_APPROVER
- ET_APPR_RSLT = ld_ET_APPR_RSLT
- ET_DEF_APPROVER = ld_ET_DEF_APPROVER
- ET_DEF_APPR_INFO = ld_ET_DEF_APPR_INFO
- ET_REVIEWER = ld_ET_REVIEWER
- EXCEPTIONS
- CX_GRFN_EXCEPTION = 1 ).