10.12.10

SAP Note 12363 - Retroactive accounting print with different splits

Symptom:

In the remuneration settlement, wage types are printed for which the amount, the number and the rate equals zero (0). This occurs especially in connection with retroactive accounting differences, for which variable splitting is present.
Syptoms vary. This depends for the most part on corresponding payroll results or on the form definition.

    1. Split indicators are not deleted in table T512E.
    Wage type appears doubled in a retroactive accounting:
    once with positive and once with negative values.
    2. Split indicators are deleted in table T512E.
    Wage type appears only once in a retroactive accounting:
    there are no values or only 0 is printed.

Example (payroll result):

Wage type WPBP split ... Amount For-period In-period
MA10 01 1000,00 01/1995 01/1995

MA10 01 750,00 01/1995 02/1995
MA10 02 250,00 01/1995 02/1995

As per encoding in the T512E (split indicator management) the following output is printed in the remuneration settlement:

MA10 250,00-
MA10 250,00
or
MA10 0,00 (Split indicators were removed)

Additional key words
Cause and prerequisites

The wage type has different split indicators on the retroactive
accounting run as opposed to the original payroll.

Solution
In include RPCEDS00 in the routine EDIT-FORM the change marked with VKIK112423 has to be done:

PERFORM DELETE-ENTRIES.
PERFORM DELETE-FROM-XRT. "VKIK112423
PERFORM CHECK_PRINT USING PRINT_OKAY. "VKIK80555
IF PRINT_OKAY EQ TRUE. "VKIK80555

Additionally the routine DELETE-FROM-XRT in the include RPCEDS00 between the routines DELETE-FROM-RT-2 and CORRECT-VERSION has to be inserted:

ENDFORM. "DELETE-FROM-RT_2.

FORM DELETE-FROM-XRT. "VKIK112423
LOOP AT XRT
WHERE ANZHL EQ 0
AND BETPE EQ 0
AND BETRG EQ 0.
XRT-DELET = TRUE.
MODIFY XRT.
ENDLOOP.
ENDFORM. "DELETE-FROM-XRT "VKIK112423

FORM CORRECT-VERSION.

Key word: RPCEDTx0

No comments:

Post a Comment