Fonction SAP BAPI_SRM_DOC_DELETE - SRM BAPI: Delete Document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTCLASS BAPISRMDOC-DOCCLASS C 10 '' Location of Document
DOC_CONTEXT BAPIDOCCONTEXT u 64 X Access Context: RMS ID and SPS ID
DO_COMMIT BAPISRMDOC-BOOLEAN C 1 X 'X': Commit after Changing Attribute
OBJECTID BAPISRMDOC-GUID C 32 Internal Document ID
VERSION BAPISRMDOC-VERSION I 4 0 X Physical Version Number
WHOLE_DOCUMENT BAPISRMDOC-BOOLEAN C 1 'X': All Versions; ' ': Only Specified Version

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter

Functionality
Deletes a logical version by specifying the corresponding logicalversion or deleting the whole document.

Notes
If the version is '0', the whole document is deleted.

Description
Return value of the BAPI call

Description
Location of document (content model)

Description
Context for accessing documents. If the document is stored on a WebDAVserver, you must specify the RMS ID and SPS ID in the document context.

Description
Specifies whether a commit work needs to be executed

Description
Internal ID of document

Description
Number of the physical version to be deleted that contains the contentof the existing logical version.

Description
This parameter is optional.
If you set an "X", the document is deleted including all its versions.
If you set an empty space and do not enter a version, only the currentversion is deleted. You can then also enter the number of a physicalversion to which a logical version refers. In this case, the physicalversion and all its related logical versions are deleted.