READ SAP Method Read Document









Below is documentation, parameters and attributes of ABAP Method READ within SAP class /SCMB/CL_DF_DOCUMENT2. 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_DF_DOCUMENT2 into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method READ can also be found below:

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


Parameters of Method READ

.

NameTypeData TypeDescriptionDefault Value
IV_CATEGORYImportingTYPE
/SCMB/DF_CATEGORY
IV_CHARACTERISTICImportingTYPE
STRING
IV_CHARACTERISTICXImportingTYPE
XSTRING
IV_GUID_APPImportingTYPE
/SCMB/DF_GUID
RO_DOC_OBJReturningTYPE REF TO
/SCMB/CL_DF_DOCUMENT2



Exceptions of Method READ

/SCMB/CX_DF_DOCUMENT -

Example ABAP coding


DATA: lv_IV_CATEGORY TYPE /SCMB/DF_CATEGORY,
lv_IV_CHARACTERISTIC TYPE STRING,
lv_IV_CHARACTERISTICX TYPE XSTRING,
lv_IV_GUID_APP TYPE /SCMB/DF_GUID,
lv_RO_DOC_OBJ TYPE /SCMB/CL_DF_DOCUMENT2,
lv_other TYPE c.

CALL METHOD /SCMB/CL_DF_DOCUMENT2=>READ(
EXPORTING
IV_CATEGORY = lv_IV_CATEGORY
IV_CHARACTERISTIC = lv_IV_CHARACTERISTIC
IV_CHARACTERISTICX = lv_IV_CHARACTERISTICX
IV_GUID_APP = lv_IV_GUID_APP
RECEIVING
RO_DOC_OBJ = lv_RO_DOC_OBJ )



"Alternate coding for Method Call with returning parameter
lv_RO_DOC_OBJ = /SCMB/CL_DF_DOCUMENT2=>READ(
EXPORTING
IV_CATEGORY = lv_IV_CATEGORY
IV_CHARACTERISTIC = lv_IV_CHARACTERISTIC
IV_CHARACTERISTICX = lv_IV_CHARACTERISTICX
IV_GUID_APP = lv_IV_GUID_APP ).

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!