AA_RETRIEVE SAP Method Agent Access: Retrieve (Buffer and DB)
Below is documentation, parameters and attributes of ABAP Method AA_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 AA_RETRIEVE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method AA_RETRIEVE
.| Name | Type | Data Type | Description | Default Value |
| IT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | ||
| IV_BEFORE_IMAGE | Importing | TYPE ABAP_BOOL | ||
| IV_BUFFER_ONLY | Importing | TYPE ABAP_BOOL | ||
| IV_FILL_PARENT_KEY | Importing | TYPE ABAP_BOOL | ||
| IV_RELOAD | Importing | TYPE ABAP_BOOL | ||
| 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 | ||
| ET_KEY_LOADED | Exporting | TYPE /BOBF/T_FRW_KEY |
Exceptions of Method AA_RETRIEVE
/BOBF/CX_FRW - BOPF Exception ClassExample 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_ET_KEY_LOADED TYPE /BOBF/T_FRW_KEY,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_BEFORE_IMAGE TYPE ABAP_BOOL,
lv_IV_BUFFER_ONLY TYPE ABAP_BOOL,
lv_IV_FILL_PARENT_KEY TYPE ABAP_BOOL,
lv_IV_RELOAD TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>AA_RETRIEVE(
EXPORTING
IT_KEY = lv_IT_KEY
IV_BEFORE_IMAGE = lv_IV_BEFORE_IMAGE
IV_BUFFER_ONLY = lv_IV_BUFFER_ONLY
IV_FILL_PARENT_KEY = lv_IV_FILL_PARENT_KEY
IV_RELOAD = lv_IV_RELOAD
IMPORTING
ET_FAILED_KEY = lv_ET_FAILED_KEY
ET_KEY = lv_ET_KEY
ET_KEY_INSTANCE_MAP = lv_ET_KEY_INSTANCE_MAP
ET_KEY_LOADED = lv_ET_KEY_LOADED ).
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