Fonction SAP BAPI_DOCUMENT_GETSTATUS - Read Document Status

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTNUMBER BAPI_DOC_AUX-DOCNUMBER C 25 Document Number
DOCUMENTPART BAPI_DOC_AUX-DOCPART C 3 Document Part
DOCUMENTTYPE BAPI_DOC_AUX-DOCTYPE C 3 Document Type
DOCUMENTVERSION BAPI_DOC_AUX-DOCVERSION C 2 Document Version

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 BAPI Return
STATUSDESCRIPTION BAPI_DOC_TDWS-DESCRIPTION C 16 Status Description
STATUSEXTERN BAPI_DOC_DRAW-STATUSEXTERN C 2 Status Abbreviation
STATUSINTERN BAPI_DOC_DRAW-STATUSINTERN C 2 Internal Document Status

Functionality
You can use this method to read the current status of the document.

Notes
The external language-dependent status abbreviation (in the appropriatelogon language) and the internal status are entered.

Description
Return structure for messages

Description
Status description
The status description is always entered in the current logon language.

Description
Language-dependent status abbreviation
The status abbreviation is always determined in the current logonlanguage.

Description
Internal document status