CREATE_OOBJECT1 SAP Method Create (Single-Level) Order Documents in Buffer
Below is documentation, parameters and attributes of ABAP Method CREATE_OOBJECT1 within SAP class /SCMB/CL_ODM_BUFFER_EXT. 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_BUFFER_EXT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method CREATE_OOBJECT1 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_OOBJECT1
.| Name | Type | Data Type | Description | Default Value |
| IT_OREXT | Importing | TYPE /SCMB/ODM_ORE_STAB | ODM: Extension (as Reference, Sorted) | |
| IT_ORHDR | Importing | TYPE /SCMB/ODM_ORH_STAB | ODM: Order Document Header (Sorted) | |
| IT_ORMAP | Importing | TYPE /SCMB/ODM_ORM1_STAB | ODM: Mapping (Single-Level Order Type, Sorted) | |
| IT_ORREF | Importing | TYPE /SCMB/ODM_ORR_STAB | ODM: Order Document Reference (Sorted) | |
| IV_CHGMODE | Importing | TYPE /SCMB/ODM_CHGMODE | ODM: Change Mode | |
| IV_INIT_NEEDLESS | Importing | TYPE XFELD | No Document Type Initialization Necessary | |
| IV_LOCKFLG | Importing | TYPE /SCMB/ODM_LOCKFLG | ODM: Lock Order Document | |
| 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 | |
| ET_OBJHDR | Exporting | TYPE /SCMB/ODM_OOBJ_STAB | ODM: Order Document Buffer |
Exceptions of Method CREATE_OOBJECT1
/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type ErrorExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_ODM_BUFFER_EXT.
DATA: lv_ET_MAPPING TYPE /SCMB/ODM_MAPPING_TAB,
lv_ET_OBJHDR TYPE /SCMB/ODM_OOBJ_STAB,
lv_IT_OREXT TYPE /SCMB/ODM_ORE_STAB,
lv_IT_ORHDR TYPE /SCMB/ODM_ORH_STAB,
lv_IT_ORMAP TYPE /SCMB/ODM_ORM1_STAB,
lv_IT_ORREF TYPE /SCMB/ODM_ORR_STAB,
lv_IV_CHGMODE TYPE /SCMB/ODM_CHGMODE,
lv_IV_INIT_NEEDLESS TYPE XFELD,
lv_IV_LOCKFLG TYPE /SCMB/ODM_LOCKFLG,
lv_IV_RELIABILITY TYPE /SCMB/ODM_RELIABILITY,
lv_IV_VIRTUAL TYPE /SCMB/ODM_VIRTUAL,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_OOBJECT1(
EXPORTING
IT_OREXT = lv_IT_OREXT
IT_ORHDR = lv_IT_ORHDR
IT_ORMAP = lv_IT_ORMAP
IT_ORREF = lv_IT_ORREF
IV_CHGMODE = lv_IV_CHGMODE
IV_INIT_NEEDLESS = lv_IV_INIT_NEEDLESS
IV_LOCKFLG = lv_IV_LOCKFLG
IV_RELIABILITY = lv_IV_RELIABILITY
IV_VIRTUAL = lv_IV_VIRTUAL
IMPORTING
ET_MAPPING = lv_ET_MAPPING
ET_OBJHDR = lv_ET_OBJHDR ).
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