Ansicht
Dokumentation

RSBCS_ADRVP - BCS: Delete Obsolete Where-Used Lists for Addresses

RSBCS_ADRVP - BCS: Delete Obsolete Where-Used Lists for Addresses

Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report deletes where-used lists of addresses that were created by Business Communication Services and are no longer needed.

Background

Business Communication Services (BCS) use the Business Address Services (BAS) to store sender and recipient addresses. A where-used list must be written for each use of an address, which prevents addresses that are still in use from being deleted.

In the BAS area you differentiate between personal and company addresses. Where-used lists for personal addresses are stored in table ADRVP, and those for company addresses are stored in table ADRV.

When BSV data is reorganized with report RSBCS_REORG, the associated where-used lists of addresses are deleted. RSBSC_REORG should therefore always be started first and regularly to reduce the size of the tables.

Inconsistent statuses can result in where-used lists of addresses that have no BCS data. These obsolete where-used lists are not included in RSBCS_REORG.

Features

Report RSBCS_ADRVP can delete obsolete where-used lists. If the addresses are BCS's own direct addresses, the entire address is deleted with the last where-used list. Direct addresses are always personal addresses.

Before an address is deleted, RSBCS_ADRVP checks whether it is still used in BCS tables (for example, BCST_CAM, SOES, SOOS, SOOD). In some cases, there is no unique where-used list, so all relevant tables must be checked for each address. We therefore recommend starting the report in a batch, since it may have a long runtime.

Selection

You can select whether obsolete where-used lists of personal and/or company addresses are to be deleted. Areas of personal numbers or address numbers can be specified in order to limit the set of results, if required. Usually though, no values have to be entered here.

The report contains three parameters, which correspond to the parameters of the same name in report RSBCS_REORG:

  • Package size
    Number of table records that are read and processed by the respective table at the same time.
  • Maximum Number of Hits
    Maximum number of addresses to be deleted. You can set this to restrict runtime.
  • Test mode
    If this field is selected, no database changes will be made.

Notes

  • The following indexes should be present and active for the run:
  • Index ADR to field ADRNR of table SOES

  • Index SNM to fields MANDT and SNDNAM of table SOOS

  • Index OWN to fields MANDT and OWNNAM of table SOOD

  • Where-used lists prevent addresses from being deleted. In older releases where-used lists were often stored in non-BSC-separate addresses (e.g. business partner). In certain circumstances, business partners can only be deleted if send requests are also deleted. But if send requests cannot be deleted because the data is still required, report RSBCS_ADDRESS_REFERENCE can be used. This report replaces business partner addresses in BSC tables with direct addresses, and deletes the corresponding where-used lists.





Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3649 Date: 20240601 Time: 061236     sap01-206 ( 66 ms )