Ansicht
Dokumentation

PYC_SUPPORT_DEL_PY_LOG_STORAGE - Delete Payroll Log in Payroll Control Center

PYC_SUPPORT_DEL_PY_LOG_STORAGE - Delete Payroll Log in Payroll Control Center

ROGBILLS - Synchronize billing plans   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You use this report to delete the part of payroll log that's produced by the payroll driver during the Run Payroll step and stored in the payroll log storage of Payroll Control Center. Business users can check the payroll log on the Step Details page of the Run Payroll step of a payroll process recurrence. Such messages are saved in database tables PYC_D_PY_MSGand PYC_D_PY_MSG_JOB.

You run this report in any of the following conditions:

  • When you no longer need these payroll messages
  • When the corresponding payroll process recurrences have been archived or deleted.

Notes:

  • When you run this report in dialog mode, you can export the details to a local file before you choose Deletein the output screen to actually delete the entries.
  • When this report is run in background mode, the entries are deleted directly.

Integration

Prerequisites

To run this report, you must have the relevant authorization in authorization object P_PYD_AAUT

  • PYD_AAUTC – 04

For information about how to set up roles and users in transactionPFCG, see the system documentation for the transaction by choosing the Information icon on the home screen of the transaction.

Features

For a given process recurrence, the payroll log storage contains the messages for the last run of the Run Payroll step in Payroll Control Center. Note that you can delete payroll log for the Run Payroll step even for an ongoing process recurrence.

  • If the Run Payroll step is confirmed, the messages are kept in the payroll log.
  • If the Run Payroll step is repeated, then the messages overwrite those from the last run of the step.
  • After you delete the payroll messages for given process recurrences, the messages are deleted from the Step Details page of these process recurrences in Process Management.

Selection

Period: The report selects the payroll log based on the End Date (ENDDA) of the In Period of payroll process recurrences. Payroll log will be deleted for the payroll process recurrences whose End Date (ENDDA) of the In Period are included in the specified periods.

Selection: Enter the payroll areas for which you want to delete the payroll log.

Other Options:

  • List All
If you select this checkbox, the report lists all entries that match the selection conditions from both tables.
  • List in Batch
If you select this checkbox, you can further define the maximum number of entries to be processed per batch.
  • Max. Entries per Batch
    This field is used for deleting entries in batches. If there are too many entries in each table, the report might crash due to excessive use of memory or resource. Enter a number here so that the report divides all the entries to be processed in batches for each table and only processes the specified maximum entries per batch for each table.

  • No. of Selected Entries:

PYC_D_PY_MSG Displays the number of entries selected from table PYC_D_PY_MSG
PYC_D_PY_MSG_JOB Displays the number of entries selected from table PYC_D_PY_MSG_JOB

Standard Variants

Output

In the output screen, the following statistics is displayed in the output screen:

  • Payroll area selected
  • Range of In-Period End Date selected
  • Number of selected entries for each table
  • If you selected List All, you see a message under each table.
You need to double-click each table name in the Payroll Log Storagesection and then choose the Deletebutton to delete all the listed entries in that table.
  • If you selected List in Batch, you see two messages under each table.
  • The first message provides instructions about how to delete the entries:

You need to double-click each table name in the Payroll Log Storagesection and then choose Deleteto delete the current batch of entries that are displayed.
  • The second message displays the specified maximum entries per batch.

If the total selected entries in a table require more than one batch, choosing Deletedeletes one batch of entries that are displayed, and you need to choose Deleteseveral times to delete all batches.

Tip: In dialog mode, you can export the details to a local file before you choose Delete in the output screen to actually delete the displayed entries. In background mode, these entries are deleted directly.

Activities

Example

You've defined the maximum entries per batch to be 1000, and there are 5000 entries selected in each table. Executing the report once lists the 1000 entries only for each table.

  1. Double-click table PYC_D_PY_MSGin the Payroll Log Storagesection to check these entries displayed in the message details.
  2. Download the messages if needed.
  3. Choose Deletein the output screen to delete the 1000 entries.
    And the next batch of 1000 entries for that table are displayed.
  4. Repeat steps 2 and 3 until all the 5000 entries for that table are deleted.
  5. Repeat this whole procedure to delete the selected entries for table PYC_D_PY_MSG_JOB.






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 6695 Date: 20240531 Time: 080131     sap01-206 ( 96 ms )