GET_KEYS_OF_INSTANCE SAP Method Get keys of Instance
Below is documentation, parameters and attributes of ABAP Method GET_KEYS_OF_INSTANCE within SAP class /BOFU/IF_OSPO_AGENT_ACCESS. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOFU/IF_OSPO_AGENT_ACCESS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
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.The following technical details of method GET_KEYS_OF_INSTANCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_KEYS_OF_INSTANCE
.| Name | Type | Data Type | Description | Default Value |
| IO_INSTANCE | Importing | TYPE REF TO IF_OS_STATE | ||
| ES_KEY | Exporting | TYPE /BOBF/S_FRW_KEY | ||
| ES_PARENT_KEY | Exporting | TYPE /BOBF/S_FRW_KEY |
Exceptions of Method GET_KEYS_OF_INSTANCE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/IF_OSPO_AGENT_ACCESS.
DATA: lv_ES_KEY TYPE /BOBF/S_FRW_KEY,
lv_ES_PARENT_KEY TYPE /BOBF/S_FRW_KEY,
lv_IO_INSTANCE TYPE IF_OS_STATE,
lv_other TYPE c.
CALL METHOD lo_class=>GET_KEYS_OF_INSTANCE(
EXPORTING
IO_INSTANCE = lv_IO_INSTANCE
IMPORTING
ES_KEY = lv_ES_KEY
ES_PARENT_KEY = lv_ES_PARENT_KEY ).
Links to Related Class(s)
/BOFU/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects