Fonction SAP /ISIDEX/ISU_DE_INV_CHECKA_070 - Check Budget Billing Amount

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
X_CONTROL INV_CONTROL_DATA v 24 Control Data for Process Module

Paramètre Reférence Type Long. Description
Y_CHANGED INV_KENNZX C 1 General Indicator 'X' or ' '
Y_RETURN TTINV_LOG_MSGBODY h 280 Bill/Payment Advice Note Processing Message Data
Y_STATUS INV_STATUS_LINE v 48 Status Information for Processes

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
XY_PROCESS_DATA TTINV_PROCESS_DATA h 296 Data for Bill/Payment Advice Note Processing

Functionality
This module is a sample module for checking the budget billing.
You cannot check the exact amounts of budget billings, but can onlycheck the plausibility:
The validation takes place in 3 scenarios, which are run in ascendingorder should the first be unsuccessful:
Scenario 1
The system selects the preceding document for budget billing of a pointof delivery that already contains a budget billing.
The system compares the budget billing amounts, taking into account thetolerance (check category 003 / check type 015) defined in thecheck framework or service provider agreement.
If the tolerance is exceeded, the message Budget billing amountdiffers too greatly from comparison value is written in the errorlog.
Scenario 2
The system selects the preceding document for budget billing of a pointof delivery. This contains a bill.
If the bill period is greater than the budget billing period, then thesystem divides the bill amount by the number of budget billings definedin the check framework or service provider agreement. It then comparesthis number with the budget billing amount, taking into account theamount difference.
If the tolerance is exceeded, then the error message Budget billingamount differs too greatly from comparison value is displayed in theerror log.
Scenario 3
To get a comparison amount, the system simulates a billing and thencompares this amount with the budget billing amount in the followingvariant (taking into account the amount tolerance):
Variant 1:
Determination of the comparison amount by dividing the total amount fromthe simulation by the number of budget billings determined in the checkframework or service provider agreement.
Variant 2:
Determination of the number of budget billings by dividing the periodfrom the simulated billing by the budget billing period.
Determination of the comparison amount by dividing the total amount fromthe simulation by the aforementioned number of budget billings.
Variant 3:
Determination of the comparison amount as in variant 2. However, thenumber of budget billings is reduced by 1.
Variant 4:
Determination of the comparison amount as in variant 2. However, thenumber of budget billings is increased by 1.
If the system could not determine a plausible budget billing amount inany of the variants, then the error message Budget billing amountdiffers too greatly from the comparison value is displayed in theerror log.