The Function Module BAPI_DOCUMENT_CREATENEWVRS2 (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_CREATENEWVRS2 |
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 |
---|---|---|---|---|
AENNR | LIKE | BAPI_DOC_DRAW2-ECNUMBER | Change Number | |
COPYCLASSIFICATION | LIKE | BAPI_DOC_AUX-FLAG | Copy Classification Data | |
COPYDOCBOM | LIKE | BAPI_DOC_AUX-FLAG | 'X' | Copy Document Structure |
COPYORIGINALS | LIKE | BAPI_DOC_AUX-FLAG | 'X' | Copy Original |
DOCBOMCHANGENUMBERREAD | LIKE | BAPI_DOC_DRAW2-ECNUMBER | Change Number for Reading the Documetn Structure | |
DOCBOMCHANGENUMBERWRITE | LIKE | BAPI_DOC_DRAW2-ECNUMBER | Change Number for Writing to the Document Structure | |
DOCBOMREVLEVELREAD | LIKE | BAPI_DOC_DRAW2-REVLEVEL | Revision Level | |
DOCBOMREVLEVELWRITE | LIKE | BAPI_DOC_DRAW2-REVLEVEL | Revision Level | |
DOCBOMVALIDFROMREAD | LIKE | BAPI_DOC_DRAW2-VALIDFROMDATE | Valid-From Date | |
DOCBOMVALIDFROMWRITE | LIKE | BAPI_DOC_DRAW2-VALIDFROMDATE | Valid-From Date | |
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) | |
REVLEVEL | LIKE | BAPI_DOC_DRAW2-REVLEVEL | Revision level | |
STATUSEXTERN | LIKE | BAPI_DOC_DRAW-STATUSEXTERN | External Status | |
STATUSINTERN | LIKE | BAPI_DOC_DRAW-STATUSINTERN | Internal Status | |
STATUSLOG | LIKE | BAPI_DOC_DRAW-STATUSLOG | Status Log |
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 | Return Structure |
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.