Ansicht
Dokumentation

FKK_SAMPLE_0785 - Calculate Account Balances

FKK_SAMPLE_0785 - Calculate Account Balances

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

Functionality

This function module calculates the balance of the items posted between the i_startdate-i_starttime and i_enddate-i_endtime.
The relevant date is the CPU date of the document in field FKKKO-CPUDT.

Example

The start date is 12.12.01; start time: 00:00:00.

The end date is 15.12.01; end time 23:59:00.

All postings from 12.,13.,14. and 15.12.2001 are used for the calculation.

Notes

One of the uses of this function module is to calculate the balances of correspondence (for example, account statement).

You should only overlay this event as an absolute exception, since the calculation of the balance correspondence can be changed.

The overlay should only be carried out by experienced developers and should only be carried out after contact with SAP.

Further information





Parameters

E_BALANCE
E_SUM_CHARGEITEMS
E_SUM_CLEARINGS
E_SUM_INSTITEMS
E_SUM_INTERESTITEMS
E_SUM_OPENITEMS
I_END_DATE
I_END_TIME
I_GPART
I_START_DATE
I_START_TIME
I_SUBAP
I_VKONT
I_VTREF
I_XALLF
T_AUGTAB
T_CHARGETAB
T_INSTTAB
T_INTERESTTAB
T_POSTAB

Exceptions

ARCHIVE_READ_ERROR

Function Group

FKK4

rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1453 Date: 20240604 Time: 111158     sap01-206 ( 32 ms )