ABAP OO Class Methods

RETRIEVE SAP Method - Get list of Clusters for particular Risk







Below is documentation, parameters and attributes of ABAP Method RETRIEVE within SAP class IF_GRRM_API_CLUSTER. 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_GRRM_API_CLUSTER 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_GRRM_API_CLUSTER

Method Name

RETRIEVE

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.







Exporting Parameters:


ET_RISK_CLUSTER " List of Clusters for particular Risk TYPE GRFN_T_API_OBJECT_ID

Exceptions:


CX_GRFN_EXCEPTION - Generic GRC API exception



Example ABAP coding


DATA:
ld_ET_RISK_CLUSTER TYPE GRFN_T_API_OBJECT_ID.


DATA: lo_CLUSTER TYPE REF TO IF_GRRM_API_CLUSTER .
CALL METHOD lo_CLUSTER->RETRIEVE(
IMPORTING
ET_RISK_CLUSTER = ld_ET_RISK_CLUSTER
EXCEPTIONS
CX_GRFN_EXCEPTION = 1 ).