Error message: Reversal cannot be run due to missing CO documents
Description: A revaluation must be performed. The system requires you
to reverse the data first. An error occurs when the
reversal is run: Reversal not possible due to missing
CO documents
Transactions: KSPU / Revaluation
Program: SAPMKPU2
Inconsistency between CO documents (Header: Table COBK) and allocations
document management (Table T823D).
Conditions: This error occurs if revaluation documents were deleted
(using archiving objects for cost centers or using other programs)
without the corresponding T823D entries.
Install the correction program (K11K102786),
which removes the superfluous entries for Table T823D:
*---------------------------------------------------------------------*
REPORT RKCORR06.
PARAMETERS: KOKRS LIKE CSKS-KOKRS,
TESTLAUF LIKE KREO-TESTLAUF DEFAULT 'X'.
TABLES: COBK, T823D.
DATA: COUNTER LIKE SY-TABIX.
SELECT * FROM T823D WHERE TAB = 'CCSS'
AND UMGRP = KOKRS .
SELECT SINGLE * FROM COBK WHERE KOKRS = KOKRS
AND BELNR = T823D-DOCNR .
CHECK SY-SUBRC <> 0.
ADD 1 TO COUNTER.
CHECK TESTLAUF = SPACE.
DELETE T823D.
ENDSELECT.
WRITE: / TEXT-001 COLOR 6 INTENSIFIED, "Verwaltungseinträge ohne
COUNTER. "CO-Beleg:
IF TESTLAUF = 'X'.
WRITE: TEXT-003. "ermittelt
ELSE.
WRITE: TEXT-002. "gelöscht
ENDIF.
*---------------------------------------------------------------------*
Title: Reorganize Revaluation Document Management
*---------------------------------------------------------------------*
Selection texts: Name Text
KOKRS Controlling area
TESTLAUF Test run
*---------------------------------------------------------------------*
Numbered texts: 001 Admin. entries without CO documents:
002 deleted
003 determined
*---------------------------------------------------------------------*
Key word: Revaluation
No comments:
Post a Comment