Menu

SAP Function Module BAPI_DOCUMENT_CREATENEWVERSION

Create new document version

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

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.

Technical Information

Function Module BAPI_DOCUMENT_CREATENEWVERSION
Short Text Create new document version
Function Group CVBAPI
Package CV
Module Type Remote-Enabled

Importing Parameters

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)

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table 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

Exceptions

This function module does not define any Exceptions.