READ_DATA_BY_CHILD_KEY SAP Method Read Data By Child Data









Below is documentation, parameters and attributes of ABAP Method READ_DATA_BY_CHILD_KEY within SAP class /BOFU/IF_VIM_VCL_VIEW_DAC. 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_VIEW_DAC 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_CHILD_KEY can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method READ_DATA_BY_CHILD_KEY

.

NameTypeData TypeDescriptionDefault Value
IO_CHILD_VIEWImportingTYPE REF TO
/BOFU/IF_VIM_VCL_VIEW_DAC
View Cluster View: Data Access
IS_CHILD_KEYImportingTYPE
ANY
Child Key or Child data
IT_CHILD_KEYImportingTYPE
ANY TABLE
Child Key or Child data
ES_DATAExportingTYPE
ANY
In case of 1:0..n relation from parent view
ET_DATAExportingTYPE
ANY TABLE
In case of M:N relation from parent view to child



Exceptions of Method READ_DATA_BY_CHILD_KEY

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_VIM_VCL_VIEW_DAC.
DATA: lv_ES_DATA TYPE ANY,
lv_ET_DATA TYPE ANY TABLE,
lv_IO_CHILD_VIEW TYPE /BOFU/IF_VIM_VCL_VIEW_DAC,
lv_IS_CHILD_KEY TYPE ANY,
lv_IT_CHILD_KEY TYPE ANY TABLE,
lv_other TYPE c.

CALL METHOD lo_class=>READ_DATA_BY_CHILD_KEY(
EXPORTING
IO_CHILD_VIEW = lv_IO_CHILD_VIEW
IS_CHILD_KEY = lv_IS_CHILD_KEY
IT_CHILD_KEY = lv_IT_CHILD_KEY
IMPORTING
ES_DATA = lv_ES_DATA
ET_DATA = lv_ET_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!