READ_DATA_BY_KEY SAP Method Read Data By key
Below is documentation, parameters and attributes of ABAP Method READ_DATA_BY_KEY within SAP class /BOFU/IF_VIM_VCL_HELPER. 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_VIM_VCL_HELPER 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_BY_KEY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_DATA_BY_KEY
.| Name | Type | Data Type | Description | Default Value |
| IO_TOP_VIEW | Importing | TYPE REF TO /BOFU/IF_VIM_VCL_VIEW_DAC | Optional if there is only one top view | |
| IT_KEY | Importing | TYPE ANY TABLE | ||
| IV_READ_SUB_HIERARCHY | Importing | TYPE ABAP_BOOL | ||
| ET_VIEW_DATA | Exporting | TYPE /BOFU/IF_VIM_VCL_VIEW_DAC=>TT_VIEW_DATA | View Data |
Exceptions of Method READ_DATA_BY_KEY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/IF_VIM_VCL_HELPER.
DATA: lv_ET_VIEW_DATA TYPE /BOFU/IF_VIM_VCL_VIEW_DAC=>TT_VIEW_DATA,
lv_IO_TOP_VIEW TYPE /BOFU/IF_VIM_VCL_VIEW_DAC,
lv_IT_KEY TYPE ANY TABLE,
lv_IV_READ_SUB_HIERARCHY TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>READ_DATA_BY_KEY(
EXPORTING
IO_TOP_VIEW = lv_IO_TOP_VIEW
IT_KEY = lv_IT_KEY
IV_READ_SUB_HIERARCHY = lv_IV_READ_SUB_HIERARCHY
IMPORTING
ET_VIEW_DATA = lv_ET_VIEW_DATA ).
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