Fonction SAP BAPI_0036_GET_DETAIL - Get the detail of a GM budget entry document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTNUMBER BAPI_0036_FIELDS-DOCUMENT C 10 GM Budget Entry Document Number
GETITEM BAPI_0036_FIELDS-GETITEM C 1 X Get item data
GET_FM_ITEM BAPI_0036_FIELDS-GET_FM_ITEM C 1 X FM line item (get detail)

Paramètre Reférence Type Long. Description
HEADER_DATA_ADD BAPI_0036_HEADER_ADD u 35 GM: additional header data
HEADER_DATA_GET BAPI_0036_HEADER_GET u 113 Header data for GM entry document (get detail)

Paramètre Reférence Long. Facultatif Description
EXTENSION_IN BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
EXTENSION_OUT BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
FM_ITEM_DATA BAPI_0036_FM_DATA_GET 204 X Fiscal year distribution (get detail)
ITEM_DATA BAPI_0036_ITEM_GET 213 X Line item (get detail)
RETURN BAPIRET2 548 X Return Parameter

Functionality
With this method you can get the details of an existing GrantsManagement (GM) budget document.

Notes
The authorization for the display of GM budget entry document is checked.
INCLUDE BAPI_CUST1
INCLUDE BAPI_CUST_INOUT
INCLUDE BAPI_CUST2

  • Documentnumber

  • The number of the document to be retrieved.
    • Getitem

    • The default is to get details on the header. For details on GM budgetitem data, the parameter Getitem should be set.
      • GetFmItem

      • For additional details on the fiscal year distribution (FM data), theparameter GetFmItem should be set.

        Description
        This is an export parameter for the additional header data.
        INCLUDE BAPI_DATAELEMENT

        Description
        This is an export parameter and contains the header data of the GMbudget entry document.
        INCLUDE BAPI_DATAELEMENT
        INCLUDE BAPI_KEYFIELD

        Description
        This is an import parameter. It is set when retrieval of GM budget lineitems is required.
        INCLUDE BAPI_DATAELEMENT
        GETITEM

        Description
        This is an input parameter. It is set, when retrieval of fiscal yeardistribution (FM line item data) is required.
        INCLUDE BAPI_DATAELEMENT
        GETITEM

        Description
        INCLUDE BAPI_EXTIN
        The table extension provided in this case is: BAPI_TE_GMBDGTHEADER

        Description
        INCLUDE BAPI_EXTOUT

        Description
        This table contains the fiscal year distribution (FM line items) of GMbudget document to be retrieved.
        INCLUDE BAPI_DATAELEMENT

        Description
        This table contains the GM budget line item for the entry document to beretrieved.
        INCLUDE BAPI_DATAELEMENT

        Description
        INCLUDE BAPI_TABLE

        Value range
        Authorization messages
        TYPE,,,,ID,,,,NUMBER,,,,MESSAGE
        E,,,,GRANTMGMT,,,,820,,,, No authorization for activity &1 on a budgetdocument