SAP Program RKECADL1 - Cancel CO-PA Line Items

Description
Program for canceling and logically deleting line items inProfitability Analysis.
This program should only be used to correct inconsistencies that arosein the actual data transferred to CO-PA (for example, due to incorrectCustomizing settings or a program error).

Precondition
Before you run this program, make sure that you can subsequently postthe deleted data to CO-PA again. If necessary, contact the SAP hotline.

Output
This program selects line items from actual data table CE1xxxx (xxxx =operating concern) and makes a cancellation posting for each line item.Both table CE1xxxx and the segment level CE3xxxx are updated with thesenew line items.
The line items are processed in packages. In other words, as soon asthe system has processed a certain number of line items, it performs aCOMMIT and updates the database.
If you select the "Logical delete" option, the system deletes the RBELN(reference document number) and RPOSN (reference item number) fieldsfrom both the original line item and the cancellation line item. Thismeans that the system no longer finds the line item, even though itphysically still exists. For example, a logically deleted line itemgenerated by an SD billing document would no longer be displayed in thelist of accounting documents for that transaction. This option createsthe new cancellation line item and updates the line item that alreadyexisted in table CE1xxxx.
You should use the option "Logical delete" if you cannot repost theoriginal documents (FI or SD document, for example) that correspond tothe deleted line item. This is because the system always uses thereference document and item numbers to check for those documentswhether or not a line item has been posted in CO-PA.
If the subsequent posting function offers you a "Check for existingrecords" option, you can deactivate this check! However, if you do, youneed to be careful not to post the same document to CO-PA more thanonce (for example, by accidentally entering overlapping selectionintervals).
If you used the "Logical delete" option, you can leave the "Check forexisting" function active for subsequent posting.
This program can also be executed in test mode. The system displays alog containing all the line items affected. If you are storing yourdata in CO-PA in two currencies in your operating concern, the logcontains the document numbers for both currencies or valuationapproaches. Consequently, a document number may occur more than once inthe log.
You should at least enter the following as selection criteria whenexecuting the program:

  • Operating concern

  • Record type

  • Reference document number

  • or alternatively:
    • Operating concern

    • Record type

    • Period/year

    • Whenever you cancel/delete and then repost data, you should always doso in a test system before trying it in your production system.
      If the data volume to be processed exceeds several thousand line items,you should divide the correction into several smaller runs.

69370INFO: Clearing data inconsistencies in CO-PA
601646EDT: Error KF102 without document number and item
126937INFO: Correction of billing data inconsistency
201473KE21: Incorrect values