Ansicht
Dokumentation

FINS_CFIN_CO_DOCS_IL_RESET - Delete CO Documents from Initial Load

FINS_CFIN_CO_DOCS_IL_RESET - Delete CO Documents from Initial Load

General Data in Customer Master   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

After the CO initial load, it may be necessary to delete the CO documents in the Central Finance system that have been replicated from the source system. The reasons for this may include but are not restricted to:

  • The initial load was performed on an invalid business case, for example false master data configuration, that will render the replicated documents in the Central Finance system invalid.
  • The initial load was performed for a Proof of Concept (POC) case only and the documents are only replicated for illustration purposes.

Integration

Prerequisites

The initial load process for Central Finance CO part has been completed successfully.

You have the relevant authorization to delete documents in the affected tables (COBK, ACDOCA, COEP, COEPR, COEPL, COEPT, BKPF, BSEG).

If you choose to execute the deletion in background processing, make sure the number of dialog processes available is at least as many as the number of parallel jobs specified in the selection screen during the execution of this tool. This is because the deletion is carried out in parallel tasks using dialog processes.

Features

  • If the data volume to be handled is small, you can execute the report online. To do this please uncheck the background processing checkbox.
This ensures that no parallel tasks are scheduled and that no additional dialog sessions are occupied. The progress of the report is displayed in the lower left corner of the screen. Once the deletion is complete, the system displays a summary of the results. From there, you can navigate to a second screen that displays detailed messages from each document processed

  • If the data volume to be handled is large, you can execute the report in the background.
The documents to be deleted are grouped into packages. Each package is handled with a task and multiple tasks are executed in parallel. You define the actual number of jobs in the field "Number of Parallel Jobs".
Once you choose "Execute", the report will be scheduled as a background job with the job name displayed on the bottom of the screen. You can go to transaction code SM37 to check the deletion progress. Once the job is finished, you can check the results in the job's spool list.
Note
  • If the CO document to be deleted has follow-up postings in components other than FI/CO (e.g. EC-CS, Funds Management, Joint Venture Accounting), those follow-up postings are not deleted.
  • If the CO document to be deleted is already reversed and reposted in the Central Finance system, then both the reposted document and the reversed document will be deleted.
  • The entry in table BKPF for the documents to be deleted will have their field BSTAT updated to ‘Z’.
  • Even if the CO documents are successfully deleted, the number range they have taken up previously will remain occupied for future document posting.

,,For cross company code CO documents, the following cross company code checking logic will be applied if the user provides value for the field "Company Code" in the selection screen: if only partial line items are replicated to the Central Finance system (line items containing only a subset of all company codes involved), then the document can be deleted; if line items containing all company codes involved are replicated to the Central Finance system, then the document can only be deleted when the user provides all the relevant company codes in the "Company Code" field in the selection screen.

Selection

Standard Variants

Output

If you execute the report online, the report will output a summary screen which shows the total number of documents processed. It also shows the number of documents successfully deleted, the number of documents not deleted due to error, and the number of documents cancelled during the process. The summary screen will also show the number of invalid documents for each error encountered during deletion.

If you execute the report in the background, the report's output will be available as a spool list of the task in transaction code SM37. It will include a summary of statistics as well as a list of all detailed messages for each document deleted.

Activities

1. On the selection screen, enter a value for the logical system and the controlling area of the documents in the Central Finance system. These two fields are obligatory.

2. You can enter one or more values for the company code, however this is optional.

3. Check the box "Test Run" if you are planning to perform a test run. The test run will only show the number of documents to be processed.

4. Specify the number of parallel jobs. The more parallel jobs you specify, the faster the deletion process will be. However, the more jobs you specify, the more dialog processes will be occupied. If the number of free dialog processes on the current system is very limited, the lack of dialog processes may prevent other users from running any online transactions.

Example






BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.

Length: 5709 Date: 20240531 Time: 234006     sap01-206 ( 108 ms )