Ansicht
Dokumentation

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

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

General Data in Customer Master   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Report HKWCDTA0 is used for creating a dataset from the bank transfers of a payroll run which is used as input for the payment print and tape generation program. The PCL2 data, in particular table BT for bank transfers, is the original data material for HKWCDTA0.

The program can also be used by customers who at different times perform two or more payment runs per payroll period.

If the parameter 'Set flag for transfers' has been selected, the time at which the transfer occurs (date on and time at which the payment run commences) is written to transfer table BT on database PCL2 for each transfer that is effected. This provides subsequent transfer runs with information regarding which entries in table BT have already been transferred. It also enables you to separate payment runs by specifying the appropriate wage type. You could, for example, effect a wage transfer before allowing the remaining transfers to be performed.

The payment methods from T042Z are permitted.

The report performs the following steps for each transfer:

  1. The currency key is read from table T001.
  2. If necessary, the payee key is converted using table T521B.
  3. The text keys are read for the DME C record.
  4. Determine bank data and account data for the sender using feature DTAKT (transaction PE03).
Please specify a decision tree for the field DTAKT and then define &DTAKT=nnnnn/mmmmm, in which respect
nnnnn is the bank ID in table T012 and
mmmmm is the account ID in table T012K.
Example
Dependency on the company code and the first three characters of the bank number:

Variable key DOperations

DBUKRS
**** &DTAKT=DB /GIRO ,
0001 DBANKL(3)
0001 *** &DTAKT=DB /GIRO ,
0001 600 &DTAKT=COM /TG ,

  1. The "Purpose" field
If field VERWZ (purpose) has been specified, such as for external transfers or capital formation payments, it is transferred to the DME purpose field. If field VERWZ has not been specified, such as for a bank connection, and the type of capital formation investment has not been filled, the following text is used as the purpose for the DME record:
'Wage/salary', personnel number, payroll accounting period
The following text is printed for pensioners:
'Pension', personnel number, payroll accounting period
The "Purpose" field is printed in the account statement. If the above text is not to your liking, please customize the main program HKWCDTA0.
  1. Read file BNKA
The bank number is determined from the file BNKA.

------------------------------------------------------------------------

In TEST mode 'X', the transfers read for all of the persons selected and the resulting SETH records are displayed. In TEST mode ' ', all of the incorrect transfers are listed together with the reason for the error. If one transfer is incorrect for one particular person, none of the transfers pertaining to that person is carried out.

The records are transferred to the data medium generation program, which finally creates the data carrier. The parameters

  • Program run date
  • Identification feature

must be filled from the bank transfer time of HKWCDTA0. The transfer date must be entered in the program run date field, and the time in the identification feature field. In this respect the last character of the identification feature must be a 'P'.

C A U T I O N : R E S T A R T

If HKWCDTA0 is run without the "Set flag for transfers" parameter being selected, the report can be run again without any further changes being necessary. If the above parameter has been selected, however, you must take note of the following. If HKWCDTA0 must be run again, the parameter "Repeat run: Date" and "Repeat run: Time" must be filled so that records already marked as transferred are selected again. In this respect, the date and time stored in the transfers must be specified in the parameters.

If you need to repeat a specific HKWCDTA0 run, the parameter "Flagged records only" must also be selected. If HKWCDTA0 must be run again because the program was previously cancelled, the parameter "Flagged records only" must not be set. If the parameter were set, records would be selected for the transfer for which no transfer time has been specified in addition to the records whose transfer time is compatible with the time set by the parameters.

SELECTION SCREEN

Wage Protection System (WPS):

Select this check box to update the data required for the Wage Protection System (WPS) file in REGUH and REGUP tables. The DME report uses this data to generate the WPS file. System allows you to generate an ALV to view the WPS data if you select the List Log output.

Parameters

  • Wage type
This enables you to restrict a payment run to specific wage types. In this way, several payment runs can be performed for each payroll period.
  • TEST
= ON : No data transfer to the data medium generation program
PCL2 is not updated
The transfers to be effected are printed
= OFF: Data transfer to the data medium generation program
PCL2 is updated
  • Set flag for transfers
If this parameter is flagged, the transfer date (the date on which HKWCDTA0 was run) is written together with the transfers when the transfer data is saved in PCL2. If payroll accounting is repeated (HKWCALC0), the records marked with one date are not overwritten. Instead, the payroll program performs an accounting run to determine differences.
  • Repeat run: Date
An entry should only be made for a repeat run. If a date is entered, records are selected for the payment run whose transfer time coincides with the date and time set by the parameters in addition to the records which have yet to be transferred.
  • Flagged records only
An entry should only be made for a repeat run. If the date of the repeat run has been specified and this parameter has been set, only those records are selected whose transfer time coincides with the date specified for the repeat run.





TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 7523 Date: 20240531 Time: 114815     sap01-206 ( 135 ms )