RETRIEVE SAP Method Retrieve









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

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


Parameters of Method RETRIEVE

.

NameTypeData TypeDescriptionDefault Value
IT_NODE_IDImportingTYPE
INDEX TABLE
IV_LOCKImportingTYPE
/PLMB/SPI_LOCK_IND
Locking indicator
IV_MATNRImportingTYPE
ANY
Material Number - ID Structure
ET_MESSAGEExportingTYPE
/PLMB/T_SPI_MSG
Message
ET_MESSAGE_LOCKExportingTYPE
/PLMB/T_SPI_MSG
Message
ET_NODE_DATAExportingTYPE
INDEX TABLE
ET_RELATIONExportingTYPE
/PLMB/T_SPI_NODE_REL
Relationship between index of source and target node ID
EV_SEVERITYExportingTYPE
/PLMB/SPI_MSG_SEVERITY
Severity



Exceptions of Method RETRIEVE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BCV/IF_DMZ_QUERYDISP_NA.
DATA: lv_ET_MESSAGE TYPE /PLMB/T_SPI_MSG,
lv_ET_MESSAGE_LOCK TYPE /PLMB/T_SPI_MSG,
lv_ET_NODE_DATA TYPE INDEX TABLE,
lv_ET_RELATION TYPE /PLMB/T_SPI_NODE_REL,
lv_EV_SEVERITY TYPE /PLMB/SPI_MSG_SEVERITY,
lv_IT_NODE_ID TYPE INDEX TABLE,
lv_IV_LOCK TYPE /PLMB/SPI_LOCK_IND,
lv_IV_MATNR TYPE ANY,
lv_other TYPE c.

CALL METHOD lo_class=>RETRIEVE(
EXPORTING
IT_NODE_ID = lv_IT_NODE_ID
IV_LOCK = lv_IV_LOCK
IV_MATNR = lv_IV_MATNR
IMPORTING
ET_MESSAGE = lv_ET_MESSAGE
ET_MESSAGE_LOCK = lv_ET_MESSAGE_LOCK
ET_NODE_DATA = lv_ET_NODE_DATA
ET_RELATION = lv_ET_RELATION
EV_SEVERITY = lv_EV_SEVERITY ).

Links to Related Class(s)

/BCV/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!