READ_DATA_SINGLE SAP Method Read TM BP data









Below is documentation, parameters and attributes of ABAP Method READ_DATA_SINGLE within SAP class /SCMB/CL_BPTM_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 /SCMB/CL_BPTM_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_SINGLE can also be found below:

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


Parameters of Method READ_DATA_SINGLE

.

NameTypeData TypeDescriptionDefault Value
IS_READ_FLAGSImportingTYPE
/SCMB/S_READ_BPTM_OBJ
Read flags for BP TM data
IV_PARTNERImportingTYPE
BU_PARTNER
Business Partner Number
IV_READ4UIImportingTYPE
ABAP_BOOL
Read data for UI (no buffering)
ES_GEN_DATAExportingTYPE
/SCMB/D_BPTMGEN
Business Partner: General customer and vendor data
ET_COMPANY_DATAExportingTYPE
/SCMB/T_BPTMCMP
BP: Company Code dependent TM speciifc data
ET_ORG_DATAExportingTYPE
/SCMB/T_BPTMORG
BP: Organization dependent TM speciifc data
ET_REG_DATAExportingTYPE
/SCMB/T_BPTMREG
BP: Supplying regions
ET_REL_DATAExportingTYPE
/SCMB/T_BPTMREL
BP: TM specific BP relationships
ET_SC_DATAExportingTYPE
/SCMB/T_BPTMSC
Table Type for Carrier Service Codes
ET_SLC_DATAExportingTYPE
/SCMB/T_BPTMSLC
Table Type: BP service level code
ET_TXT_DATAExportingTYPE
/SCMB/T_BPTMTXT
Table Type: BP Additional Text Type



Exceptions of Method READ_DATA_SINGLE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_BPTM_HELPER.
DATA: lv_ES_GEN_DATA TYPE /SCMB/D_BPTMGEN,
lv_ET_COMPANY_DATA TYPE /SCMB/T_BPTMCMP,
lv_ET_ORG_DATA TYPE /SCMB/T_BPTMORG,
lv_ET_REG_DATA TYPE /SCMB/T_BPTMREG,
lv_ET_REL_DATA TYPE /SCMB/T_BPTMREL,
lv_ET_SC_DATA TYPE /SCMB/T_BPTMSC,
lv_ET_SLC_DATA TYPE /SCMB/T_BPTMSLC,
lv_ET_TXT_DATA TYPE /SCMB/T_BPTMTXT,
lv_IS_READ_FLAGS TYPE /SCMB/S_READ_BPTM_OBJ,
lv_IV_PARTNER TYPE BU_PARTNER,
lv_IV_READ4UI TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>READ_DATA_SINGLE(
EXPORTING
IS_READ_FLAGS = lv_IS_READ_FLAGS
IV_PARTNER = lv_IV_PARTNER
IV_READ4UI = lv_IV_READ4UI
IMPORTING
ES_GEN_DATA = lv_ES_GEN_DATA
ET_COMPANY_DATA = lv_ET_COMPANY_DATA
ET_ORG_DATA = lv_ET_ORG_DATA
ET_REG_DATA = lv_ET_REG_DATA
ET_REL_DATA = lv_ET_REL_DATA
ET_SC_DATA = lv_ET_SC_DATA
ET_SLC_DATA = lv_ET_SLC_DATA
ET_TXT_DATA = lv_ET_TXT_DATA ).

Links to Related Class(s)

/SCMB/CL...
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!