Fonction SAP BAPI_0050_GET_DETAIL - Get FM budgeting entry document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTNUMBER BAPI_0050_FIELDS-DOCUMENT C 10 Budget entry document number
DOCUMENTYEAR BAPI_0050_FIELDS-DOC_YEAR N 4 Document year
FMAREA BAPI_0050_FIELDS-FM_AREA C 4 Financial management area
GET_ITEM BAPI_0050_FIELDS-GET_ITEM C 1 X Item data required
GET_LONG_TEXT BAPI_0050_FIELDS-GET_LONGTEXT C 1 X Long text required
GET_PERIOD BAPI_0050_FIELDS-GET_PERIOD C 1 X Period data required
GET_STANDARD_TEXT BAPI_0050_FIELDS-GET_STDTEXT C 1 X Standard text required
LANGUAGE BAPI_0050_FIELDS-LANGUAGE C 1 X Language

Paramètre Reférence Type Long. Description
HEADER_DATA BAPI_0050_HEADER_GET u 114 Header data
HEADER_DATA_ADD BAPI_0050_HEADER_ADD u 172 Header additionnal data

Paramètre Reférence Long. Facultatif Description
EXTENSION_IN BAPIPAREX 990 X Enhancements
EXTENSION_OUT BAPIPAREX 990 X Enhancements
ITEM_DATA BAPI_0050_ITEM_GET 228 X Line item
LONG_TEXT BAPI_0050_LONGTEXT 138 X Long text
PERIOD_DATA BAPI_0050_PERIOD_GET 33 X Periods
RETURN BAPIRET2 548 Return messages
SENDER_ITEM_DATA BAPI_0050_ITEM_GET 228 X Line item (senders)
SENDER_PERIOD_DATA BAPI_0050_PERIOD_GET 33 X Periods (senders)
STANDARD_TEXT BAPI_0050_STDTEXT 138 X Standard text

Functionality
This method allows you to get the data of an existing entry document.

Example

Notes
The following authorization objects are checked with activity 03(display):

  • F_FICB_FKR Financial management area

  • F_FMBU_VER Version and budget category

  • F_FMBU_DOC Document type

  • F_FMBU_ACC Account assignment

  • INCLUDE BAPI_RET

    Description
    The parameter contains the entry document header data. It is an exportparameter.
    INCLUDE BAPI_DATAELEMENT

    Value range

    Description
    The parameter contains additional header data for an entry document. Itis an export parameter.
    INCLUDE BAPI_DATAELEMENT

    Value range
    INCLUDE BAPI_KEYFIELD

    Value range
    INCLUDE BAPI_KEYFIELD

    Value range
    INCLUDE BAPI_KEYFIELD

    Value range

    Description
    This parameter is an input parameter. For information on the definitionof this parameter, see the corresponding data element documentationItem data required.

    Value range

    Description
    This parameter is an input parameter. For information on the definitionof this parameter, see the corresponding data element documentationLong text required.

    Value range

    Description
    This parameter is an input parameter. For information on the definitionof this parameter, see the corresponding data element documentationPeriod data required.

    Value range

    Description
    This parameter is an input parameter. For information on the definitionof this parameter, see the corresponding data element documentationGetStandardText.

    Value range

    Description
    This parameter allows you to specify the language in which standardtexts are passed. This parameter is an input parameter. For informationon the definition of this parameter, see the corresponding data elementdocumentation Language.

    Value range

    Default
    By default, the language is set to the logon language.

    Description
    This parameter is an import parameter. It enables you to defineadditional filter criteria determine the scope of the details.
    The table extension provided is called BAPI_TE_FMBH.
    INCLUDE BAPI_DATAELEMENT

    Value range

    Description
    This parameter is an export parameter. It is provided to allowadditional detail values to be returned.
    The table extension provided is called BAPI_TE_FMBH.
    INCLUDE BAPI_DATAELEMENT

    Value range

    Description
    The table contains the entry document item data. It is an exportparameter. The corresponding period data is passed on to
    PeriodData.
    For a process which implies sender and receiver data (e.g. Transfer andCarry over), this parameter contains receiver data.
    For a process which implies source and target data (e.g. RevenuesIncreasing Budget), this parameter contains target data.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the long text of the entry document. It is an exportparameter.
    INCLUDE BAPI_DATAELEMENT

    Value range

    Description
    The table contains the period amount per item. It is an exportparameter. The corresponding item data is passed on to ItemData
    .
    For a process which implies sender and receiver data (e.g. Transfer andCarry over), this parameter will contain receiver data.
    For a process which inplies source and target data (e.g. RevenuesIncreasing Budget), this parameter will contain target data.
    INCLUDE BAPI_DATAELEMENT
    INCLUDE BAPI_TABLE

    Value range
    Authorization messages
    TYPE ,,ID ,,NUMBER ,,MESSAGE
    E,,,,F6,,,,702,,,, No authorization for FM area &1 activity2

    Description
    The table contains the entry document item data for senders (or source).It is relevant for process that implies Sender and Receiver parts (e.g.Transfer ) or Source and Target parts (e.g. Revenues Increasing Budget).It is an export parameter.
    The corresponding period data is passed on SenderPeriodData.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the period data per item for senders. It is relevantfor a process that implies Sender and Receiver parts (e.g. Transfer) orSource and Target parts (e.g. Revenues Increasing Budget). It is anexport parameter.
    The corresponding item data are passed on tp parameterSenderItemData.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the standard text associated twith the entrydocument. It is an export parameter.
    INCLUDE BAPI_DATAELEMENT

    Value range