Ansicht
Dokumentation

ATP_UPDATE_LIVECACHE_CONTENT - Synchronize liveCache Time Series with DB Tables

ATP_UPDATE_LIVECACHE_CONTENT - Synchronize liveCache Time Series with DB Tables

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose,,

The ATP check can read and aggregate transactional data directly from the database. This is time-intensive if a large amount of data requires processing. SAP liveCache can, therefore, be used as an aggregated buffer to improve system performance (for tables VBBE and RESB).

You can use this report to check the content of the liveCache and compare it to the content on the database. If a mismatch is detected, the report will synchronize the content in the liveCache. Furthermore, a database table lists all material-plant combinations that have been flagged to use liveCache. The table also indicates if the liveCache content is flagged as consistent with the data stored on the database. If, during synchronization, the system detects that the content in liveCache matches the content on the database, the corresponding material-plant combinations are flagged as consistent. When an ATP check is run, transactional data is read by liveCache if the corresponding material-plant combination has been flagged as being consistent with liveCache. Otherwise, transactional data is read from the database.

Prerequisites

SAP liveCache must be installed (see SAP Note 2407589).

Features

The report offers three initial selection options:

  • Upload Additional Data
    Get all material plant combinations in the system and put those that are not yet flagged for liveCache usage also into liveCache.
  • Validate Time Series
    Get all material plant combinations in the system that are already flagged for liveCache usage. Check if the time series in liveCache is the same as the time series computed from the database.
  • Rebuild Data After MRP/Error
    Get all material plant combinations in the system that are already flagged for liveCache usage and are also flagged as inconsistent. Compute the time series from the data in the database and correct the time series in liveCache from this data. This option is useful after a MRP run as liveCache synchronization is deactivated during MRP runs.

You can restrict the selection to specific materials. Note that specifying multiple plants and multiple materials simultaneously will select all material-plant combinations.

Having filtered the data you wish to synchronize, you can select an advanced option for running the report:

  • Reset liveCache Before Sync
    Deletes liveCache before synchronization. When this option is selected, liveCache content is calculated anew. If you do not select this option, the system calculates the difference between liveCache and the database. liveCache is updated subsequently to reflect the database version.
  • Spread liveCache Use
    If liveCache is already used for at least one material in a plant, flagging this checkbox will flag all materials in that plant for liveCache usage.
  • Check Consistency (No Sync)
    Checks if the liveCache content relating to the material-plant combinations marked as consistent in the liveCache database is consistent. No synchronization takes place. If inconsistent entries are identified, the liveCache database is updated and the inconsistent entries are flagged accordingly.

Standard Variants

To restore inconsistent material-plant combinations (that are already flagged for liveCache usage):

  • Do not select specific plants or materials. Instead, set plant to *.
  • Flag the checkbox Rebuild Data After MRP/Error.
  • Choose Execute.
    The report repairs all inconsistencies between liveCache content and database content. Upon completion, the report sets the consistency status in the liveCache database.
  • Proposed time interval for scheduling: every 5 minutes up to every hour.

To verify and synchronize material-plant combinations flagged as consistent for liveCache:

  • Do not select specific plants or materials. Instead, set plant to *.
  • Flag the checkbox Validate Time Series.
  • Choose Execute.
    The report checks inconsistencies between liveCache content and database content and repairs them. Upon completion, the report sets the consistency status in the liveCache database.
  • Proposed time interval for scheduling: daily
    Note that inconsistencies should be detected by the normal read and update routines and this option is intended solely for checking that the system is working as intended.

To use liveCache for a known set of material-plant combinations:

  • Enter the plants and materials in the corresponding fields.
  • Flag the checkbox Upload Additional Data.
  • Choose Execute.
    The report adds these entries to the liveCache database tables, synchronizes the liveCache content and sets the consistency status in the liveCache database.

Note:

  • Specifying a whole plant without entering anything for the material will only add the combinations with at least one entry in tables VBBE or RESB to prevent a large amount of combinations in the liveCache table that will never have time series in the liveCache. To add all materials without any check, enter * in the material selection.
  • Report ATP_FIND_MATERIALS_4_LIVECACHE is recommended for finding material-plant combinations with high data volume for liveCache.





CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 6247 Date: 20240531 Time: 091322     sap01-206 ( 123 ms )