DATA_READ SAP Method Reading of Customer List Data









Below is documentation, parameters and attributes of ABAP Method DATA_READ within SAP class IF_EX_BADI_EHSRC_CUST_LIST. 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 IF_EX_BADI_EHSRC_CUST_LIST 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 DATA_READ can also be found below:

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


Parameters of Method DATA_READ

.

NameTypeData TypeDescriptionDefault Value
I_DATA_FILTERImportingTYPE
CCRCS_CULI_DATA_FILTER
Filter Criteria for Customer List
I_RFCDESTImportingTYPE
RFCDEST
Logical Destination (Specified when Calling Function)
E_CUST_LIST_DATA_TABExportingTYPE
CCRCTT_CU_LIST
Read Data Related to Customer List
E_ERROR_TABExportingTYPE
CCRCTT_MSG
Error Message Table
E_FLG_ERRORExportingTYPE
ESEBOOLE
Indicator: Error
E_IDTITLE_TABExportingTYPE
CCRCTT_IDTITLE
Identification Type Desc. According to Identif. Listing



Exceptions of Method DATA_READ

E_CUST_LIST_DATA_TABExportingTYPE
CCRCTT_CU_LISTRead Data Related to Customer ListE_ERROR_TABExportingTYPE
CCRCTT_MSGError Message TableE_FLG_ERRORExportingTYPE
ESEBOOLEIndicator: ErrorE_IDTITLE_TABExportingTYPE
CCRCTT_IDTITLEIdentification Type Desc. According to Identif. ListingNO_DATA_FOUND - No Data Found

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_EHSRC_CUST_LIST.
DATA: lv_E_CUST_LIST_DATA_TAB TYPE CCRCTT_CU_LIST,
lv_E_ERROR_TAB TYPE CCRCTT_MSG,
lv_E_FLG_ERROR TYPE ESEBOOLE,
lv_E_IDTITLE_TAB TYPE CCRCTT_IDTITLE,
lv_I_DATA_FILTER TYPE CCRCS_CULI_DATA_FILTER,
lv_I_RFCDEST TYPE RFCDEST,
lv_other TYPE c.

CALL METHOD lo_class=>DATA_READ(
EXPORTING
I_DATA_FILTER = lv_I_DATA_FILTER
I_RFCDEST = lv_I_RFCDEST
IMPORTING
E_CUST_LIST_DATA_TAB = lv_E_CUST_LIST_DATA_TAB
E_ERROR_TAB = lv_E_ERROR_TAB
E_FLG_ERROR = lv_E_FLG_ERROR
E_IDTITLE_TAB = lv_E_IDTITLE_TAB ).

Links to Related Class(s)

IF_EX_BA...
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!