Fonction SAP BAPI_MATPHYSINV_GETDETAIL - Read items for a physical inventory document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FISCALYEAR IKPF-GJAHR N 4 Fiscal Year
PHYSINVENTORY IKPF-IBLNR C 10 Physical inventory document

Paramètre Reférence Type Long. Description
HEAD BAPI_PHYSINV_HEAD u 190 Header data of phys. inv. doc.

Paramètre Reférence Long. Facultatif Description
ITEMS BAPI_PHYSINV_ITEM 523 X Physical inventory document item data
RETURN BAPIRET2 548 Return messages

Functionality
The GetDetail method uses the key fields of a physical inventorydocument to read a whole document (header and items). The system doesnot block the document during this process.

Notes
INCLUDE BAPI_BERECHTIGUNG

  • M_ISEG_WIB,,Plant authorization for physical
  • inventory
    Transfer
    The key fields of the physical inventory document (PhysInventory andFiscalYear) have to be transferred to the method as import parameters.
    The data for each item is imported in the Items table.
    Confirmations
    INCLUDE BAPI_RET

    Further information
    INCLUDE BAPI_INVENTUR_WEITERINF

    Description
    This structure contains the header data of the physical inventorydocument.
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    This table contains the item data of the physical inventory document.
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_TABLE

    Value range
    INCLUDE BAPI_INVENTUR_RETURN