Fonction SAP BKK_PAYM_ITEM_PREPARE_ITEM - Completes Payment Item Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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
E_XERR IBKK_XCHKR u 10 Indicator for Errors Occurred

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 areas
formal 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 (this

  • includes bank area, bank key, bank country, internal and external
    account number and the IBAN, if applicable)
    • Transaction type and medium

    • Type of item and process

    • Name of the account holder if the account numbers/name comparison is to

    • be checked
      • Amount exists 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 if identical to the transaction currency of

        • euro
          • Current posting date of the bank area

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

          • Processing date

          • Posting text

          • Account holder determination
          • Notes
            At the end of the function module, Business Transaction Event
            "00010020" is processed. 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 data transferred

            • 4: System error occurred

            • Caution when using the module: The developer is responsible for
            • initializing the global memory of the application type involved( BKK_PAYM_ITEM_REFRESH_ALL ). Under no circumstances may this takeplace in this module (use in the context of a processing loop acrossmultiple items).

              Further information

              • Event 000100020
              • 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.