UPDATE_ROW SAP Method Check and Adapt the Line









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

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


Parameters of Method UPDATE_ROW

.

NameTypeData TypeDescriptionDefault Value
IS_KEYImportingTYPE
/DSD/HH_RAIVIT_KEY
Key for Invoice Entry Items
IT_CHECK_CELLSImportingTYPE
/DSD/SL_MODIFY_S_TT
Cells to Change/Check
ES_ROWExportingTYPE
/DSD/HH_RAIVIT_S
Line Invoice Entry Items
ET_MODIFY_ADDExportingTYPE
/DSD/SL_MODIFY_S_TT
Additional Cells to Change
ET_MSGExportingTYPE
BAPIRET2_T
Error messages



Exceptions of Method UPDATE_ROW

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /DSD/SL_CL_MO_INVOICE_ITEM.
DATA: lv_ES_ROW TYPE /DSD/HH_RAIVIT_S,
lv_ET_MODIFY_ADD TYPE /DSD/SL_MODIFY_S_TT,
lv_ET_MSG TYPE BAPIRET2_T,
lv_IS_KEY TYPE /DSD/HH_RAIVIT_KEY,
lv_IT_CHECK_CELLS TYPE /DSD/SL_MODIFY_S_TT,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE_ROW(
EXPORTING
IS_KEY = lv_IS_KEY
IT_CHECK_CELLS = lv_IT_CHECK_CELLS
IMPORTING
ES_ROW = lv_ES_ROW
ET_MODIFY_ADD = lv_ET_MODIFY_ADD
ET_MSG = lv_ET_MSG ).

Links to Related Class(s)

/DSD/SL_...
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!