Ansicht
Dokumentation

HEGCDTA0 - Preliminary Program - Data Medium Exchange for Several Payment Runs

HEGCDTA0 - Preliminary Program - Data Medium Exchange for Several Payment Runs

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Preliminary DME program for wage and salary payments

Purpose

You can use the preliminary DME program to evaluate payroll results in order to create a database, the so called payment data. Creating payment data is the first step in the process of wage and salary payment.

You can also use the preliminary DME program when you want to perform several part payments within a payroll period for different deadlines (qualified advance payment).

The preliminary DME program can evaluate payments with different payment methods in one payment run. The payment medium programs, that process data created by the preliminary DME program, select the corresponding data records using the payment method.

The preliminary DME program processes not only information from the master data, but also information from an employee's payroll results. You can find additional information in the following sections Payment-Related Information in the Master Data und Payment-Related Information in the Payroll Results in the SAP Library. Choose Human Resources-> Payroll-> Subsequent Activities -> Wage and Salary Payments.

Integration

The payment data created by the preliminary DME progam is processed by country/region-specific payment medium programs of Financial Accounting in order to create payment mediums (for example, DME files for the bank, checks). You have to start this subsequent program after the preliminary DME program has evaluated the employee payroll results and created the payment data.

Prerequisites

You have ended payroll for the payroll period for which you want to perform the wage and salary payment.(Exception: you execute a qualified advance payment before payroll has ended.)

In agreement with Financial Accounting you have checked or made the following settings in Customizing:

  • Set up the payment method (in Customizing of Personnel Management under Personnel Administration -> Personal Data -> Bank Details -> Define Payment Method)
  • Set up the house bank and house bank account (in Customizing of Payroll under Data Medium Exchange -> Preliminary Programs for Data Medium Exchange -> Set Up House Banks)
  • Define the sending bank (using the feature DS:HRDS.DSYSLO_ECI549B_DTAKTAAAAAAAAAAAAAAA___0VVV>Bank Details of the Sender for Data Medium Exchange (DTAKT) in Customizing of Payroll under Data Medium Exchange -> Preliminary program for Data Medium Exchange -> Define Sending Banks)
  • Define the paying company code if you do not want to use the company code stored in the Organizational Assginment (0001) infotype (use the feature Bank Details of the Sender for Data Medium Exchange (DTAKT) in Customizing of Payroll under Data Medium Exchange -> Preliminary Programs for Data Medium Exchange -> Define Sending Banks).
  • Assign the text key for the payment transactions to transfer wage types (in Customizing of Payroll under Data Medium Exchange -> Preliminary Programs for Data Medium Exchange -> Check Text Keys for Payment Transactions ).
This assignment is not necessary in all country/region versions.

Features

The preliminary DME program reads the table Payment Information (BT) for each current original event for the employees processed in a payment run in the payroll results.

For each entry in this table the system executes the following steps:

  • The system determines the information about the payee
  • from the entry in table Payment information(BT)

  • from table Payee Key (T521B) when the entry in the table Payment information (BT) contains a payee key

  • from infotypes Personal Data (0002) and Address(0006), when the entry in table Payment information(BT) contains neither a payee key nor payee data

  • The system evaluates the feature Bank Details of the Sender for Data Medium Exchange (DTAKT) in order to determine the following information:
  • paying company code

  • house bank

  • house bank account

  • The system reads the field Payment Notes in table Payment information(BT):
  • If the field Payment Notes is filled, the content of the field is transferred to the payment data.

  • If the field Payment Notes is not filled, the following text is used: "Wage/salary", , or "Pension", , .

  • The system determines the payment currency:
  • If the field Payment Currency in table Payment Information (BT) contains a value this is used for the payment.

  • If the field Payment Currency in table Payment Information (BT) does not contain a currency, the currency for the payment is taken from the field Currency in table Status Information of Payroll (VERSC).

  • The system reads the sort code of the house bank and the recipient bank from table Bank Master Record (BNKA).
  • The system checks the payment data for consistency. If there is a payment with inconsistent data for an employee, the system does not perform a payment for this employee.
  • For every entry in the table Payment Information (BT) the system creates an entry in the payment data.

If a payment run was not performed correctly (for example because of a program termination) you have to repeat this payment run. Prerequisite for the following procedure is that you have set the indicator Identify Transfers when creating the payment run.

  1. Make the same settings in the selection screen of the preliminary DME program that you made when creating the original payment run.
  2. In addition, enter the date and time of the payment run to be repeated in the input fields Repeat Run: Date and Time.
  3. Inputting this entry means that the system evaluates the entries in the table Payment Information(BT) that the preliminary DME program has indicated with the date and time, but whose date and time agrees with your entries in the input fields Repeat Run: Date and Time.
  4. If you only want to evaluate the entries in table Payment Information(BT) that have been selected, set the indicator only selected records.
If you do not set this indicator, the system also evaluates the entries in table Payment Information(BT) that are not indicated with date and time.
  1. Choose Execute.

If you do not know the date and time of the payment run to be repeated, proceed as follows:

  1. Using program Display Payroll Results (Report H99_DISPLAY_PAYRESULT) display one payroll result (for any employee) that was evaluted for the original payment run.
  2. Display the table Payment Information(BT).
  3. Choose an entry from table Payment Information(BT) which the preliminary DME program had indicated with time and date when creating the original payment run.
  4. Note the values in the fields Date and Time in order to enter them in the selection sreen of the preliminary DME program in the Repeat Run: Date and Time fields.

Selection

The selection screen of the preliminary DME program is country/region-dependent. The following describes only the most important international parameters.

Indicate Transfers

We recommend that you set this indicator. It ensures that the system marks every processed entry from table Payment Information (BT) with date and time in order to indicate them for later payment runs as "processed". This prevents entries in table Payment Information from being processed again by accident. When payroll is repeated, after you have performed the preliminary DME program, the system does not overwrite those entries indicated with the date and time, but instead performs a difference calculation. For this reason you must set the indicator Indicate Transfers if you want to perform qualifed advanced payments.

Wage Type

You can use this input field to limit a payment run to a certain wage type, in order for example, to pay wage types created for external transfers (Infotype 0011) separately from employee salaries.

Test

When you set this indicator the system only displays the payments to be performed as a result of the payment run. It does not create any payment data and does not change any data in the payroll results.

Standard Variants

Output

The preliminary DME program creates a payment run that contains payment data. You can clearly identify each payment run through the combination of Program run date and Identifiction feature. The Identification feature results from the six-figure system time when you started the preliminary DME program. In the identification feature the system replaces the last character of the six-figure system time with a P.

Example: You started the preliminary DME program on 04.14.2001 at 9.25.12. You can identify the payment run created by the combination of the program run date (14.04.2001) and the identification feature (09251P).

The payment data from a payment run is stored in the following tables:

  • Control Records for the Payment Program (REGUV)
  • Payment Data from the Payment Program (REGUH)
  • Processed Items from the Payment Program (REGUP)

The data in these tables is further processed by the payment medium program in Financial Accounting. You can find further information in the SAP Library. Choose Financials -> Financial Accounting -> Accounts Payable -> FI Accounts Receivable and Accounts Payable -> Payments.






CPI1466 during Backup   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 13703 Date: 20240531 Time: 144247     sap01-206 ( 241 ms )