UPDATE_DB SAP Method Update Order Document Data (Internal)
Below is documentation, parameters and attributes of ABAP Method UPDATE_DB within SAP class /SCMB/CL_ODM_UPD. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_ODM_UPD 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 directlyThe following technical details of method UPDATE_DB can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method UPDATE_DB
.| Name | Type | Data Type | Description | Default Value |
| IT_GRP | Importing | TYPE /SCMB/ODM_ORC_ORDERDATA_STAB | Order Documents, Grouped According to Order Data Area | |
| IV_HISTFLG | Importing | TYPE /SCMB/ODM_HISTFLG | ||
| IV_ARCHIVE_HANDLE | Importing | TYPE /SCMB/ODM_ARCHIVE_HANDLE | ODM: Handle on the Open Archive | |
| IV_ARCHIVE_TESTMODE | Importing | TYPE /SCMB/ODM_ARCHIVE_TESTMODE | ODM: Archiving, Test Mode |
Exceptions of Method UPDATE_DB
/SCMB/CX_ODM_ORDTYPE - ODM: Order Data Type ErrorExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_IT_GRP TYPE /SCMB/ODM_ORC_ORDERDATA_STAB,
lv_IV_HISTFLG TYPE /SCMB/ODM_HISTFLG,
lv_IV_ARCHIVE_HANDLE TYPE /SCMB/ODM_ARCHIVE_HANDLE,
lv_IV_ARCHIVE_TESTMODE TYPE /SCMB/ODM_ARCHIVE_TESTMODE,
lv_other TYPE c.
CALL METHOD /SCMB/CL_ODM_UPD=>UPDATE_DB(
EXPORTING
IT_GRP = lv_IT_GRP
IV_HISTFLG = lv_IV_HISTFLG
IV_ARCHIVE_HANDLE = lv_IV_ARCHIVE_HANDLE
IV_ARCHIVE_TESTMODE = lv_IV_ARCHIVE_TESTMODE ).
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