Fonction SAP BAPI_DOCUMENT_GETSTATUSLIST - Determine Status List for a Document Type

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTTYPE BAPI_DOC_AUX-DOCTYPE C 3 Document Type
GETSTATUSNETWORK BAPI_DOC_AUX-FLAG C 1 SPACE X Determine Valid Successor for Status
STATUSEXTERN BAPI_DOC_DRAW-STATUSEXTERN C 2 SPACE X Status (External Abbreviation)
STATUSINTERN BAPI_DOC_DRAW-STATUSINTERN C 2 SPACE X Status (Internal)

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

Paramètre Reférence Long. Facultatif Description
STATUSLIST BAPI_DOC_TDWS 40 Status Data

Functionality
You can use this method to determine the features of the status thatare defined in Customizing.
If no status is entered, all the statuses that are defined for thedocument type are determined.
These are, for example:

  • List of all the statuses (F4 help)

  • Status network

  • Status types

  • .....
  • Description
    Document type

    Description
    External language-dependent status abbreviation. When an externaldocument status is entered, only its data is displayed.
    If the internal status is transferred, it always has priority.

    Description
    Internal document status
    When an internal document status is entered, only its data isdisplayed.
    If the internal status is adopted, it always has priority.

    Description
    List of status information