SAP Program RPCDTAX0_CE - Preliminary Program - Data Medium Exchange for Several Payment Runs

Title
Preliminary program for DME for wage and salary payments (forconcurrent employment)

Purpose
You can use the preliminary program for DME to evaluate payroll resultsto create a database of thepayment data. Creatingpayment data is the first step in the wage and salary payment process.
You can also use the preliminary program for DME when you want to makeseveral partial payments at different times within a payroll period(qualified advance).
The preliminary program for DME can evaluate payments with differentpayment methods in onepayment run. The payment medium programs, that further process datacreated by the preliminary program for DME, select the correspondingdata records using the payment method.
The preliminary program for DME processes information from the masterdata and the payroll result of an employee. For more information, referto the sections Payment-Related Information in the Master Dataand Payment-Related Information in the Payroll Results in theSAP Library under Human Resources -> Payroll->Subsequent Activities -> Wage and Salary Payments

Integration
The payment data created by the preliminary program for DME isprocessed by country-specific payment medium program of FinancialAccounting
to create payment mediums (for example DME files for the bank,checks). You must start the subsequent program after the preliminaryprogram for DME has evaluated the payroll results for the employee andcreated the payment data.

Prerequisites
You have ended the payroll run of the payroll period for which you wantto make a remuneration payment. (Exception: You perform a qualifiedadvance before payroll has ended.)
In agreement with Financial Accounting you have checked or made thefollowing settings in Customizing:

  • Set up the payment method (in Customizing for Personnel Management
  • under Personnel Administration -> Personal Data->Bank Details -> Define Payment Method)
    • Set up house banks and house bank accounts (in Customizing for
    • Payroll under Data Medium Exchange -> PreliminaryProgram for Data Medium Exchange -> Set Up HouseBanks)
      • Define Sending Banks (using the feature
      • Sender AccountNumber For Data Medium Exchange (DTAKT) in Customizing forPayroll under Data Medium Exchange -> PreliminaryProgram for Data Medium Exchange -> DefineSending Banks)
        • Define paying company code, if you do not want to use the company code
        • stored in the Organizational Assignment infotype (0001) (usingthe feature SenderAccount Number For Data Medium Exchange (DTAKT) in Customizing forPayroll under Data Medium Exchange -> PreliminaryProgram for Data Medium Exchange -> DefineSending Banks).
          • Assign the text key for the payment transactions for transfer wage
          • types (in Customizing for Payroll unter Data Medium Exchange
            -> Preliminary Program for Data Medium Exchange ->Check Text Keys for Payment Transactions).
            This assignment is not necessary in all country versions.

            Features
            The preliminary program for DME reads the table BT_PERSON (PaymentInformation for Person) in the payroll results for each currentoriginal result of employees processed in a payment run.
            The system goes through the following steps for every entry in thistable:

            • The system determines information about the payee

            • from the entry in the table BT_PERSON
              from the table Payee Keys (T521B), if the entry in the tablePayment information (BT) contains a payee key
              from the infotypes Personal Data (0002) and Addresses(0006), if the entry in the table BT_PERSON does not have a payee keyor any payee data
              • The system evaluates the feature
              • Sender AccountNumber for Data Medium Exchange (DTAKT) to determine the followinginformation:
                paying company code
                house bank
                house bank account
                • The system reads the field Purpose to the table BT_PERSON:

                • If the field Purpose is filled, the content of the field istransferred to the payment data.
                  If the field Purpose is not filled. the following text is used:"Wage/Salary", , <(> <<)>Payroll Period> or"Pension", , <(> <<)>Payroll Period>.
                  • The system determines the payment currency:

                  • If the field Payment currency contains a currency in the tableBT_PERSON this currency is used for the payment.
                    If the field Payment Currency does not have a currency in thetable BT_PERSON, the currency from the field Currency from table Status Data for Payroll (VERSC) is used for the payment.
                    • The system reads the house bank's sort code and the recipient bank from
                    • the table Bank Master Data (BNKA).
                      • The system checks the payment data for consistency. If a payment for an
                      • employee has inconsistent data, the system does not effect the paymentfor this employee.
                        • For each entry in the table BT_PERSON the system creates an entry in
                        • the payment data.
                          If a payment run was not performed correctly (for example because of aprogram termination) you must repeat the payment run.Prerequisite for the following procedure is that you set the indicatorFlag transfers for the payment run that you want to repeat whenyou created it.
                          Make the same settings in the selection screen of the preliminaryprogram for DME that you made when you created the original paymentrun.
                          Also enter the date and the time of the payment run to be repeated inthe input fields Repeat run: Date and Time.
                          The system uses this entry to evaluate the entries in the tableBT_PERSON, which the preliminary DME has identified with data and time,but this date and time matches your input in the input fieldsRepeat run: Date and Time.
                          If you only want to evaluate entries in the table BT_PERSON that arealready flagged, set the indicator only flagged records.
                          If you do not set this indicator, the system also evaluates entries inthe table BT_PERSON which are not flagged with the date and time.
                          Choose Execute.
                          RESET N1
                          If you do not know the date and time of the payment run that you wantto repeat, proceed as follows:
                          Use the program Display Payroll Results(Report H99_DISPLAY_PAYRESULT) to display the payroll results (for anyemployee) that were evaluated during the original payment run.
                          Display the table BT_PERSON.
                          Choose an entry from the table BT_PERSON that the preliminary programfor DME flagged with the date and time during the original payment run.
                          Note the values in the fields Date and Time so that youcan enter them in the selection screen of the preliminary program forDME in the fields Repeat run: date and Time.

                          Selection
                          The selection screen of the preliminary program for DME is country-specific. Only the most important country-independent parameters aredescribed below.
                          Flag Transfers
                          We recommend that you set this flag. It ensures that the system flagseach processed entry in the table BT_PERSON with the date and time toflag them as "processed" for later payment runs. This prevents entriesin the table BT_PERSON from being processed again. If payroll is runagain after you have executed the preliminary program for DME, thesystem does not overwrite the entries indicated with the date and time,but instead performs a difference calculation. For this reason you mustalways set the indicator Flag Transfers if you want to perform aqualified advance.
                          Wage Type
                          Use these input fields to limit the payment run to certain wage types,for example if you want to pay wage types created for ExternalTransfers (Infotype 0011) separately from the employee's salary.
                          Test
                          If you set this indicator, the system only shows, as a result of thepayment run, the payments to be performed. It does not create paymentdata and does not change any data in the payroll results.

                          Standard_variants

                          Output
                          The preliminary program for DME creates a payment run that containspayment data. You can uniquely identify each payment run with acombination of Program run date, and identification feature
                          . The identification feature comes from the six-digit systemtime when you started the preliminary program for DME. The systemreplaces the last digit of the system time in the identificationfeature with a P.
                          Example: You started the preliminary program for DME on 04.14.2001 at9.25.12. You can uniquely identify the created payment run through acombination of program run data (04.14.2001) andidentification feature (09251P).
                          The payment data contained in the payment run is saved in the followingtables:

                          • Control records for the payment program (REGUV)

                          • Settlement data from payment program (REGUH)

                          • Processed items from payment program (REGUP)

                          • The data in these tables is processed further by the payment mediumprograms of Financial Accounting. For more information, access the SAPLibrary and choose Accounting -> Financial Accounting ->Accounts Payable-> Accounts Receivable and Payable ->Payments.