DELETE_BY_ORDNO_RNG SAP Method Deletes Order Documents, Selection by Number









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

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


Parameters of Method DELETE_BY_ORDNO_RNG

.

NameTypeData TypeDescriptionDefault Value
IT_ORDNO_RNGImportingTYPE
/SCMB/ODM_ORDNO_RNG_TAB
ODM: Range of Valid Order Numbers
IV_CHGMODEImportingTYPE
/SCMB/ODM_CHGMODE
ODM: Change Mode
IV_HISTFLGImportingTYPE
/SCMB/ODM_HISTFLG
ODM: History Indicator
IV_LOCKFLGImportingTYPE
/SCMB/ODM_LOCKFLG
ODM: Lock Order Document
IV_MAPPING_DELETEImportingTYPE
/SCMB/ODM_MAPPING_DELETE
ODM: Delete Mapping (Attempt)
IV_NO_UPDATE_TASKImportingTYPE
/SCMB/ODM_SYNCFLG
ODM: Synchronous Update (No Update Task)
IV_PRESERVE_LOCKImportingTYPE
/SCMB/ODM_PRESERVE_LOCK
ODM: Retain Locks
IV_TRACKDELFLGImportingTYPE
/SCMB/ODM_TRACKDELFLG
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version
IV_ARCHIVE_HANDLEImportingTYPE
/SCMB/ODM_ARCHIVE_HANDLE
ODM: Handle on the Open Archive
IV_ARCHIVE_TESTMODEImportingTYPE
/SCMB/ODM_ARCHIVE_TESTMODE
ODM: Archiving, Test Mode



Exceptions of Method DELETE_BY_ORDNO_RNG

/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type Error

Example ABAP coding


DATA: lv_IT_ORDNO_RNG TYPE /SCMB/ODM_ORDNO_RNG_TAB,
lv_IV_CHGMODE TYPE /SCMB/ODM_CHGMODE,
lv_IV_HISTFLG TYPE /SCMB/ODM_HISTFLG,
lv_IV_LOCKFLG TYPE /SCMB/ODM_LOCKFLG,
lv_IV_MAPPING_DELETE TYPE /SCMB/ODM_MAPPING_DELETE,
lv_IV_NO_UPDATE_TASK TYPE /SCMB/ODM_SYNCFLG,
lv_IV_PRESERVE_LOCK TYPE /SCMB/ODM_PRESERVE_LOCK,
lv_IV_TRACKDELFLG TYPE /SCMB/ODM_TRACKDELFLG,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
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=>DELETE_BY_ORDNO_RNG(
EXPORTING
IT_ORDNO_RNG = lv_IT_ORDNO_RNG
IV_CHGMODE = lv_IV_CHGMODE
IV_HISTFLG = lv_IV_HISTFLG
IV_LOCKFLG = lv_IV_LOCKFLG
IV_MAPPING_DELETE = lv_IV_MAPPING_DELETE
IV_NO_UPDATE_TASK = lv_IV_NO_UPDATE_TASK
IV_PRESERVE_LOCK = lv_IV_PRESERVE_LOCK
IV_TRACKDELFLG = lv_IV_TRACKDELFLG
IV_VRSIOID = lv_IV_VRSIOID
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



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!