SAP Function SAMPLE_INTERFACE_00109100 - Description of Process Interface 00109100

Parameter Reference Type Length Default Optional Text
I_BPDK BPDK u 184 X Header Entry Document
I_BPDKT BPDKT u 96 X Header Text Entry Document
I_BPIN BPIN u 1052 X Import Parameters for Accessing Functions in Budget/Planning

Parameter Reference Type Length Text
E_ERROR_LOG 0
E_ERROR_OCCURED 0

Parameter Reference Length Optional Text
T_BPDG BPDG 65 X Total Values Entry Document
T_BPDJ BPDJ 77 X Annual Values Entry Document
T_BPDP BPDP 303 X Period Values Entry Document
T_BPDZ BPDZ 76 X Line Entry Document
T_BPDZ_ERROR BPDZ 76 X Line Entry Document


DEFINE &TEXT& = 'Checks by the customers on budget entry documents'
DEFINE &EVENT& = '00109100'
DEFINE &TYPE& = 'INTERFACE'
INCLUDE FI_OPEN_FI_DOCUMENTATION_1 OBJECT DOKU ID TX

EVENT
This event is only executed for all budget transactions that write aentry document, if the document is saved or checked. User-definedvalidations can be executed during this event.
Function module FM24_CHECK_HIERARCHY is provided in component PublicSector (IS-PS) as an example of a function module that, as preparationfor transaction Distribute, checks that all receiver FM accountassignments lie under the sender FM account assignments in analternative funds center hierarchy and an alternative commitment item.
You can use this example (that is, copy the function module to yournamespace after making the relevant adjustments), if you have activatedthe following IMG activities in the Customizing of FundsManagements Government :

  • Activate Global Functions for German Local Authorities

  • Define Global Parameters: No Budgeting Hierarchy.
  • INTERFACE
    The following parameters are available:

    I_BPDK
    Document header data

    I_BPDKT
    Text for document header

    I_BPIN
    General parameters

    E_ERROR_OCCURED
    If no user-defined error message is issues, E_ERROR_OCCURED = 'X' mustbe set in case of error.

    E_ERROR_LOG
    Instead of directly issuing an error message, it can also betransferred via a message handler. In this case, E_ERROR_OCCURED = 'X'and E_ERROR_LOG = 'X' must both be set.

    T_BPDZ
    Table for entry document lines. T_BPDZ contains the sender and receiveraccount assignments for each entry document line items.

    T_BPDJ
    Table for annual values. If annual values are posted, BPDJ containsmore information such as fiscal year, budget category, value type,budget type, budget subtype, values entered, and so on for each entrydocument line items

    T_BPDG
    Table for overall values. If overall values are posted, BPDG containsmore information such as budget category, value type, budget type,budget subtype, values entered,... for each entry document line item

    T_BPDP
    Table with period values

    T_BPDZ_ERROR
    If no user-defined message is issued when an error occurs, theincorrect posting lines can be set in table T_BPDZ_ERROR so that theyare flagged.