UPDATE SAP Method Update data for a given list of node IDs









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

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


Parameters of Method UPDATE

.

NameTypeData TypeDescriptionDefault Value
IT_CHANGED_FIELDImportingTYPE
/PLMB/T_SPI_CHANGED_FIELD
Changed Fields of Node Data
IT_NODE_DATAImportingTYPE
INDEX TABLE
Node Data which Shall be Updated
IV_NODE_NAMEImportingTYPE
/PLMB/SPI_NODE_NAME
Node Name
ET_INDEX_FAILEDExportingTYPE
/PLMB/T_SPI_INDEX_FAILED
Index of IT_NODE_DATA for Which the Update Failed
ET_NODE_DATAExportingTYPE
INDEX TABLE
Result Node Data
ET_NODE_ID_RELExportingTYPE
/PLMB/T_SPI_NODE_REL
Relation of IT_NODE_DATA (Source) and ET_NODE_DATA (Target)
EV_FAILEDExportingTYPE
/PLMB/SPI_FAILED_IND
Is Set if Failure is Independent of Node IDs



Exceptions of Method UPDATE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /PLMB/IF_SPI_APPL_ACCESS.
DATA: lv_ET_INDEX_FAILED TYPE /PLMB/T_SPI_INDEX_FAILED,
lv_ET_NODE_DATA TYPE INDEX TABLE,
lv_ET_NODE_ID_REL TYPE /PLMB/T_SPI_NODE_REL,
lv_EV_FAILED TYPE /PLMB/SPI_FAILED_IND,
lv_IT_CHANGED_FIELD TYPE /PLMB/T_SPI_CHANGED_FIELD,
lv_IT_NODE_DATA TYPE INDEX TABLE,
lv_IV_NODE_NAME TYPE /PLMB/SPI_NODE_NAME,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE(
EXPORTING
IT_CHANGED_FIELD = lv_IT_CHANGED_FIELD
IT_NODE_DATA = lv_IT_NODE_DATA
IV_NODE_NAME = lv_IV_NODE_NAME
IMPORTING
ET_INDEX_FAILED = lv_ET_INDEX_FAILED
ET_NODE_DATA = lv_ET_NODE_DATA
ET_NODE_ID_REL = lv_ET_NODE_ID_REL
EV_FAILED = lv_EV_FAILED ).

Links to Related Class(s)

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