CREATE_OOBJECT3 SAP Method Create (Triple-Level) Order Documents in Buffer
Below is documentation, parameters and attributes of ABAP Method CREATE_OOBJECT3 within SAP class /SCMB/CL_ODM_BUFFER. 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 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_OOBJECT3 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_OOBJECT3
.| Name | Type | Data Type | Description | Default Value |
| IT_OREXT | Importing | TYPE /SCMB/ODM_ORE_STAB | ||
| IT_ORHDR | Importing | TYPE /SCMB/ODM_ORH_STAB | ||
| IT_ORITM | Importing | TYPE /SCMB/ODM_ORI3_STAB | ||
| IT_ORMAP | Importing | TYPE /SCMB/ODM_ORM3_STAB | ||
| IT_ORREF | Importing | TYPE /SCMB/ODM_ORR_STAB | ||
| IT_ORSDL | Importing | TYPE /SCMB/ODM_ORS_STAB | ||
| 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 | ||
| IV_RELIABILITY | Importing | TYPE /SCMB/ODM_RELIABILITY | ODM: Reliability of GUIDs | |
| IV_VIRTUAL | Importing | TYPE /SCMB/ODM_VIRTUAL | ||
| ET_MAPPING | Exporting | TYPE /SCMB/ODM_MAPPING_TAB | ||
| ET_OBJHDR | Exporting | TYPE /SCMB/ODM_OOBJ_STAB | ||
| ET_OBJITM | Exporting | TYPE /SCMB/ODM_OOBJ_STAB | ||
| ET_OBJSDL | Exporting | TYPE /SCMB/ODM_OOBJ_STAB |
Exceptions of Method CREATE_OOBJECT3
/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type ErrorExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_ODM_BUFFER.
DATA: lv_ET_MAPPING TYPE /SCMB/ODM_MAPPING_TAB,
lv_ET_OBJHDR TYPE /SCMB/ODM_OOBJ_STAB,
lv_ET_OBJITM TYPE /SCMB/ODM_OOBJ_STAB,
lv_ET_OBJSDL TYPE /SCMB/ODM_OOBJ_STAB,
lv_IT_OREXT TYPE /SCMB/ODM_ORE_STAB,
lv_IT_ORHDR TYPE /SCMB/ODM_ORH_STAB,
lv_IT_ORITM TYPE /SCMB/ODM_ORI3_STAB,
lv_IT_ORMAP TYPE /SCMB/ODM_ORM3_STAB,
lv_IT_ORREF TYPE /SCMB/ODM_ORR_STAB,
lv_IT_ORSDL TYPE /SCMB/ODM_ORS_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_OOBJECT3(
EXPORTING
IT_OREXT = lv_IT_OREXT
IT_ORHDR = lv_IT_ORHDR
IT_ORITM = lv_IT_ORITM
IT_ORMAP = lv_IT_ORMAP
IT_ORREF = lv_IT_ORREF
IT_ORSDL = lv_IT_ORSDL
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
ET_OBJITM = lv_ET_OBJITM
ET_OBJSDL = lv_ET_OBJSDL ).
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