DELETE_TABLE SAP Method Delete in a Table









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

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

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


Parameters of Method DELETE_TABLE

.

NameTypeData TypeDescriptionDefault Value
IT_ORDID1ImportingTYPE
/SCMB/ODM_ORDID_STAB
ODM: Order Document Identification by ID
IT_ORDID2ImportingTYPE
/SCMB/ODM_ORDID_STAB
ODM: Order Document Identification by ID
IT_ORDID3ImportingTYPE
/SCMB/ODM_ORDID_STAB
ODM: Order Document Identification by ID
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 of Deletion
IV_MAX_LEVELImportingTYPE
/SCMB/ODM_MAX_LEVEL
ODM: Lowest Level of Relationship
IV_TABNAMEImportingTYPE
/SCMB/ODM_TABNAME
Table Name
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version
IV_VRSIO_ISOLATEImportingTYPE
/SCMB/ODM_VRSIO_ISOLATE
Table Without Version
CT_DEL_STATChangingTYPE
ARCH_T_STA
Table For the Transfer of Statistics Data to Archiving



Exceptions of Method DELETE_TABLE

This method does not have any exceptions

Example 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_ORDID1 TYPE /SCMB/ODM_ORDID_STAB,
lv_IT_ORDID2 TYPE /SCMB/ODM_ORDID_STAB,
lv_IT_ORDID3 TYPE /SCMB/ODM_ORDID_STAB,
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_MAX_LEVEL TYPE /SCMB/ODM_MAX_LEVEL,
lv_IV_TABNAME TYPE /SCMB/ODM_TABNAME,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_IV_VRSIO_ISOLATE TYPE /SCMB/ODM_VRSIO_ISOLATE,
lv_CT_DEL_STAT TYPE ARCH_T_STA,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM_UPD=>DELETE_TABLE(
EXPORTING
IT_ORDID1 = lv_IT_ORDID1
IT_ORDID2 = lv_IT_ORDID2
IT_ORDID3 = lv_IT_ORDID3
IV_ARCHIVE_HANDLE = lv_IV_ARCHIVE_HANDLE
IV_ARCHIVE_TESTMODE = lv_IV_ARCHIVE_TESTMODE
IV_BLK_SIZE = lv_IV_BLK_SIZE
IV_MAX_LEVEL = lv_IV_MAX_LEVEL
IV_TABNAME = lv_IV_TABNAME
IV_VRSIOID = lv_IV_VRSIOID
IV_VRSIO_ISOLATE = lv_IV_VRSIO_ISOLATE
CHANGING
CT_DEL_STAT = lv_CT_DEL_STAT ).

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!