Programme SAP RPCDTAR0 - Preliminary Program - Data Medium Exchange for Several Payment Runs


International version adapted for Singapore
Report RPCDTAR0 is used for creating a dataset from the bank transfersof a payroll run which is used as input for the payment print and tapegeneration program RFFOXXXU (XXX stands for the country grouping, theGerman version is called RFFOD__U). The PCL2 data, in particular tableBT for bank transfers, is the original data material for RPCDTAR0.
The program can also be used by customers who have two or more paymentruns per payroll accounting period for different deadlines.
By marking the parameter 'Set flag for transfers', the bank transfertime (date and time, set at the start of the payment run) is written tobank transfer table BT of the PCL2 database for every bank transfercarried out. As a result, subsequent bank transfer runs know which BTentries have already been transferred. Payment runs can also beseparated by specifying a wage type; for example, pay remittance can becarried out in advance of other bank transfers.
The payment methods given in T042Z are permitted.
In the report, the following steps are carried out for each banktransfer:
1) Reading the currency key from T001
2) Conversion of a payee key using T521B, if necessary
3) Reading the text keys for the DME C record
The relevant information is stored in T520S.
The program searches for the text key under the respective wage typekey in this table. Wage types '/558' and '/559' are used fortransferring the payment amount, and the modifier in T001P is takeninto account during access. You need to enter a 'J' for the lastcharacter of the capital formation text keys. The program thenreplaces this letter with the last digit of the year in which thetransfer is effected, i.e. PN/PABRJ+3(1).
Example: Text key 5400J is stored in T520S.
This becomes 54003 for transfers for 1993,
and 54004 for transfers for 1994.
4)
Using feature DTAKT (transaktion PE03) to set the sender specificationsfor the bank and the account
First specify a decision tree for the DTAKT field, then defineDtakt=nnnnn/mmmmm,
whereby nnnnn is the bank ID in table T012 and
mmmmm denotes the account ID in table T012K.
Example:
Dependency of the company code and the first three characters of thebank number:
Variable key DOperations
DBUKRS
**** &DTAKT=DB /GIRO ,
0001 DBANKL(3)
0001 *** &DTAKT=DB /GIRO ,
0001 600 &DTAKT=COM /TG ,
5)
Using the 'Purpose' field
If the VERWZ field (purpose) is specified, (e.g. for external banktransfers or capital formation), this field is copied into the DME'Purpose' field. If the VERWZ field is not specified (e.g. for bankdetails), and no entry is made for the capital formation investmenttype, the text printed as the purpose in the DME record is:
'Wage/salary', personnel number, payroll accounting period
For pensioners, the text is:
'Pension', personnel number, payroll accounting period
The 'Purpose' field is printed on the account statement. If these textsare not suitable, you can use RPCDTAR0, the main program, to customizethem.
6)
Reading the BNKA file
The bank number is determined from the BNKA file.
------------------------------------------------------------------------
The TEST 'X' mode displays the bank transfers that are read and theSETH records created from these for all persons selected. The TEST ' 'mode lists all incorrect bank transfers and the reasons for this. Anincorrect bank transfer results in no transfers being carried out forthe person in question.
The records created are transferred to program RFFOXXXU, which thencreates the data carrier. You need to enter the bank transfer timestored in RPCDTAR0 for the following parameters:
Program run date
ID feature
Enter the bank transfer date under the program run date and thetransfer time under the ID feature, being sure to use a 'P' as the lastcharacter of this feature.
C A U T I O N : R E S T A R T
RPCDTAR0 can be repeated without any problem if the parameter 'Set flagtransfers' is not set. Please note the following if this is not thecase: If RPCDTAR0 has to be repeated, the 'Repeat run: date' and'Repeat run: time' parameters must be filled to ensure that recordsalready flagged as transferred are selected again. These parametersmust contain the date and the time stored in the bank transfers. If aspecific run of RPCDTAR0 is to be repeated, the parameter 'Flaggedrecords only' must also be marked. If you have to repeat RPCDTAR0because it was cancelled, make sure the parameter 'Flagged recordsonly' is not set. Otherwise, the program will also select records fortransfer that have no bank transfer time entered for them as yet, andnot just those records whose transfer times match the time given in theparameters.
Report RPCDTAR0 can also be used to process international banktransfers. An international bank transfer can only be effected ifpayment key L and the foreign bank are specified in infotype 0009('Bank Details'). If a currency other than the local currency isspecified, the transfer amount is converted during payroll accountingso that the transfer is effected in the appropriate foreign currency.
As a rule, a different house bank account must be specified in featureDTAKT for international bank transfers.
International bank transfers are effected using report RFFOXXXL insteadof RFFOXXXU.

Precondition
Parameters:
Wage type
Here, you have the option of limiting a payment run to specific wagetypes. This enables you to carry out several payment runs for eachpayroll 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 PCL2together with the bank transfer date (RPCDTAR0 run date). If payrollaccounting (RPCALCR0) is repeated, the records marked with a date arenot overwritten. Instead, the payroll accounting program carries out adifference calculation.
Repeat run: Date
An entry should only be made here for a repeat run. When entering adate, the records with bank transfer times that match the date and timein the parameters are also selected for the payment run, in addition tothe records that have not yet been transferred.
Flagged records only
An entry should only be made here for a repeat run. If the repeat dateis specified and this parameter is set, the program only selects thethe records whose bank transfer time matches the specified repeat date.