Fonction SAP BKK_PAYM_ITEM_PREPARE_ITEM_DI - Checks Payment Item Data in Direct Input

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_CHECK_AI BKK_XFELD C 1 X X Field
I_FOREIGN_SIGN I I 4 X 1 = Credit; 2 = Debit; 0 = No Check

Paramètre Reférence Type Long. Description
E_MSG_ACCNT IBKK_ITEM-ACNUM_EXT C 35 Account Number for Messages
E_RETURN SYST-SUBRC I 4 0: No Errors
E_TRNS_ATTR TBKKG3 u 39 Attributes of Transaction Type

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
C_ITEM IBKK_ITEM u 1444 Data Structure of Payment Item

Functionality
The functionality of this function module is divided into the areasformal check, and completion of missing data for additional checks.
The formal check comprises the following points:

  • Existence of the account and completion of the key fields (including
  • bank area, bank key, bank country, internal and external accountnumber and the IBAN, if applicable)
    • Transaction type and medium

    • Amount in transaction currency

    • +/- sign of the amount matches the +/- sign of the transaction type

    • Posting date and value date (if applicable)

    • Reversal permitted (if the reversal indicator is set)

    • Existence of the reference number from payment transactions if the
    • payment item is initiated externally
      The following data is completed:
      • Amount in account currency provided it is identical with the transaction
      • currency or euro
        • Current posting date of the bank area

        • Setting of posting date and value date of the payment item

        • Processing date

        • Posting text

        • Account holder determination
        • Notes
          At the end of the function module, open BCA event "BITPO002" isprocessed. Users can integrate their own function modules.
          The following return codes are used:
          - 0: No errors
          - 1: Error(s) detected
          - 2: Account does not exist
          - 3: Invalid amounts transferred

          Description
          Only fill in this field for externally initiated payment transactions.For each payment item, the feeder system knows whether the item is acredit or a debit. This information is transferred here and comparedwith the value defined for our transaction type.