WRITE_DOC SAP Method Write Documents to Database
Below is documentation, parameters and attributes of ABAP Method WRITE_DOC within SAP class /SCMB/CL_DF_DOCDAL. 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_DOCDAL 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 WRITE_DOC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method WRITE_DOC
.| Name | Type | Data Type | Description | Default Value |
| IT_DOC_DELETE | Importing | TYPE TYP_T_DOC | Document Table | |
| IT_DOC_INSERT | Importing | TYPE TYP_T_DOC | Document Table | |
| IT_DOC_UPDATE | Importing | TYPE TYP_T_DOC | Document Table | |
| ET_DB_COUNT | Exporting | TYPE TYP_T_DB_COUNT | Number of Processed DB Table Rows Table |
Exceptions of Method WRITE_DOC
/SCMB/CX_DFI_DOCUMENT -Example ABAP coding
DATA: lv_ET_DB_COUNT TYPE TYP_T_DB_COUNT,
lv_IT_DOC_DELETE TYPE TYP_T_DOC,
lv_IT_DOC_INSERT TYPE TYP_T_DOC,
lv_IT_DOC_UPDATE TYPE TYP_T_DOC,
lv_other TYPE c.
CALL METHOD /SCMB/CL_DF_DOCDAL=>WRITE_DOC(
EXPORTING
IT_DOC_DELETE = lv_IT_DOC_DELETE
IT_DOC_INSERT = lv_IT_DOC_INSERT
IT_DOC_UPDATE = lv_IT_DOC_UPDATE
IMPORTING
ET_DB_COUNT = lv_ET_DB_COUNT ).
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