Programme SAP RPU40A10 - XPRA HR Benefits: Convert savings plans, payment frequency

Description
The purpose of this XPRA is to fill the new field PERIO on existingemployee Savings plan (Infotype 0169) records.
Information
This XPRA report is not an online report. It is a report which runsautomatically following a system upgrade.
If your system is 4.0 or younger, this report should already have runwhen your system was upgraded to 4.0.
However, there will be no damage to data if you run this report onlineagain, if necessary. The report will repeat its task, and not touch anydata coversions it has previously carried out.

Output
For every employee Savings plan (Infotype 0169) record, in which thefield PERIO is unfilled (=initial), the report follows the followingalgorithm:
For the validity of the 0169 record, it reads the employee'sOrganizational assignment (Infotype 0001) record and takes theentry/ies for the Payroll area (ABKRS).
If there is only one entry for ABKRS, for the entire validity of thethe 0169 record, then the report performs 3-5 If there is more thanone, the report performs 6-9.
For the ABKRS, the report then reads the Period modifier (PERMO) fromthe Payroll area table (T549A).
Using PERMO the report gets the Time unit (ZEINH) from Periodparameters(T549R).
The report then updates the employee's 0169 record/field PERIO, withthe T549R-ZEINH.
PERIO=ZEINH
0169 I----------------------------------I
0001/ABKRS <----------------------------------------------->
T549A/PERMO <----------------------------------------------->
T549R/ZEINH <----------------------------------------------->
For each ABKRS that the report finds, it reads the PERMO from T549A.
Using each PERMO the report gets the Time units (ZEINH) from Periodparameters(T549R).
The report then creates a NEW 0169 record, for each ZEINH found. Thesenew records reflect the validity of the employee's 0001 records, exceptthat the begin date of the first record and the end date of the lastrecord reflect the begin and end date of the original record.
The original 0169 record is deleted.
$100
0169 before -> deleted I--------------------------------------I
$100/week $100/month
0169 after I-----------II-------------------------I
0001/ABKRS <------------------II---------------------------->
weekly monthly
T549R/ZEINH <------------------II---------------------------->