Ansicht
Dokumentation

PTRV_DELETE_TA_RUNS - Deletion program for outdated accounting runs

PTRV_DELETE_TA_RUNS - Deletion program for outdated accounting runs

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program retrieves all accounting runs related to a credit card company; and for each accounting run, all personnel numbers (PERNR) contained in this run (table PTRV_CCC_RUNS). If there is no active receipt for an accounting run-PERNR, the assignment can be deleted. If all PERNR assignments belonging to an accounting run are deleted, the accounting run itself can be deleted.

Important Note

· For each PERNR, the program checks for records in TC-INBEL and TC-CCBEL containing the accounting run number to be checked.

Integration

Prerequisites

·The Program should be run after the PTRV_DELETE_CCBEL program which will delete outdated and unassigned receipts.

Features

Selection

1) Display outdated accounting runs:

The user must enter the credit card company details for the outdated run to be checked or choose from the F4 help. Card Company is a mandatory parameter.

2) Processing Options

Test mode and Production mode. These are radio buttons and Test mode is selected by default. Test mode does not delete any data. To choose Production mode, select the corresponding radio button.

3) Display Options

Complete Display and Remaining Display. This Complete Display option displays all the accounting runs and PERNR assignments that are deleted, partially deleted, or not deleted, using different colors according to their status. The Remaining Display option displays only the records that are not deleted. These are radio buttons and Complete Display is selected by default. To choose Remaining Display, select the corresponding radio button.

Standard Variants

Output

The Complete Display option displays the records in three colors:

a) Red: Accounting run with no PERNR deleted.

b) Green: Accounting run with all PERNR’s deleted. The accounting run itself is also deleted.

c) Yellow: Accounting run with only some PERNR’s deleted.

The Remaining Display option displays the records without color, these are only the output records that are not deleted.

Double-clicking on an accounting run entry displays the list of PERNR’s related to this run. The list contains all PERNRs in green and red for the “Complete display” option, or only the PERNRs which cannot be deleted for the “Remining Display” option.

Activities

Example






PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2718 Date: 20240531 Time: 080137     sap01-206 ( 52 ms )