CREATE SAP Method Factory Method: Generate Instance
Below is documentation, parameters and attributes of ABAP Method CREATE within SAP class CACS00_CL_DOCUMENT_DB_ITF. 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 CACS00_CL_DOCUMENT_DB_ITF 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 |
| IB_SIMULATION | Importing | TYPE BOOLEAN_FLG | Only Simulation (X=true, space=false) | |
| RO_DOC_DB_ITF | Returning | TYPE REF TO CACS00_CL_DOCUMENT_DB_ITF | Document Posting: Register Documents for Posting |
Exceptions of Method CREATE
CX_CACS_DOCUMENT_ROOT - Document Posting: Exception HandlingExample ABAP coding
DATA: lv_IB_SIMULATION TYPE BOOLEAN_FLG,
lv_RO_DOC_DB_ITF TYPE CACS00_CL_DOCUMENT_DB_ITF,
lv_other TYPE c.
CALL METHOD CACS00_CL_DOCUMENT_DB_ITF=>CREATE(
EXPORTING
IB_SIMULATION = lv_IB_SIMULATION
RECEIVING
RO_DOC_DB_ITF = lv_RO_DOC_DB_ITF )
"Alternate coding for Method Call with returning parameter
lv_RO_DOC_DB_ITF = CACS00_CL_DOCUMENT_DB_ITF=>CREATE(
EXPORTING
IB_SIMULATION = lv_IB_SIMULATION ).
Links to Related Class(s)
CACS00_C...Full list of available SAP object classes
Search for further information about these or an SAP related objects