Fonction SAP BAPI_SRM_DOC_SET_STATE_CLOSED - SRM BAPI: Set Document Attributes

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

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

Functionality
Activity "Close Document". The document is set to the status"Closed".

Description
Result of BAPI call
'000': Everything OK
'001': Unexpected error
'002': Incorrect parameter used when calling function module
'004': User has no authorization for this activity
'005': Document not found
'006': One version of document not found
'007': One variant of document not found

Description
Location of document (content model) where elements are inserted

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
'X': Execute commit after attributes are changed

Description
Unique ID of document in a document class