Menu

SAP Function Module API_DOCUMENT_MAINTAIN

Dokument anlegen/ändern aus BAPIS

The Function Module API_DOCUMENT_MAINTAIN (Dokument anlegen/ändern aus BAPIS) is a standard Function Module in SAP ERP and is part of the function group CVBAPI within the package CV.

Technical Information

Function Module API_DOCUMENT_MAINTAIN
Short Text Dokument anlegen/ändern aus BAPIS
Function Group CVBAPI
Package CV
Module Type Normal Module

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 für Dokumentstückliste
DOCUMENTDATA LIKE BAPI_DOC_DRAW allg. Daten zum Dokument
DOCUMENTDATAX LIKE BAPI_DOC_DRAWX Kennzeichen für Änderungsrelevanz
HOSTNAME LIKE BAPI_DOC_AUX-HOSTNAME SPACE Rechnername des Frontends
PF_COPY_LINKS LIKE MCDOK-ACTION 'X' Kopiere Linke bei neuer Version
PF_REPLACE_FILE LIKE MCDOK-ACTION SPACE Datei im Sicherheitsbereich überschreiben
PF_TRANSACTION LIKE SY-TCODE Transaktion (CV01-Anlegen, CV02-Ändern)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DOCUMENTNUMBER LIKE BAPI_DOC_AUX-DOCNUMBER Dokumentennummer
DOCUMENTPART LIKE BAPI_DOC_AUX-DOCPART Teildokument
DOCUMENTTYPE LIKE BAPI_DOC_AUX-DOCTYPE Dokumentenart
DOCUMENTVERSION LIKE BAPI_DOC_AUX-DOCVERSION Dokumentenversion
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
CHARACTERISTICVALUES LIKE BAPI_CHARACTERISTIC_VALUES Merkmalsbewertungen
CLASSALLOCATIONS LIKE BAPI_CLASS_ALLOCATION Klassifizierungen
DOCUMENTDESCRIPTIONS LIKE BAPI_DOC_DRAT Kurztexte
DOCUMENTFILES LIKE BAPI_DOC_FILES Originale
DOCUMENTSTRUCTURE LIKE BAPI_DOC_STRUCTURE Dokumentenstückliste
LONGTEXT LIKE BAPI_DOC_TEXT Langtexte
OBJECTLINKS LIKE BAPI_DOC_DRAD Objektverknüpfungen

Exceptions

This function module does not define any Exceptions.