Ansicht
Dokumentation

RPUDECU0PBS_FILL_COSTS - XDEC Conversion Program

RPUDECU0PBS_FILL_COSTS - XDEC Conversion Program

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program is a conversion program intended for those who have chosen to utilize the XDEC cost distribution functionality for payroll. It is needed only if payroll results exist which were calculated without the use of the XDEC functionality. The XDEC functionality uses a new payroll table, COSTS, to store the cost distribution results; payroll records that were created without the inclusion of XDEC will have an empty COSTS table. This program enables the user to create COSTS entries where COSTS entries do not exist.

In general, the user has two options for the conversion method:

  1. Convert from date: The conversion program will determine the earliest payroll period that overlaps the indicated date by at least one day. If this period contains no dependencies on earlier periods, this period will be the start period. Otherwise, the program will determine the earliest retroactive period needed, and this will be the start period. The program will then convert all results from the start period to the last period of the payroll results.
  2. Convert single period: The selected period is used in the program as the IN period of the results. The program will perform the XDEC calculation on the sets of results starting from the earliest FOR period to the latest FOR period, and will store the results back on the payroll cluster in table COSTS. Only the COSTS table will be updated with new entries; the program will not modify the results in payroll tables other than COSTS.

Integration

Prerequisites

The prerequisites to successfully run this program for an employee are as follows:

  1. XDEC must be activated in the system.
  2. The following tables must be customized:
    1. T7PBSDEC_WTGRP: Wage Type Group Definition
    2. T7PBSDEC_COSTS: Cost Distribution Definition
  3. In the case of the "Convert Single Period" method:
    1. Payroll results should be converted sequentially by period.
    2. Before the payroll results for a period can be converted, all errors that may have occurred in the preceding periods must be corrected.

Features

Selection

The selection parameters for the conversion program are a subset of those used for the standard payroll driver:

Personnel Number: A personnel number or range of numbers

Payroll Area: Indicates the payroll area for which the conversion should be done.

Start Date ("Convert From Date" method) : The date for which conversion should begin. Note that the start date does not imply that the earliest period to overlap this date will be the earliest period to be converted. The program will determine if dependencies on earlier periods exist, and convert results starting with the earliest retro-active period needed.

Selection Period ("Convert Single Period" method): The payroll period to be converted

Test Mode: An indicator for whether or not an update should be done to the payroll cluster. If the checkbox is checked, no update will be done.

Display variant: A variant for the ALV list display of the results.

Standard Variants

Output

The initial output of the report provides the status of the results: the total number of employees processed, the number of employees that were processed successfully, and the number of employees that had errors. From the status screen, the user is able to navigate either to the ALV list displaying the converted records, or to the error log.

The ALV list will display only the COSTS entries that have been successfully calculated. The results are grouped by employee and are displayed in the order in which they have been converted. Each set of COSTS entries is grouped by a sequence number. This sequence number corresponds to the payroll record for which the set of costs have been calculated.

Erroneous employees will not be included in the ALV list display. Any messages such as error, information, or warning messages that were created during processing will be contained in the error log. The log can be accessed from the ALV list display or the status screen via the error log icon. Should an error occur for a particular employee, XDEC processing will stop for that employee and will proceed with the rest of the employees in the selection. The errors that occurred for the employee must be resolved before subsequent periods for that employee can be converted.

The contents of the error log can be sorted according to problem class (the severity of a message). The classes by which the messages are categorized are 'Additional Information', 'Medium', 'Important', and 'Very Important'. By default, messages from all problem classes are all displayed together in the error log; double-clicking on a particular problem class will restrict the list to messages in that problem class only. The list entry for each message will contain the personnel number for which the message applies. Double-clicking on the list entry of the message will display the long text for the message if it exists.

Activities

Example






General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 5650 Date: 20240520 Time: 130751     sap01-206 ( 124 ms )