ABAP OO Class Methods

GET_LOCALIZE_INFO SAP Method - To get the localized policy ID and Orgunit ID







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

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_LOCALIZE " Boolean TYPE GRFN_BOOLEAN
EV_LOCALIZED_ORGUNIT " Object ID TYPE GRFN_API_OBJECT_ID
EV_LOCALIZED_POLICY " Object ID TYPE GRFN_API_OBJECT_ID

Exceptions:


CX_GRFN_EXCEPTION - Generic GRC API exception



Example ABAP coding


DATA:
ld_EV_LOCALIZE TYPE GRFN_BOOLEAN ,
ld_EV_LOCALIZED_ORGUNIT TYPE GRFN_API_OBJECT_ID ,
ld_EV_LOCALIZED_POLICY TYPE GRFN_API_OBJECT_ID.


DATA: lo_POLICY TYPE REF TO IF_GRFN_API_POLICY .
CALL METHOD lo_POLICY->GET_LOCALIZE_INFO(
IMPORTING
EV_LOCALIZE = ld_EV_LOCALIZE
EV_LOCALIZED_ORGUNIT = ld_EV_LOCALIZED_ORGUNIT
EV_LOCALIZED_POLICY = ld_EV_LOCALIZED_POLICY
EXCEPTIONS
CX_GRFN_EXCEPTION = 1 ).