Ansicht
Dokumentation

SAMPLE_PROCESS_00420001 - NOTRANSL: Berechnungsmethode: Verzinsung des Saldo

SAMPLE_PROCESS_00420001 - NOTRANSL: Berechnungsmethode: Verzinsung des Saldo

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is an interface description only and does not contain any instructions. It is intended for developers of those additional components that provide their own function module at Event 00420001 (Profit from agency business).

Function module SAMPLE_PROCESS_00420001 must not be changed.

If you want to create your own function module that is to be accessed at the callup point mentioned above, proceed as follows:

  1. Copy the function module to your own name range.
  2. Do not change any transfer parameters !!
  3. Write your own coding in the copied function module.
  4. Save and activate your function module.
  5. Carry out the necessary settings in Customizing. Business Transaction Events

EVENT

This process calculates the profit of an agency business including gains and losses from interest. In the most simple form, linear interest can be calculated on the balance of incoming and outgoing payments for the period between two payments. The function module WLF_PROFIT_SIM_WITH_BALANCE implements this balance interest calculation procedure.
This process is called up within the profit simulation when all incoming and outgoing payments have been determined.

SCHNITTSTELLE

The payment data is transferred to table T_PAYMENT, which assigns the incoming/outgoing cash to each payment day. This table is sorted by payment date. A positive amount is an incoming payment, a negative amount is an outgoing payment. The currency is the same for all amounts. Interest is calculated using the interest rate I_INT_RATE, the calculation of the days relevant for the interest calculation is done using the interest calculation method I_INT_CALC_METH. The header data of the main document is transferred to the parameter I_KOMLFK_MAIN.





Parameters

CT_MSG
C_TURNOVER
E_INTEREST
E_PROFIT
I_INT_CALC_METH
I_INT_RATE
I_KOMLFK_MAIN
T_PAYMENT

Exceptions

Function Group

BFFMSMPL2

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2380 Date: 20240523 Time: 064342     sap01-206 ( 61 ms )