Ansicht
Dokumentation

RFINS_CFIN_CORR_MISSING_CLRITM - Correction program to repost missing cleared items to CFIN

RFINS_CFIN_CORR_MISSING_CLRITM - Correction program to repost missing cleared items to CFIN

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

In Central Finance, an AIF message may become stuck with the error message FINS_CFIN_AC_DOC051 “Referenced document not yet posted (Comp.Code &1, F.Year &2, Document &3”).

This message is issued when a reset clearing or a clearing document has been transferred to Central Finance but it references an item which has not been transferred to Central Finance. This can occur when the system processes clearing or reset clearing documents, which affect older items that lay in the initial load period during which only balances are transferred.

To process these clearing or reset clearing documents it is necessary to retrieve the missing affected document items afterwards.

To do so, you can use the report RFINS_CFIN_CORR_MISSING_CLRITM.

Integration

Prerequisites

Features

Selection

Under Transaction Selection, you must enter a value in the field Logical Sender System and Company Code in Sender System to limit the number of AIF messages to be processed.

You can also use the following parameters to filter the results:

  • AIF Message GUID
  • Reference Procedure
  • Reference Document
  • Reference Org. Unit
  • Logical System

Under Settings for Execution, the following parameters are available:

  • Test Mode
If you choose test mode, no documents will be posted and the system only displays a list of all AIF messages which reference missing items that need to be retrieved.
  • Posting Date
You must enter a posting date. The system applies this posting date to the documents which are subsequently retrieved.
  • Document Type
You can also define a specific document type for the documents to be posted (for example, if you want to use a specific number range). If you do not define a document type, the system will retain the document type that the retrieved documents had in the source system.

Standard Variants

Output

When you run the report, the system identifies all AIF messages that are stuck with the error message FINS_CFIN_AC_DOC051 “Referenced document not yet posted (Comp.Code &1, F.Year &2, Document &3)”.

In the output list the report displays the open items that are referenced by the identified AIF messages.

If you run the report in test mode, the system displays for each item whether it can be processed or whether it has already been retrieved. Additionally, the system displays whether there are errors that you need to solve before the open items can be retrieved by the report.

If you run the report without choosing test mode, the system also displays the open items that have been successfully retrieved.

Open items contained in the documents which are subsequently retrieved will be automatically set to technically cleared in the Central Finance system.

In most cases, missing open items are referenced by a reset clearing.

After the missing items have been retrieved and the corresponding reset clearing AIF message has been restarted, all referenced open items will automatically be reopened as soon as the reset clearing has been processed.

In rare cases, the reset clearing may also be missing because it was processed before clearing transfer was activated. This means that the first AIF message which references the missing items will not be a reset clearing but a clearing AIF message.

If this is the case, you need to reopen all technically cleared open items which are referenced by the clearing AIF message. To do so, run report RFINS_CFIN_REOPN_TECH_CLRD_DOC after you have processed report RFINS_CFIN_CORR_MISSING_CLRITM.

Activities

Example






ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4372 Date: 20240520 Time: 115425     sap01-206 ( 73 ms )