UNLOCK SAP Method Remove Order Document Item Lock









Below is documentation, parameters and attributes of ABAP Method UNLOCK 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 UNLOCK can also be found below:

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


Parameters of Method UNLOCK

.

NameTypeData TypeDescriptionDefault Value
IT_ORDIDImportingTYPE
/SCMB/ODM_ORDID_STAB
ODM: Order Document Identification by ID
IV_FORCEImportingTYPE
/SCMB/ODM_FORCE_UNLOCK
ODM: Force Unlock
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version



Exceptions of Method UNLOCK

/SCMB/CX_ODM_DOCUMENT - ODM: Order Document Error

Example ABAP coding


DATA: lv_IT_ORDID TYPE /SCMB/ODM_ORDID_STAB,
lv_IV_FORCE TYPE /SCMB/ODM_FORCE_UNLOCK,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM=>UNLOCK(
EXPORTING
IT_ORDID = lv_IT_ORDID
IV_FORCE = lv_IV_FORCE
IV_VRSIOID = lv_IV_VRSIOID ).

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!