DELETE_BY_ID SAP Method Delete Order Document Data









Below is documentation, parameters and attributes of ABAP Method DELETE_BY_ID 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 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 directly

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

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


Parameters of Method DELETE_BY_ID

.

NameTypeData TypeDescriptionDefault Value
IS_CTRLImportingTYPE
/SCMB/ODM_CONTROL_GET
ODM: Components, Requested (GET)
IT_ORDID_GRP_ORDAImportingTYPE
/SCMB/ODM_ORDID_GRP_ORDA_TAB
ODM: Order IDs Grouped According to Order Data Areas
IV_ARCHIVE_HANDLEImportingTYPE
/SCMB/ODM_ARCHIVE_HANDLE
ODM: Handle on the Open Archive
IV_ARCHIVE_TESTMODEImportingTYPE
/SCMB/ODM_ARCHIVE_TESTMODE
ODM: Archiving, Test Mode
IV_BLK_SIZEImportingTYPE
SYTABIX
Block Size for Deletion
IV_CHGMODEImportingTYPE
/SCMB/ODM_CHGMODE
ODM: Change Mode
IV_HISTFLGImportingTYPE
/SCMB/ODM_HISTFLG
ODM: History Indicator
IV_TRACK_DELFLGImportingTYPE
/SCMB/ODM_TRACKDELFLG
IV_TSTNOWImportingTYPE
/SCMB/ODM_TST
ODM: Date/Time
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version
IV_VRSIO_CHECKImportingTYPE
/SCMB/ODM_VRSIO_CHECK
ODM: Check Versions



Exceptions of Method DELETE_BY_ID

/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type Error

Example ABAP coding


DATA: lv_IS_CTRL TYPE /SCMB/ODM_CONTROL_GET,
lv_IT_ORDID_GRP_ORDA TYPE /SCMB/ODM_ORDID_GRP_ORDA_TAB,
lv_IV_ARCHIVE_HANDLE TYPE /SCMB/ODM_ARCHIVE_HANDLE,
lv_IV_ARCHIVE_TESTMODE TYPE /SCMB/ODM_ARCHIVE_TESTMODE,
lv_IV_BLK_SIZE TYPE SYTABIX,
lv_IV_CHGMODE TYPE /SCMB/ODM_CHGMODE,
lv_IV_HISTFLG TYPE /SCMB/ODM_HISTFLG,
lv_IV_TRACK_DELFLG TYPE /SCMB/ODM_TRACKDELFLG,
lv_IV_TSTNOW TYPE /SCMB/ODM_TST,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_IV_VRSIO_CHECK TYPE /SCMB/ODM_VRSIO_CHECK,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM_UPD=>DELETE_BY_ID(
EXPORTING
IS_CTRL = lv_IS_CTRL
IT_ORDID_GRP_ORDA = lv_IT_ORDID_GRP_ORDA
IV_ARCHIVE_HANDLE = lv_IV_ARCHIVE_HANDLE
IV_ARCHIVE_TESTMODE = lv_IV_ARCHIVE_TESTMODE
IV_BLK_SIZE = lv_IV_BLK_SIZE
IV_CHGMODE = lv_IV_CHGMODE
IV_HISTFLG = lv_IV_HISTFLG
IV_TRACK_DELFLG = lv_IV_TRACK_DELFLG
IV_TSTNOW = lv_IV_TSTNOW
IV_VRSIOID = lv_IV_VRSIOID
IV_VRSIO_CHECK = lv_IV_VRSIO_CHECK ).

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!