Ansicht
Dokumentation

RKECADL1 - Cancel CO-PA Line Items

RKECADL1 - Cancel CO-PA Line Items

ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Program for canceling and logically deleting line items in Profitability Analysis.

This program should only be used to correct inconsistencies that arose in the actual data transferred to CO-PA (for example, due to incorrect Customizing settings or a program error).

Requirements

Before you run this program, make sure that you can subsequently post the 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 these new line items.

The line items are processed in packages. In other words, as soon as the system has processed a certain number of line items, it performs a COMMIT and updates the database.

If you select the "Logical delete" option, the system deletes the RBELN (reference document number) and RPOSN (reference item number) fields from both the original line item and the cancellation line item. This means that the system no longer finds the line item, even though it physically still exists. For example, a logically deleted line item generated by an SD billing document would no longer be displayed in the list of accounting documents for that transaction. This option creates the new cancellation line item and updates the line item that already existed in table CE1xxxx.

You should use the option "Logical delete" if you cannot repost the original documents (FI or SD document, for example) that correspond to the deleted line item. This is because the system always uses the reference document and item numbers to check for those documents whether or not a line item has been posted in CO-PA.

If the subsequent posting function offers you a "Check for existing records" option, you can deactivate this check! However, if you do, you need to be careful not to post the same document to CO-PA more than once (for example, by accidentally entering overlapping selection intervals).

If you used the "Logical delete" option, you can leave the "Check for existing" function active for subsequent posting.

This program can also be executed in test mode. The system displays a log containing all the line items affected. If you are storing your data in CO-PA in two currencies in your operating concern, the log contains the document numbers for both currencies or valuation approaches. Consequently, a document number may occur more than once in the log.

You should at least enter the following as selection criteria when executing 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 do so 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.






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3434 Date: 20240531 Time: 144300     sap01-206 ( 81 ms )