RETRIEVE SAP Method Retrieve Application Data (WRITE Program)
Below is documentation, parameters and attributes of ABAP Method RETRIEVE within SAP class /BOFU/CL_ARCH_GENER. 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_ARCH_GENER 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 |
| IT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | ||
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | ||
| IV_NODE_PATH | Importing | TYPE STRING | ||
| IV_ROOT_REQUESTED | Importing | TYPE ABAP_BOOL | ||
| CS_ROOT | Changing | TYPE ANY | ||
| CT_CONT | Changing | TYPE TY_T_DB_TABLE_DATA | DB Table Data for tables (DAC Nodes) | |
| CT_MESSAGE | Changing | TYPE /BOBF/CM_FRW=>TT_FRW |
Exceptions of Method RETRIEVE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_ARCH_GENER.
DATA: lv_CS_ROOT TYPE ANY,
lv_CT_CONT TYPE TY_T_DB_TABLE_DATA,
lv_CT_MESSAGE TYPE /BOBF/CM_FRW=>TT_FRW,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_NODE_PATH TYPE STRING,
lv_IV_ROOT_REQUESTED TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>RETRIEVE(
EXPORTING
IT_KEY = lv_IT_KEY
IV_NODE_KEY = lv_IV_NODE_KEY
IV_NODE_PATH = lv_IV_NODE_PATH
IV_ROOT_REQUESTED = lv_IV_ROOT_REQUESTED
CHANGING
CS_ROOT = lv_CS_ROOT
CT_CONT = lv_CT_CONT
CT_MESSAGE = lv_CT_MESSAGE ).
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