CREATE SAP Method Create Document









Below is documentation, parameters and attributes of ABAP Method CREATE within SAP class /SCMB/CL_DF_DOCUMENT. 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_DF_DOCUMENT 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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IS_DOCImportingTYPE
SIBFLPORB
Local Persistent Object Reference - BOR Compatible
IS_DOCUMENTImportingTYPE
/SCMB/DF_DOCUMENT
Document Flow: Document Identification
IS_DOCUMENTXImportingTYPE
/SCMB/DF_DOCUMENTX
Document Flow: Document Identification
IT_DOCUMENTImportingTYPE
/SCMB/DF_DOCUMENT_TBL
Document Flow: Document
IT_DOCUMENTXImportingTYPE
/SCMB/DF_DOCUMENTX_TBL
Document Flow: Document
EO_DOCUMENTExportingTYPE REF TO
/SCMB/CL_DF_DOCUMENT
Document Flow: Document Administration
ET_DOCUMENTExportingTYPE
/SCMB/DF_DOCIDX_TBL
Document Flow: Document Reference
EV_DOCUMENT_IDExportingTYPE
/SCMB/DF_DOC_ID
Document Flow: Document ID (GUID)
EV_DOCUMENT_TYPEExportingTYPE
/SCMB/DF_CATEGORY
Document Flow: Document Category



Exceptions of Method CREATE

/SCMB/CX_DF_DOCUMENT - Document Flow: Document Error

Example ABAP coding


DATA: lv_EO_DOCUMENT TYPE /SCMB/CL_DF_DOCUMENT,
lv_ET_DOCUMENT TYPE /SCMB/DF_DOCIDX_TBL,
lv_EV_DOCUMENT_ID TYPE /SCMB/DF_DOC_ID,
lv_EV_DOCUMENT_TYPE TYPE /SCMB/DF_CATEGORY,
lv_IS_DOC TYPE SIBFLPORB,
lv_IS_DOCUMENT TYPE /SCMB/DF_DOCUMENT,
lv_IS_DOCUMENTX TYPE /SCMB/DF_DOCUMENTX,
lv_IT_DOCUMENT TYPE /SCMB/DF_DOCUMENT_TBL,
lv_IT_DOCUMENTX TYPE /SCMB/DF_DOCUMENTX_TBL,
lv_other TYPE c.

CALL METHOD /SCMB/CL_DF_DOCUMENT=>CREATE(
EXPORTING
IS_DOC = lv_IS_DOC
IS_DOCUMENT = lv_IS_DOCUMENT
IS_DOCUMENTX = lv_IS_DOCUMENTX
IT_DOCUMENT = lv_IT_DOCUMENT
IT_DOCUMENTX = lv_IT_DOCUMENTX
IMPORTING
EO_DOCUMENT = lv_EO_DOCUMENT
ET_DOCUMENT = lv_ET_DOCUMENT
EV_DOCUMENT_ID = lv_EV_DOCUMENT_ID
EV_DOCUMENT_TYPE = lv_EV_DOCUMENT_TYPE ).

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!