READ_DATA SAP Method Read data
Below is documentation, parameters and attributes of ABAP Method READ_DATA within SAP class /BOBF/CL_DAC_GENERIC. 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 /BOBF/CL_DAC_GENERIC 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 READ_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_DATA
.| Name | Type | Data Type | Description | Default Value |
| IS_NODE_CONF | Importing | TYPE /BOBF/S_DAC_NODE | Structure for node information (responsibility of DAC) | |
| IT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Node | |
| IV_FILL_DATA | Importing | TYPE BOOLE_D | Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_KEY_ATTRIBUTE | Importing | TYPE ANY | Attribute for Key-Selection | |
| ET_FAILED_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Key Table | |
| ET_KEY_LINK | Exporting | TYPE /BOBF/T_FRW_KEY_LINK | Key Link | |
| ET_NODE | Exporting | TYPE /BOBF/T_FRW_NODE | Node Table | |
| ET_PARENT_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Key Table | |
| CT_DATA | Changing | TYPE /BOBF/T_BUF_DATA | Read/Write Data from the Database |
Exceptions of Method READ_DATA
/BOBF/CX_FRW -Example ABAP coding
DATA: lo_class TYPE REF TO /BOBF/CL_DAC_GENERIC.
DATA: lv_CT_DATA TYPE /BOBF/T_BUF_DATA,
lv_ET_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_ET_NODE TYPE /BOBF/T_FRW_NODE,
lv_ET_PARENT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IS_NODE_CONF TYPE /BOBF/S_DAC_NODE,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_FILL_DATA TYPE BOOLE_D,
lv_IV_KEY_ATTRIBUTE TYPE ANY,
lv_other TYPE c.
CALL METHOD lo_class=>READ_DATA(
EXPORTING
IS_NODE_CONF = lv_IS_NODE_CONF
IT_KEY = lv_IT_KEY
IV_FILL_DATA = lv_IV_FILL_DATA
IV_KEY_ATTRIBUTE = lv_IV_KEY_ATTRIBUTE
IMPORTING
ET_FAILED_KEY = lv_ET_FAILED_KEY
ET_KEY_LINK = lv_ET_KEY_LINK
ET_NODE = lv_ET_NODE
ET_PARENT_KEY = lv_ET_PARENT_KEY
CHANGING
CT_DATA = lv_CT_DATA ).
Links to Related Class(s)
/BOBF/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects