Ansicht
Dokumentation

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

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

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

Description

Report HKRCDTA0 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 HKRCDTA0.

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.
Germany:
The information is stored in T520S.
A search is performed under the appropriate wage type key for the text key. Wage types '/558' and '/559' are used for transferring net pay. The modifier from table T001P is taken into account when access occurs. A 'J' must be entered as the last character for capital formation text keys. The program replaces the character with the second character of the year for which the capital formation payment is transferred, ie. PN/PABRJ+3(1).
Example: Text key 5400J is in table T520S.
For transfers in 1993, this results in 54003,
For transfers in 1994, this results in 54004,
  1. 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 HKRCDTA0.
  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 HKRCDTA0. 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 HKRCDTA0 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 HKRCDTA0 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 HKRCDTA0 run, the parameter "Flagged records only" must also be selected. If HKRCDTA0 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.

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 HKRCDTA0 was run) is written together with the transfers when the transfer data is saved in PCL2. If payroll accounting is repeated (HKRCALC0), 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.





rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 7988 Date: 20240531 Time: 040906     sap01-206 ( 149 ms )