The Function Module BAPI_DOCUMENT_CREATENEWVERSION (Create new document version) is a standard Function Module in SAP ERP and is part of the function group CVBAPI within the package CV.
Function Module | BAPI_DOCUMENT_CREATENEWVERSION |
Short Text | Create new document version |
Function Group | CVBAPI |
Package | CV |
Module Type | Remote-Enabled |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CAD_MODE | LIKE | CSDATA-XFELD | SPACE | CAD FLag for Document Structure |
COPYORIGINALS | LIKE | BAPI_DOC_AUX-FLAG | 'X' | Copy Original |
DOCFILE1 | LIKE | BAPI_DOC_DRAW-DOCFILE1 | New File Name if not Checked In | |
DOCFILE2 | LIKE | BAPI_DOC_DRAW-DOCFILE2 | New File Name if not Checked In | |
NEWDOCUMENTVERSION | LIKE | BAPI_DOC_AUX-DOCVERSION | New Document Version | |
REFDOCUMENTNUMBER | LIKE | BAPI_DOC_AUX-DOCNUMBER | Document Number (Original Document) | |
REFDOCUMENTPART | LIKE | BAPI_DOC_AUX-DOCPART | Document Part (Original Document) | |
REFDOCUMENTTYPE | LIKE | BAPI_DOC_AUX-DOCTYPE | Document Type (Original Document) | |
REFDOCUMENTVERSION | LIKE | BAPI_DOC_AUX-DOCVERSION | Document Version (Original Document) |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DOCNUMBER | LIKE | BAPI_DOC_AUX-DOCNUMBER | Document Number | |
DOCPART | LIKE | BAPI_DOC_AUX-DOCPART | Document Part | |
DOCTYPE | LIKE | BAPI_DOC_AUX-DOCTYPE | Document Type | |
DOCVERSION | LIKE | BAPI_DOC_AUX-DOCVERSION | Document Version | |
RETURN | LIKE | BAPIRET2 | BAPI Return |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
COPYOBJECTLINKS | LIKE | BAPI_DOC_DRAD_SELECT | List of Object Links to be Copied |
This function module does not define any Exceptions.