Ansicht
Dokumentation

HPLCDTA0 - Preliminary program - data medium exchange for several payment runs

HPLCDTA0 - Preliminary program - data medium exchange for several payment runs

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Description

International version

Report RPCDTAX0 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 RFFOXXXU (XXX stands for the country grouping, the German version is called RFFOD__U). The PCL2 data, in particular table BT for bank transfers, is the original data material for RPCDTAX0.

The program can also be used by customers who have two or more payment runs per payroll accounting period for different deadlines.

By marking the parameter 'Set flag for transfers', the bank transfer time (date and time, set at the start of the payment run) is written to bank transfer table BT of the PCL2 database for every bank transfer carried out. As a result, the following bank transfer runs know which entries of BT have already been transferred. Payment runs can also be separated this way by the specification of a wage type; for example, the wage bank transfer can be carried out in advance before the other bank transfers.

The payment methods from T042Z are permitted.

In the report, the following steps are carried out for each bank transfer:

1) reading the currency key from T001.

2) possible conversion of a payee key using T521B.

3) reading the text keys for the DME C record.

3D)Germany:

The information is contained in T520S.

There, the argument of the respective wage type is searched for the text key. Wage types '/558' and '/559' are used for bank transfers of net pay. The modifier from T001P is taken into account during access. For the text keys for capital formation, specify 'J' as the last character. The program replaces this letter with the 2nd figure of the year in which the transfer occurs; ie. PN/PABRJ+3(1).

Example: Text key 5400J is contained in T520S.

This becomes 54003 for transfers for 1993,

and 54004 for transfers for 1994.

4) determining the sender specifications Bank and Account via feature DTAKT (transaction PE03).

Please specify a decision tree for the field DTAKT and then define &DTAKT=nnnnn/mmmmm,

where 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 ,

5) using the field Purpose

If the field VERWZ (purpose) is specified, (for example, for external bank transfers or capital formation), this field is copied into the DME field Purpose. If the field VERWZ is not specified (for example, for bank details) and the type of investment for capital formation is not filled, the text:

'wage/salary', personnel number, payroll accounting period

is used as a purpose for the DME record. For pensioners, the text:

'pension', personnel number, payroll accounting period

is printed. The field "Purpose" is printed in the account statement. If you are not satisfied with the above text, please customize it in the main program RPCDTAX0.

6) reading the file BNKA

The bank number is determined from the file BNKA.

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

In the mode TEST 'X', the bank transfers that are read, and the SETH records created from them, are displayed for all selected persons. In the mode TEST ' ', all incorrect bank transfers are listed with the reason why they are incorrect. If a bank transfer is incorrect for a person, no bank transfers are carried out for this person.

The records created are transferred to program RFFOXXXU, which finally creates the data carrier. The parameters

Program run date and

ID feature

must be filled from the bank transfer time of RPCDTAX0. The bank transfer date must be entered under the program run date, and the time under the ID feature, where the last character of the ID feature must be set to 'P'.

Report RPCDTGD0 (for Germany) is a model program which demonstrates how to start HR DME preliminary programs with FI data carrier print programs in a job.

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

A run of RPCDTAX0 for which the parameter 'Set flag for transfers' is not set can be repeated without hesitation. Otherwise the following should be considered: If RPCDTAX0 must be repeated, the parameters 'Repeat run: date' and 'Repeat run: time' must be filled so that records already flagged as transferred are selected again. The date and the time stored in the bank transfers must be specified in the parameters. If a specific run of RPCDTAX0 is repeated, the parameter 'Flagged records only' must also be marked. If RPCDTAX0 must be repeated due to a termination, the parameter 'Flagged records only' must not be set. Otherwise, in addition to the records whose bank transfer time matches the time from the parameters, the records are selected for bank transfer for which no bank transfer time has yet been stored.

Report RPCDTAX0 can also be used to process international bank transfers. An international bank transfer can only be effected if a foreign bank and payment key L have been specified in infotype 0009 "Bank Details". If a currency other than the local currency is specified, the transfer amount is converted during payroll accounting so that the transfer is effected in the appropriate foreign currency.

As a rule, a different house bank account must be specified in feature DTAKT for international bank transfers.

International bank transfers are effected using report RFFOXXXL instead of RFFOXXXU.

Requirements

Parameters:

Wage type

Here, you have the option of limiting a payment run to specific wage types. You can carry out several payment runs this way for each payroll accounting period.

Test

= ON : No data transfer to RFFOXXXU

No update of PCL2

Bank transfers to be effected are brought forward

= OFF: Data transfer to RFFOXXXU

Update of PCL2

Convert "umlauts" ?

= X : Conversion of "umlauts" and lower case letters

Otherwise : No conversion of "umlauts" and lower case letters

Set flag for transfers

By marking this parameter, the bank transfers are saved in file PCL2 so that the bank transfer date (run date of RPCDTAX0) is written for the bank transfers. If payroll accounting (RPCALCX0) is repeated, the records marked with a date are not overwritten. Instead, the payroll accounting program carries out a difference calculation.

Repeat run: Date

An entry should only be made here for a repeat run. When entering a date, the records whose bank transfer time matches the date and the time from the parameters are also selected for the payment run in addition to the records which have not yet been transferred.

Flagged records only

An entry should only be made here for a repeat run. If the repetition date is specified and this parameter is set, only the records whose bank transfer time matches the specified repetition date are selected.






rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 8004 Date: 20240520 Time: 083636     sap01-206 ( 150 ms )