Ansicht
Dokumentation

SAPF056V - FI Customer Master Data Archiving: Proposal List

SAPF056V - FI Customer Master Data Archiving: Proposal List

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Program SAPF056V allows you to automatically set archive indicators for vendor master data that can be archived. The system carries out the same checks as it usually carries out for archiving.

The system creates a proposal list. You can set and save the archiving indicators directly in this list.

If you start the program in the background, the archiving indicators are automatically set for all archivable data.

You can archive only those master records for which the indicators have been set. If you want to archive a data record displayed as archivable, you must therefore set the indicator under "Archive selections".

The number of master records to be checked depends on the following selections:

  • Customer numbers
  • Minimum number of days in the system
  • Company codes (if FI data is to be taken into account)
  • Sales organization (if SD data is to be taken into account) and
  • System conditions (see criteria below).

Requirements

Program Modes

This program can be run in three different modes:

  1. Only general archiving data is specified (so-called A segments)
  2. Only application-specific data for archiving is specified (so-called B segments)
  3. Both general data and application-specific data is specified (either general and FI data, or general and SD data).

Check on Whether Data can be Archived

Mode 1: There must be no dependencies between the selected general data and the application-specific data. For example, company code data for a customer must not still exist if the general data is to be archived.

Furthermore, you cannot archive the general data if the customer is a business partner of another customer, or one of his contact persons is also assigned to another customer as a contact person (table KNVP: Customer Master Partner Functions)

To enable archiving itself to take place, you must set the archiving indicator.

Mode 2: The selected application-specific data must fulfill the following application criteria:

  • FI: You can archive company code data provided the following do not exist:
  • Special G/L figures

  • Transaction figures

  • Open items

  • Cleared items.
    The archiving indicator must also be set at company code level.

  • SD: You can archive sales area data if the customer for the sales area is not active in a customer hierarchy (table KNVH) and the customer and his contact person are not active as a partner in sales documents (VBPA). For performance reasons, the sales document check can also be switched off. To enable archiving to take place, the archiving indicator must be set at sales organization level.

Mode 3: The application-specific data must fulfill the criteria in mode 2. General data is archived once all dependent application-specific data has been archived and there are no other references to this customer.

The following criteria is applicable with regard to archiving itself:

Both the general and application-specific data of the master record is archived if you set the archiving indicator in the general data segment. To archive the application-specific data only, set the archive selection indicator in the application-specific segment only (in which case the general data segment is merely copied into the archive). General data segments without the corresponding application-specific segments are not archived in this mode.

For all modes: Customer data cannot be archived if the customer in question is linked at general data or company code level to another customer (for example, via fiscal address or alternative payee). This check can however be switched off (by selecting the field "FI link validation off") if you know that all linked customers are archived.

Output

If you run this program online, it displays a list of general data and/or application-specific data that can be archived (depending on your selections). You can then alter and save the archive selections.

If you selected "non-archivable customers" on the selection screen, the program also displays the data that could not be archived, together with the reasons why it could not be archived.

A warning is also possible for general data, and if such a warning is issued, this means the general data record was not deleted from the database, but copied into the new archive. This can lead to different versions of a customer in the database and in the archive and must be taken into account during subsequent reloading. The application-specific data can usually be used to shed light on the reasons for a warning or an error relating to the general data.

If (when working online) you save the list of archive indicators shown on the first list or you start this program as a background job, a second list is displayed detailing all updates of archive selections (both successful and erroneous).

Miscellaneous

If you are running this program for the first time and you have carried out the FI validation link check (default setting), then you must first start program SAPF047 (in order to generate the link information (KLPA)).

Related Programs

Archiving SAPF056, Deletion SAPF056D, Reloading SAPF057.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 5954 Date: 20240520 Time: 073950     sap01-206 ( 107 ms )