Ansicht
Dokumentation

RPMMO_TEMPTAB_CLEANER - Clean Up Temporary Records in Tables of PMMO

RPMMO_TEMPTAB_CLEANER - Clean Up Temporary Records in Tables of PMMO

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

The pegging report RPMMOPEG creates entries in the database tables PMMO_ASSIGN_TMP and PMMO_PARTIAL_TMP. This happens in test and update mode.

In normal circumstances, the report deletes the entries in these temporary tables at the end of a pegging run.

However, if the report is aborted then records in these tables may remain in the database.

This report will clean up the records that are no longer needed.

Integration

Prerequisites

Features

Each pegging run generates a unique run ID that is used as a key in the database tables mentioned above. It is also used to set a lock on the run ID (lock object EPMMO_PEGGING). The lock is intended to prevent this cleanup job from accidentally deleting the temporary data used by a pegging run that is currently in process.

Selection

You should run the report with the default parameters. It is only necessary to restrict the execution to a particular table or run ID for debugging purposes.

Standard Variants

Output

The system displays the run ID, table name, and the number of records that were deleted for this combination.

If a run ID is being used by a current pegging run, then this run ID will be shown with a corresponding error message to the effect that deletion of the data is not possible.

Activities

Schedule this cleanup report after the pegging run.

Example






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1750 Date: 20240601 Time: 162042     sap01-206 ( 31 ms )