_RETRIEVE SAP Method Retrieve with notifications (Agent Call)
Below is documentation, parameters and attributes of ABAP Method _RETRIEVE within SAP class /BOFU/CL_B_OBJSRV_PERSOBJ_BASE. 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/CL_B_OBJSRV_PERSOBJ_BASE 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 _RETRIEVE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method _RETRIEVE
.| Name | Type | Data Type | Description | Default Value |
| IO_CHANGE | Importing | TYPE REF TO /BOBF/IF_FRW_CHANGE | ||
| IT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | ||
| IV_BEFORE_IMAGE | Importing | TYPE ABAP_BOOL | ||
| IV_BUFFER_ONLY | Importing | TYPE ABAP_BOOL | ||
| IV_RELOAD | Importing | TYPE ABAP_BOOL | ||
| IV_STATE | Importing | TYPE /BOBF/CONF_STATE | ||
| ET_FAILED_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | ||
| ET_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | ||
| ET_KEY_INSTANCE_MAP | Exporting | TYPE /BOFU/IF_OSPO_AGENT_ACCESS=>TT_KEY_INSTANCE_MAP |
Exceptions of Method _RETRIEVE
/BOBF/CX_FRW -Example ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_B_OBJSRV_PERSOBJ_BASE.
DATA: lv_ET_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_KEY_INSTANCE_MAP TYPE /BOFU/IF_OSPO_AGENT_ACCESS=>TT_KEY_INSTANCE_MAP,
lv_IO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_BEFORE_IMAGE TYPE ABAP_BOOL,
lv_IV_BUFFER_ONLY TYPE ABAP_BOOL,
lv_IV_RELOAD TYPE ABAP_BOOL,
lv_IV_STATE TYPE /BOBF/CONF_STATE,
lv_other TYPE c.
CALL METHOD lo_class=>_RETRIEVE(
EXPORTING
IO_CHANGE = lv_IO_CHANGE
IT_KEY = lv_IT_KEY
IV_BEFORE_IMAGE = lv_IV_BEFORE_IMAGE
IV_BUFFER_ONLY = lv_IV_BUFFER_ONLY
IV_RELOAD = lv_IV_RELOAD
IV_STATE = lv_IV_STATE
IMPORTING
ET_FAILED_KEY = lv_ET_FAILED_KEY
ET_KEY = lv_ET_KEY
ET_KEY_INSTANCE_MAP = lv_ET_KEY_INSTANCE_MAP ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects