Ansicht
Dokumentation

SAPF058ALEDEL - FI Customer Master Record Data Deletion Program (ALE)

SAPF058ALEDEL - FI Customer Master Record Data Deletion Program (ALE)

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Program SAPF058ALEDEL deletes vendor master data in a system environment in which vendor master data is distributed using Application Link Enabling (ALE).

The program only deletes data where the original is not in the system in which the program is being run. Business Transaction Events (BTE) decide on a general, company code, and purchase data level, in which system a data record has its original.

You can restrict the quantity of master records to be deleted by selecting

  • Vendor numbers
  • Company codes, if FI data is to be taken into account
  • Purchasing organization, if MM data is to be taken into account
  • System criteria (see below)

Note also that only master data where the deletion flag is set is taken into account (see below).

Requirements

Program modes

The program can be run in three different modes:

  1. It can delete only general data (A segments)
  2. It can delete only application-specific data (B segments)
  3. Both general and application-specific data is deleted

Check whether data can be deleted

Mode 1: The A segments selected must be marked for deletion, and there must be no more dependencies to B segments. For example, no company code date may exist for a vendor if the general data is to be deleted.

Also, general data cannot be deleted if the vendor is a business partner of another vendor, or if one of his contact persons is also assigned as contact partner to another vendor (table KNVP: Partner usage).

Mode 2: The application-specific data selected must satisfy the appropriate application criteria:

  • FI: Company code data can be deleted if there are no special G/L figures or transaction figures, and if there are no open or cleared items. In addition, the deletion flag must be set at company code level.

Mode 3: The A or B segments selected must be marked for deletion. A record is deleted in the A and B segment if the deletion flag is set in the A segment. A record is deleted only in the B segment if the deletion flag is set in the B segment. In addition, the application-specific data must satisfy the criteria in mode 2.

The A segments are deleted when all the dependent B segments are deleted and the vendor is not referenced anywhere else.

Output

Detail log

If 'Detail log' is set on the selection screen, several lists are output that display the master that has not been deleted separately according to general and application-specific data. The reason that the data was not deleted is also displayed.

Summary log

A summary log is always issued after the detail log. The first part contains information about the quantity of general data read and which could be deleted. Then the statistics about the different applications are given. At the end of the summary log, general data about the deletion run, for example, user name and selection is output.

Miscellaneous

If you are starting this deletion program for the first time and you want to carry out the link check (standard setting), you have to start program SAPF047 first, in order to generate the link information.






General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3544 Date: 20240520 Time: 093546     sap01-206 ( 119 ms )