Menu

SAP Function Module API_DOCUMENT_MAINTAIN2

Dokument anlegen/ändern aus BAPIS

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module API_DOCUMENT_MAINTAIN2 (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_MAINTAIN2
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
CHANGE_NUMBER LIKE BAPI_DOC_DRAW2-ECNUMBER Änderungsnummer
DOCUMENTDATA LIKE BAPI_DOC_DRAW2 allg. Daten zum Dokument
DOCUMENTDATAX LIKE BAPI_DOC_DRAWX2 Kennzeichen für Änderungsrelevanz
HOSTNAME LIKE BAPI_DOC_AUX-HOSTNAME SPACE Rechnername des Frontends
PF_FTP_DEST LIKE RFCDES-RFCDEST SPACE logische Destination (Wird bei Funktionsaufruf angegeben)
PF_HTTP_DEST LIKE RFCDES-RFCDEST SPACE logische Destination (Wird bei Funktionsaufruf angegeben)
PF_REPLACE_FILE LIKE MCDOK-ACTION SPACE Datei im Sicherheitsbereich überschreiben
PF_TRANSACTION LIKE SY-TCODE Transaktion (CV01-Anlegen, CV02-Ändern)
PS_API_CONTROL LIKE CVAPI_API_CONTROL DVS: Steuerung für APIS
REVISION_LEVEL LIKE BAPI_DOC_DRAW2-REVLEVEL Revisionsstand
SENDCOMPLETEBOM LIKE BAPI_DOC_AUX-FLAG SPACE Flag, ob gesamte Stüli (oder nur Delta) gesendet wird, nur bei Änderungsdienst!
VALID_FROM LIKE BAPI_DOC_DRAW2-VALIDFROMDATE Datum gültig ab

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 Rückgabestruktur

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
COMPONENTS LIKE BAPI_DOC_COMP Zusatzdateien (in spe)
DOCUMENTDESCRIPTIONS LIKE BAPI_DOC_DRAT Kurztexte
DOCUMENTFILES LIKE BAPI_DOC_FILES2 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.