Programme SAP RPUDECG0PBS_FILL_COSTS_ME - XDEC Conversion Program

Purpose
This program is the Multiple Employment version ofRPUDECG0PBS_FILL_COSTS. The selectionscreen layout and processing is almost exactly the same, so please readthat documentation first.

Integration
This program iteratively callsRPUDECG0PBS_FILL_COSTS on a period byperiod basis. Firstly for all the non-primary records and then for allthe primary records. So there are two runs per period that requiresprocessing. So if 20 payroll periods require conversion then ususally 40runs will be created and submitted to the SE program.

Selection
There are only a few differences
1) The Single Employment / Multiple Employment radio buttons are notdisplayed because only MEs will be processed by this report. Any SEsselected will automatically be by-passed and simply reported in thestatistics as such.
2) The "Display COSTS entries" checkbox at the bottom of the selectionscreen.
In the Single Employment version this checkbox is used to signifywhether the program is being run in Test mode or not.
In the Multiple Employment version there is no test/simulation modebecause of the way that the program has been designed (i.e. this isexactly the same restriction as the payroll). Instead this checkbox isused to decide whether all the COSTS entries generated should bedisplayed in the ALV or not.
In foreground this may be practical when the program is run for just afew MEs as it would be possible to check whether processing is workingas expected.
However, in background for a large number of employees this checkboxshould be left blank as it is not practical to check all the COSTSentries and also the size of the SPOOL file will be very large.

Output
CONVERTED RECORDS
The converted records log is only filled if the checkbox to "DisplayCOSTS entries" has been ticked. There are displayed on a run-by-runbasis. So it is useful to have the error log showing the details andstatistics of each run when looking at the converted records. This canonly be done in foreground.
When the program is run in background no converted COSTS entries aredisplayed.
STATISTICS
All the statistics reflect all contracts of each ME processed, exceptthe "bypassed" statistic which reflects the number of SEs that have beenselected but not processed.
"Selected" = number of ME contracts selected
"Rejected" = number of ME contracts rejected
"Processed" = number of ME contracts processed
Example
If we have three MEs processed,
ME 1 (4 Contracts)
ME 2 (2 Contracts)
ME 3 (3 Contracts)
If none of the contracts fail to be converted then the statistics wouldbe as follows;
Selected,,9
Processed,,9
Rejected,,0
These will not change whether ALL contracts are selected for processingor just one contract of each ME.
If one of the contracts of ME 3 fails to be converted then ALL thecontracts of ME 3 fail the ME is rejected as a whole. So the statisticswould be as follows;
Selected,,9
Processed,,6
Rejected,,3
ERROR LOG
The error log is slightly different from the Single Employment errorlog. As each ME run is submitted to the main report RPUDECG0PB
S_FILL_COSTS, the statistics and errors from that run are stored in theError Log, this allows the user to see on a run by run basis how eachrun has progressed.