Ansicht
Dokumentation

ISU_SAMPLE_2040 - IS-U: Check Limit Amounts for Interest Calculation

ISU_SAMPLE_2040 - IS-U: Check Limit Amounts for Interest Calculation

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

Functionality

The function module called up for event 2040 checks the interest calculation to see whether the determined interest items can be posted based on their amount. If interest amount is not greater than the amount limit defined in Customizing, the interest calculation is not suppressed.

Tables E_PFKKOP und E_LFKKOP are returned. They contain the interest items that are posted or not posted.

This check is not executed in certain cases. For example, during interest calculation for an interest plan; no check takes place for in the application area 'utility company' for interest calculation on cash security deposits and loans.

Dependencies

Use

The amount limit check takes place within interest determination of Contract Accounts Receivable and Payable.

Programming Notes

The interest items I_FKKOP are allocated to tables E_PFKKOP (items that can be posted) and E_LFKKOP (items that may not be posted) according to the time of the amount limit check. The allocation takes place by MOVE or MOVE-CORRESPONDING.

The items are numbered in connection with this module in the interest program.

Only a few fields are filled in the interest item at the point when this check takes place. The fields GPART (business partner), VKONT (contract account), BETRW (interest amount) und WAERS (currency), for example, could be relevant for this module. These fields are available in the items.

Special Features of Sample Module

This sample module executes the amount limit check based on the total of all items for a company code. Amount limits are used in particular to stop interest calculation if the interest amount does not justify the expenditure (for example, creation of a covering letter). You can execute the check for a complete interest document of for each interest item, using a separate function module.





Parameters

E_LFKKOP
E_MIN
E_PFKKOP
I_CASHDEP
I_FKKIA
I_FKKOP
I_HERKF
I_RULE
I_WARNING

Exceptions

SERIOUS_ERROR

Function Group

EK78

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

Length: 2268 Date: 20240523 Time: 140901     sap01-206 ( 71 ms )