CREATE SAP Method Create Buffer
Below is documentation, parameters and attributes of ABAP Method CREATE 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 - Static
This is a Static Method so you can call it directlyThe following technical details of method CREATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE
.| Name | Type | Data Type | Description | Default Value |
| IV_NAME | Importing | TYPE /SCMB/ODM_BUFFER_NAME | ODM: Buffer Description | |
| IV_READONLY | Importing | TYPE FLAG | ||
| IV_VRSIOID | Importing | TYPE /SCMB/ODM_VRSIOID | ||
| IV_ARCHIVE_HANDLE | Importing | TYPE /SCMB/ODM_ARCHIVE_HANDLE | ODM: Handle on the Open Archive | |
| IV_ARCHIVE_TESTMODE | Importing | TYPE /SCMB/ODM_ARCHIVE_TESTMODE | ODM: Archiving, Test Mode | |
| EO_BUFFER | Returning | TYPE REF TO /SCMB/CL_ODM_BUFFER |
Exceptions of Method CREATE
This method does not have any exceptionsExample ABAP coding
DATA: lv_EO_BUFFER TYPE /SCMB/CL_ODM_BUFFER,
lv_IV_NAME TYPE /SCMB/ODM_BUFFER_NAME,
lv_IV_READONLY TYPE FLAG,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_IV_ARCHIVE_HANDLE TYPE /SCMB/ODM_ARCHIVE_HANDLE,
lv_IV_ARCHIVE_TESTMODE TYPE /SCMB/ODM_ARCHIVE_TESTMODE,
lv_other TYPE c.
CALL METHOD /SCMB/CL_ODM_BUFFER=>CREATE(
EXPORTING
IV_NAME = lv_IV_NAME
IV_READONLY = lv_IV_READONLY
IV_VRSIOID = lv_IV_VRSIOID
IV_ARCHIVE_HANDLE = lv_IV_ARCHIVE_HANDLE
IV_ARCHIVE_TESTMODE = lv_IV_ARCHIVE_TESTMODE
RECEIVING
EO_BUFFER = lv_EO_BUFFER )
"Alternate coding for Method Call with returning parameter
lv_EO_BUFFER = /SCMB/CL_ODM_BUFFER=>CREATE(
EXPORTING
IV_NAME = lv_IV_NAME
IV_READONLY = lv_IV_READONLY
IV_VRSIOID = lv_IV_VRSIOID
IV_ARCHIVE_HANDLE = lv_IV_ARCHIVE_HANDLE
IV_ARCHIVE_TESTMODE = lv_IV_ARCHIVE_TESTMODE ).
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