Fonction SAP BAPI_DOCUMENT_GETOBJECTDOCS - Determine Documents for an Object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CURRENTVERSIONSONLY BAPI_DOC_AUX-FLAG C 1 X Document Management Flag
DATE BAPI_DOC_DRAW2-VALIDFROMDATE D 8 X Valid-From Date
OBJECTKEY BAPI_DOC_DRAD-OBJECTKEY C 50 Object Key
OBJECTTYPE BAPI_DOC_DRAD-OBJECTTYPE C 10 Object Category

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

Paramètre Reférence Long. Facultatif Description
DOCUMENTLIST BAPI_DOC_KEYS 33 Linked Documents

Functionality
You can use this method to determine all the documents that are linkedto an object (for example, material master).

  • The internal descriptions from TCLO are used for the object type (for
  • example, MARA for material master).
    • The object key is copied as a string (according to TCLO).
    • Description
      Return structure for messages

      Description
      Object key that the linked documents are delivered for.
      The object key is copied as a string (according to table TCLO).

      Description
      Object type that the linked documents are determined for.
      The internal descriptions from table TCLO are used for the object type(for example, MARA for materials).

      Description
      List of linked documents
      Only the key fields of the document are returned.