MAINTAIN_ID SAP Method Administration of IDs (Deliver, Change, Create)
Below is documentation, parameters and attributes of ABAP Method MAINTAIN_ID 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 directlyThe following technical details of method MAINTAIN_ID can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MAINTAIN_ID
.| Name | Type | Data Type | Description | Default Value |
| IS_NEWCNT | Importing | TYPE /SCMB/ODM_CNT_STR | ||
| IV_RELIABILITY | Importing | TYPE /SCMB/ODM_RELIABILITY | ODM: Reliability of GUIDs | |
| IV_VIRTUAL | Importing | TYPE /SCMB/ODM_VIRTUAL | ODM: Temporary IDs | |
| ET_MAPPING | Exporting | TYPE /SCMB/ODM_MAPPING_TAB | ODM: Translation from External to Internal ID | |
| CT_OREXT | Changing | TYPE /SCMB/ODM_ORE_STAB | ODM: Extension (as Reference) | |
| CT_ORHDR | Changing | TYPE /SCMB/ODM_ORH_TAB | ODM: Order Document Header | |
| CT_ORITM2 | Changing | TYPE /SCMB/ODM_ORI2_TAB | ODM: Order Item (Double-Level Document Type) | |
| CT_ORITM3 | Changing | TYPE /SCMB/ODM_ORI3_TAB | ODM: Order Item (Triple-Level Document Type) | |
| CT_ORMAP | Changing | TYPE /SCMB/ODM_ORM3_TAB | ODM: Mapping (Triple-Level Document Type) | |
| CT_ORREF | Changing | TYPE /SCMB/ODM_ORR_TAB | ODM: Order Document Reference | |
| CT_ORSDL | Changing | TYPE /SCMB/ODM_ORS_TAB | ODM: Order Document Schedule Line |
Exceptions of Method MAINTAIN_ID
/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type ErrorExample ABAP coding
DATA: lv_CT_OREXT TYPE /SCMB/ODM_ORE_STAB,
lv_CT_ORHDR TYPE /SCMB/ODM_ORH_TAB,
lv_CT_ORITM2 TYPE /SCMB/ODM_ORI2_TAB,
lv_CT_ORITM3 TYPE /SCMB/ODM_ORI3_TAB,
lv_CT_ORMAP TYPE /SCMB/ODM_ORM3_TAB,
lv_CT_ORREF TYPE /SCMB/ODM_ORR_TAB,
lv_CT_ORSDL TYPE /SCMB/ODM_ORS_TAB,
lv_ET_MAPPING TYPE /SCMB/ODM_MAPPING_TAB,
lv_IS_NEWCNT TYPE /SCMB/ODM_CNT_STR,
lv_IV_RELIABILITY TYPE /SCMB/ODM_RELIABILITY,
lv_IV_VIRTUAL TYPE /SCMB/ODM_VIRTUAL,
lv_other TYPE c.
CALL METHOD /SCMB/CL_ODM=>MAINTAIN_ID(
EXPORTING
IS_NEWCNT = lv_IS_NEWCNT
IV_RELIABILITY = lv_IV_RELIABILITY
IV_VIRTUAL = lv_IV_VIRTUAL
IMPORTING
ET_MAPPING = lv_ET_MAPPING
CHANGING
CT_OREXT = lv_CT_OREXT
CT_ORHDR = lv_CT_ORHDR
CT_ORITM2 = lv_CT_ORITM2
CT_ORITM3 = lv_CT_ORITM3
CT_ORMAP = lv_CT_ORMAP
CT_ORREF = lv_CT_ORREF
CT_ORSDL = lv_CT_ORSDL ).
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