Ansicht
Dokumentation

RFINS_CFIN_DOCUMENTS_DELETE - Central Finance: Deletion of FI Documents

RFINS_CFIN_DOCUMENTS_DELETE - Central Finance: Deletion of FI Documents

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You use this program to reset all postings of Financial Accounting (FI) documents for one or more company codes in the Central Finance system so that you can perform a new initial load for the respective company code or company codes.

  • FI documents posted in the Central Finance system through the initial load are deleted.
  • If, additionally to the initial load, FI documents have been replicated from a source system to the Central Finance system, these documents will also be deleted with this program.
  • FI documents that have been posted directly in the Central Finance system (no replication from a source system and no initial load) will not be deleted with this program.

You can only reset the initial load for company codes that are not used productively in the Central Finance system. The program does not delete FI documents in production company codes.

Note for Cross-Company Code Postings

If you have posted cross-company code journal entries and want to reset the posted journal entries in the Central Finance system, you need to reset all affected company codes.

For example, you have replicated cross-company code postings to the Central Finance system with company codes 1000 and 2000.

Now, you would like to delete all replicated journal entries for a certain company code in the Central Finance system, for example 1000, please be aware that only postings with company code 1000 are deleted. The postings with company code 2000 remain in the Central Finance system, as well as the cross-company code journal entry number. If you try to replicate the cross-company code posting again, the replication will not work.

Integration

With this program, you can delete in the Central Finance system individual CO documents that have been replicated from the source system.
  • If you have activated Central Payments, you can use this program as long as your company code is not yet in production mode, but you must be aware that this could cause inconsistencies.
If you use the Central Payments function, you run part of your operational processes in the source system and part in the Central Finance system. This program can only delete FI documents that originate in a source system. It does not delete FI documents posted directly in the Central Finance system, such as payments posted in the Central Finance system.

Prerequisites

  • You have authorization for the transaction FINS_CFIN_DOC_DELETE.
  • Even if the source company code is used for selecting FI documents in the Central Finance system, you must nevertheless have authorization for displaying (test run) or deleting (update run) documents in the respective company code in the Central Finance system for which you want to undo the initial load.

Features

The program deletes the following documents that have been replicated to the Central Finance system or transferred and posted in the Central Finance system by the initial load:

  • FI document headers and line items and CO document headers and line items resulting from FI documents
  • Follow-on journal entries for Joint Venture Accounting (JVA), Special Ledger Accounting (FI-SL) and Profit Center Accounting (EC-PCA)

Selection

To run the program, you enter one source system (logical system) and the company code or the company codes of the source system for which you want to reset the initial load. You can select one, more than one or a range of company codes in the source system.

You can run the program in test mode to check first which documents will be deleted, before you actually delete them from the database in update mode.

You can also choose a server group to enable parallel processes that run at the same time. The standard server group (parallel_generators) is pre-entered in the selection screen, but you can overwrite this value. You can also enter a maximum number of processes and a package size to keep the deletion process as efficient as possible. This allows you to use as little time as possible for the amount of journal entries that you want to delete.

Standard Variants

Output

The system issues a log listing all documents that would be deleted (test run) or have been deleted (update run). It also displays messages for documents that could not be deleted, for example, because of missing authorizations.

You can display the log by clicking the Display Log icon on the selection screen. This also shows you the history of deletion runs.

Activities

To access this program, call up transaction FINS_CFIN_DOC_DELETE. This transaction is also part of the user role SAP_SFIN_CFIN_ADMIN which can be assigned to your user.

In general, you run the program as a background job.

Next Step

After the journal entries (FI documents) have been deleted, you must reset the number ranges manually. Please ensure this is done, as in many countries there are legal regulations that require the number ranges to be seamless.

For the following (industry) solutions, you must also delete the follow-on documents manually. To do this, please start the following programs for the respective solutions:

  • Delete Documents from Realtime Update (FICDELRUDOC00) – Consolidation (EC-CS)





PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 7989 Date: 20240601 Time: 024646     sap01-206 ( 127 ms )