ABAP OO Class Methods

GET_STATUS SAP Method - get status of the policy







Below is documentation, parameters and attributes of ABAP Method GET_STATUS 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_STATUS

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:


EV_STATUS " System status TYPE J_ISTAT
EV_STATUS_T " Policy Status text TYPE GRFN_POLICY_STATUS

Exceptions:


CX_GRFN_EXCEPTION - Generic GRC API exception



Example ABAP coding


DATA:
ld_EV_STATUS TYPE J_ISTAT ,
ld_EV_STATUS_T TYPE GRFN_POLICY_STATUS.


DATA: lo_POLICY TYPE REF TO IF_GRFN_API_POLICY .
CALL METHOD lo_POLICY->GET_STATUS(
IMPORTING
EV_STATUS = ld_EV_STATUS
EV_STATUS_T = ld_EV_STATUS_T
EXCEPTIONS
CX_GRFN_EXCEPTION = 1 ).