Ansicht
Dokumentation

BKK_PAYM_ITEM_PREPARE_ITEM - Completes Payment Item Data

BKK_PAYM_ITEM_PREPARE_ITEM - Completes Payment Item Data

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

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

Example

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 take place in this module (use in the context of a processing loop across multiple items).

Further information





Parameters

C_ITEM
E_MSG_ACCNT
E_RETURN
E_TRNS_ATTR
E_XERR
I_CHECK_BANK_KEY
I_FOREIGN_SIGN

Exceptions

Function Group

FBI5

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2992 Date: 20240523 Time: 173856     sap01-206 ( 31 ms )