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

.

NameTypeData TypeDescriptionDefault Value
IT_OREXTImportingTYPE
/SCMB/ODM_ORE_STAB
IT_ORHDRImportingTYPE
/SCMB/ODM_ORH_STAB
IT_ORITMImportingTYPE
/SCMB/ODM_ORI3_STAB
IT_ORMAPImportingTYPE
/SCMB/ODM_ORM3_STAB
IT_ORREFImportingTYPE
/SCMB/ODM_ORR_STAB
IT_ORSDLImportingTYPE
/SCMB/ODM_ORS_STAB
IV_CHGMODEImportingTYPE
/SCMB/ODM_CHGMODE
ODM: Change Mode
IV_INIT_NEEDLESSImportingTYPE
XFELD
No Document Type Initialization Necessary
IV_LOCKFLGImportingTYPE
/SCMB/ODM_LOCKFLG
IV_RELIABILITYImportingTYPE
/SCMB/ODM_RELIABILITY
ODM: Reliability of GUIDs
IV_VIRTUALImportingTYPE
/SCMB/ODM_VIRTUAL
ET_MAPPINGExportingTYPE
/SCMB/ODM_MAPPING_TAB
ET_OBJHDRExportingTYPE
/SCMB/ODM_OOBJ_STAB
ET_OBJITMExportingTYPE
/SCMB/ODM_OOBJ_STAB
ET_OBJSDLExportingTYPE
/SCMB/ODM_OOBJ_STAB



Exceptions of Method CREATE_OOBJECT3

/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type Error

Example 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



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!