HR & Payroll Archiving
Hi,
Can anyone explain the activities to be carried out by a SAP HR consultant for achiving HR & payroll data?
Any checklist has to be followed for pre archival and post archival?
Thanks
Rajesh
Please refer to the help online which provides a very good comprehensive guide for archiving HR data :
http://help.sap.com/erp2005_ehp_04/helpdata/EN/03/627c35bd413a72e10000009b38f889/frameset.htm
Also refer SAP note 25622- Archiving in HR, which may help with further inputs
Regards
Similar Messages
-
PAYROLL ARCHIVE PROCESS CAN NOT SEEN ON THE REQUEST SET FOR SUBMIT
Dear all
kindly please i need your help.
i was on the payroll process running.
i have run payroll run--->PrePayment--->Payroll Archiver not found.
Kindly please suggest any......what should i done.It's not possible with this setup. You have connected the E3000 LAN-LAN. With this setup you cannot set a gateway address on the E3000. Thus all it knows about is the connected LAN. Nothing else. You cannot access the E3000 from anywhere but your LAN subnet 192.168.0.*.
-
Table for Payroll Archive process
Hi ,
I need the table in which the data for payroll archive process is stored.Payroll Archive Information goes in "PAY_ACTION_INFORMATION" Table .
Important Points about this table :
1. When the value of the column "ACTION_CONTEXT_TYPE" is 'PA' then the row stores Payroll Level Information and the corresponding ACTION_CONTEXT_ID is the "PAYROLL_ACTION_ID" of the Payroll Archiver run. Note that "PAYROLL_ACTION_ID" is the primary key of PAY_PAYROLL_ACTIONS
2. When the value of the column "ACTION_CONTEXT_TYPE" is 'AAP' then the row stores Assignment Level Information and the corresponding ACTION_CONTEXT_ID is the "ASSIGNMENT_ACTION_ID" of the Archiver for the assignment. Note that "ASSIGNMENT_ACTION_ID" is the primary key of the table "PAY_ASSIGNMENT_ACTIONS" .
The following query can be used to fetch all the archived information for a particular run for a particular assignment :
SELECT pai.*
FROM pay_action_information pai,
pay_payroll_actions ppa,
pay_assignment_actions paa
WHERE ppa.request_id = :request_id
AND ppa.payroll_action_id = paa.payroll_action_id
AND paa.assignment_id = pai.assignment_id
AND paa.assignment_action_id = pai.action_context_id
AND pai.action_context_type = 'AAP'
AND pai.assignment_id = :assignment_id
The following query can be used to fetch all payroll level information pertaining to a particular run .
SELECT pai.*
FROM pay_action_information pai,
pay_payroll_actions ppa
WHERE ppa.request_id = :request_id
AND ppa.payroll_action_id = pai.action_context_id
AND pai.action_context_type = 'PA'
Please note that for 'Year End Archiver' all the information is stored in FF_ARCHIVE_ITEMS -
No Payroll available to run Payroll Archiver
Hi,
I just ran a Quick Pay for an employee and want to push that to Archiver. I tried to run the concurrent program Payroll Archiver but no value available for Payroll Name or Consolidation Set parameters. Please advise if there is process needed to run or Profile needed to be set?
Thanks!Please ensure you have run pre-payments process before running the Payroll Archiver.
Otherwise, responsibility like US HRMS Manager / India HRMS manager (depending on legislation) will let you run the Payroll Archiver conc program.
Regards,
Raghavendra -
Hi,
If we do balance adjustments after payroll archive and further processess like check writer/NACHA etc, then the balance adj data does not reflect in Payroll Archive tables. Also the payslips show incorrect balances.
What should be the process followed getting correct data reflect in pay_action_information and payslips?
Is it mandatory to rollback Pre-Payments process too? What will be the effects of not rolling back prepayments and just rollback & rerun of archive?
Any help appriciated.
Thanks,
Sandipi would open a SR to verify if balance adjustments are taken into account by the archiver. Or adjust them in the next month, run prepayments, and see if it is picked up.
Rolling back prepayments (and magnetic tapes/checks) is not recommended, once your employees have received that money. -
Payroll Exception report not working
Hi
I am running payroll exception report with seeded report High Gross and High Net.
The report runs fine but the output is not matching
It shows correct current balance but previous balance is always zero.
Steps i followed:
1) ran the payroll for previous period
2) pre-payment
3) payroll archive
4) run payroll for current payroll
5) run the Payroll exception report with seeded Gross
For double check , i also ran the generate run balance to validate all balances.
So can you please suggest something or is any specific set up is required for this.
Thanks
MakarandI found out that the payroll message report is the payroll exception report.
-
Rolling back of Quick Pay Pre-payment and Quick Pay in case of void cheque
Hi All
I am facing an issue if you can help me out of if
Here is a scenario
a payroll manager runs the following processes.
1. Payroll run
2. Pre-Payments
3. Payroll Archiver
4. Payment Output file
After running all these process payroll manager finds that he also has to make an adhoc payment on account of car loan of AED 150,000.
So he runs following processes
1. Quick pay for Car loan
2. Quick pay pre-payments (payment made through check)
3. payroll archiver
4. Cheque Writer.
Now due to some technical fault, alignment on printing of cheque becomes disturbed there for cheque misprinted.
Payroll manager runs Void Cheque process to cancel the cheque.
After all these processes which has run successfully, order comes from upper management to rollback quickpay for adhoc payment of loan.
Now question is how it can be achieved.
I tried different things as follows
On Assignment Process results screen i queried the assignment which all the processes in descending order.
I tried to start roll back from cheque writer but system didn't allowed to do this because of check Void process.
I tried to start rollback from Magnetic report, system allowed to roll it back.
Then i tried to rollback Quick-pay prepayment, system did not allow me be do it. There fore i couldn't run rollback for Quick-pay.
There is an another thing i tried.
On "Assignment Process Result" screen i queried assignment. Then i delete the first entry of Void cheque by using delete option from menu bar on top and saved the record. then i delete cheque writer entry and saved the record. Then i run rollback for quick pay pre-payments and ran it successfully and then lastly i ran rollback for quick pay run.
One thing cautioned me that if I delete the void cheque entry then its history may be lost or have lost and on the other hand with out deleting void cheque i cannot proceed to rollback quick pay.
Kindly tell me the best way to run rollback for quick pay in this situation.
Regards
MajidBt do not provide broadband only so you need existing account holder to add broadband to phone account and then you can pay back the account holder - probably not what you want
the 12 months advance applies to the line rental not the broadband - as I said BT do not sell broadband only you buy a package which includes phone
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’. -
Hi,
we are implementing International HRMS and payroll becuase of out legislation not avaliable in oracle HRMS and payroll.
From the international HRMS implementation manaul saying that , we need to do extra setup for implementing EFT and Payroll archive process.
How I can use this Spawned "PYUGEN" for EFT and payroll archive.
I will appreciate if some body can give some guidance or some example related this
Regards
Satheesh KumarHi,
We made the EFT working the "integrated" way, so via the PYUGEN executable, and with the business logic (file format) in fast formulas.
The realisation required:
- some plsql coding
- inserts into seeded tables
- fast formulas with specific inputs and outputs naming conventions
But it was not that easy, and we found no documentation.
So it came basically down to trial and error, or reverse enginerring.
If you want to discuss this further, please contact me at thierry at popay dot be. -
Help...SOE
Dear Sir;
i am new in HRMS and Payroll ...can you help me
Question: A company has more employees as an example
name used: ben ahmed mahmoud
base salary: 1000 Tunisian dinar (TND)
Deductions: * Pension: 2.75% of salary
* Social Insurance 5% of salary
* withholding 20% of salary
Payment: Monthly
Currency: Tunisian Dinar (TSD)
I need the setup step by step (used, payment, salary, deductions; currency; assignment...) to obtain statement of earning like that french model or canada model in final
i need print screen please ...
best ReagardsWell, first you need to set up payrolls, elements, element links, balances. Then for Check Writer you run Payroll, Payroll Archive and Pre Payments. For DDA, you run the same as Check Writer and additionally you run NACHA at the last. You need to set all these up as well. Your best bet would be Oracle Consulting.
Thanks, Naveen. -
Hi all,
I am trying to run full payroll for a single employee. I made an assignment set and ran PAYROLL PROCESS, PRE-PAYMENTS, PAYROLL ARCHIVE(everything went well). Now when I run CHECK WRITER and give the assignment set as one of the parameter, it doesn't pick up the assignment and CHECK WRITER finishes without processing any assignment but if I dont give any assignment set, then it processes the assignment that I want to be processed but also other assignments that I dont want to be processed.
Anyone knows why this is happening?
QUICK help would be appreciated.
Thanks
OBIts look like your assignment set may not have setup correctly. Do create a new assignment set , use amendments and Include this person in the assignment set.
Remember to Generate and Save the changes. If you can verify, please check at table level number of members for the assignment set.
Retry the check writer process with new assignment set. -
Dear All,
How to convert the SOE Report in to PDF Fromat.Can any one Please suggest me.
Thanks
Madhu...Hi,
Concurrent --> Program --> Define
We dont have that "Payroll Report Archiver" Concurrent Program. But I run "Canadien Payroll Archiver" Program after running payroll. But i got a blank .out file with < < E N D O F R E P O R T > > in specified location "/ebs/oracle/vis5comn/admin/out/VIS5_apps11i "
Thanks
Madhu -
Unable to access Archived HR-Payroll data
Hi,
I have archived some data using the object PA_CALC. The file created was stored on the HTTP Content Server, and there was no error for the file stored.
When I tried retrieving the data using the FM "PA_READ_ARCHIVE_PA_CALC", I can retrieve data for some pernrs only.
On debugging I found out that the FM "ARCHIVE_READ_OBJECT" throws an exception i.e. FILE_IO_ERROR. What is confusing me is the file is read for some pernrs and not for some.
Could any body help me in this?
VinodI assumed you were far enough progressed that it was indexing .. perhaps it never made it that far.
Reset the TC to factory.. no files on the hard disk are lost.
Factory reset universal
Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
No files are lost.. just so you caught that.
People are scared but you cannot delete files by a reset of the hardware.
Redo the setup of the TC.. use all short names, no spaces and pure alphanumeric.
Reset TM..
Verify the backup.. see A4 and A5 here.. might be a little out of date.. but should be still near enough to figure out.
http://pondini.org/TM/Troubleshooting.html
Then have another go with TM.. but warning Yosemite has made a mess of it.. and / or the networking to the TC is so bad it doesn't work for that reason.
I strongly recommend what you have done.. use USB. Or use Carbon Copy Cloner or some other utility that actually works.. maybe if yosemite can keep the network up long enough. -
Program name Report title
1. CACS00_PMNT_BLOCK_RESET Unlock Payment
2. CACS_PMNT_BLOCK_RESET Lift Payment Locks
3. CCARDEC_CHECK Check: Payment Card Encryption
4. CONTEXT_S_HR_PAY_CH_ABREH HR-CH: Context for Payroll Units
5. DFKZ2F00 FORM Routines FBZP/Payment Methods
6. EWUMPOHD_40 Payment Order History: Fill WRBTR and WAERS, HSWAE as of Release 4
7. EXAMPLE_PNP_GET_PAYROLL Example Program for Reading Payroll Results Using GET PAYROLL
8. F111CONS Constants for Payment Request Payment Program
9. F111MAIN Main Program of Payment Run
10. F111SFIE Data for the PR Payment Program: Field Groups
11. F111SINT Payment Request Payment Run: Structures and Internal Tables
12. F111SMAC Macro Definitions for the PR Payment Run
13. F111STOP Data Pool of Payment Run for Payment Requests
14. F111TYPE Types for Payment Request Payment Run
15. FITP_GENERAL_READ_TRVCC Read Characteristic TRVCC (Determination of Payment Method)
16. FIWTPY10 Withholding Tax at Point of Payment
17. H01PLOGA Payroll Log for Company Pensions
18. H01PLOGT Routines for Payroll Log
19. H02PLOG0 Subroutine Pool for International Payroll Log
20. H02PLOG1 HR-CH: Macros for Payroll Log
21. H02PLOGERR HR-CH: Error log: Payroll Switzerland
22. H03PLOG0 Subroutines Pool for Payroll Log Austria
23. H04PLOG0 Subroutines Payroll Log Spain
24. H06PLOG0 Subroutine Pool for Payroll Log (France)
25. H07PLOG0 Subroutine-Pool for Payroll Log Canada
26. H07PLOG1 Include H07PLOG1: Macro of Payroll Log Error Messages
27. H07PLOGA Include H07PLOGA: Payroll log functions for Absence Processing
28. H07PLOGD Include H07PLOGD: Payroll log functions for function ADDCU
29. H07PLOGE Include H07PLOGE: Payroll log for tax calculation and vacation pay
30. H07PLOGM Include H07PLOGM: Payroll log functions for - messages
31. H07PLOGS Include H07PLOGS: Payroll log functions for tax calculation
32. H08PLOG0 Subroutines Payroll Log Great Britain
33. H08PLOG0PBS Subroutines Payroll Log Great Britain Public Sector (HR PS GB)
34. H10PLOGC Include H10PLOGC - Constants for US Payroll Log Message Passing
35. H10PLOGO Include H07PLOGD: Payroll log functions for function ADDCU
36. H10PLOGP Payroll log messages for general payroll
37. H13PLOG0 Subroutine Pool for Payroll Log Australia
38. H14PLOG2 Include for SOCSO - Payroll Log
39. H14PLOG3 Include for STD TAX - Payroll Log
40. H14PLOG4 Include for Zakat - Payroll log
41. H16PLOG0 Payroll Log Subroutines for South Africa
42. H20PLOGA Payroll log subroutines for absence handling
43. H20PLOGE Payroll log for missing data (tables, infotypes, etc.)
44. H20PLOGG Payroll log for deductions
45. H20PLOGH Payroll log subroutines for hol. allowance and garnishment
46. H20PLOGS Payroll log for Norwegian specific tables (SCRT, RETT, RETP, ...)
47. H20PLOGT Payroll log subroutines for tax and employers contributions
48. H23PLOG0 Subroutinepool for Payroll Log (SE)
49. H23PLOG_CAR Payroll Log Subroutines for company car
50. H25PLOG1 Include for new Payroll log (Infotypes - Singapore)
51. H25PLOG3 Include for new Payroll log (Tables- Singapore)
52. H26PLOG0 Subroutine pool for Payroll Log - TH
53. H26PLOG4 Error Routines - Payroll Log
54. H27PLOG1 HR-HK: Payroll log data definitions
55. H27PLOG6 HR-HK: Payroll log common forms
56. H37PLOG21 Payroll log - Retrocalculation (old BRRET and labor debits)
57. H42PLOG6 Include for Payroll LOG Taiwan
58. H43PLOG0 Subroutine Pool for Payroll Log New Zealand
59. H99CMLI0 Cash Breakdown for Cash Payment Based on Payment Method
60. H99PLOG0 Subroutine Pool for International Payroll Log
61. H99PLOG6 Subroutine Pool for International Payroll Log
62. H99PLOGPF Subroutine Pool for Pension Fund Payroll Log
63. H99PLOGS Subroutine Pool for Payroll Log for Special Payments
64. H99PLOGT Subroutine Pool for International Payroll Log, Gross Part
65. H99PLOGY Subroutine pool for Benefits Payroll Log: International
66. H99UGSP0 Splits in Payroll
67. H99U_CONVERSION_CA Converting Cluster CA for Archived Payroll Results
68. H99U_PYINFTY_CC_XPRA Payroll IT: Main XPRA report for country grouping conversion in 4.
69. H99_DISPLAY_PAYRESULT_OLD Display Payroll Results
70. H99_FORMSTEMPLATE_PAYDIM_02 HR Forms: Template for Local Class (Payroll)
71. H99_FORMSTEMPLATE_PAYR_02 HR Forms: Template for Local Class (Payroll)
72. H99_SELECT_PERNR Select Personnel Numbers for a Payroll Process (PY)
73. H99_SELECT_PERNR_INTERFACE Select Personnel Numbers, Interface Without Payroll Driver
74. H99_SELECT_PERNR_PU12_GROSS Payroll number selection for payroll run and export
75. HARCALC0 Payroll accounting program Argentina
76. HARCKTO0 Payroll account
77. HARCLJN0 Payroll journal
78. HARLIBR0 Legal Payroll Payments Book: Law 20.744 Art. 52 - Forms version
79. HARLIBR1 Legal Payroll Payments Book: Law 20.744 Art.52 - SapScripts versio
80. HBPPLOG0 Payroll log Benfit Point
81. HBRCALC0 Payroll accounting program - Brazil
82. HBRCKTO0 Payroll accounts
83. HBRPAYR0 Payroll Monthly Report
84. HBRSALM0 Maternity Pay data sheet
85. HCNCALC0 Payroll Driver, Version China
86. HCNCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
87. HCNCKTO0 Payroll Accounts China
88. HCNCLJN0 Payroll Journal China
89. HFICALC0 Payroll driver (Finland)
90. HFICDTA0 Preliminary Program - DME for Several Payment Runs (Finland)
91. HFICKTO0 Payroll Accounts
23. HFICLJN0 Payroll Journal - Finland
24. HFIIABP0 Batch Input for Vacation Bonus Payments Finland
25. HFILHPA0 Holiday Pay Accrual
26. HFILTVR0 Pay Scale Reclassification data for Parake employees
27. HHKCALC0 Payroll Driver Hong Kong
28. HHKCKTO0 Payroll Accounts
29. HHKCLJN0 Payroll Journal - Hong Kong
30. HHKCLST1 Payroll Results for Cluster HZ - Hongkong Payroll Projection
31. HHKCLSTR Payroll Results for Cluster HK
32. HHKCREC0 Payroll results check tool
33. HHKUREC0 Payroll results check tool: Generation
34. HHKUREC5 Payroll results check tool: Display
35. HIDCALC0 Payroll Driver, Version ID (Indonesia)
36. HIDCANN0 Payroll Annual Display
37. HIDCDTC0 Preliminary Program - Data Medium Exchange for Several Payment Run
38. HIDCKTO0 Payroll Account
39. HIDCLJN0 Payroll Journal
40. HIDCLSTR Display Payroll Results (Cluster IS) Indonesia
41. HIECALC0 Payroll Calculation Driver for Ireland
42. HIECDTA0 Preliminary Program - DME for Several Payment Runs (Ireland)
43. HIECDTB0 Preliminary DME Program for Separate Payment Run
44. HIECEDT0 Payslip - Ireland
45. HIECKTO0 Payroll account
46. HIECLJN0 Payroll journal for Ireland
47. HIECLSTR Display cluster IE (Payroll results Ireland)
48. HIEUDIR0 Create Directory for Payroll Results (Cluster IE)
49. HINCALC0 Payroll Driver, India
50. HINCANN0 Payroll Annual Display - India
51. HINCDTA0 Preliminary Program - Data Medium Exchange - Post Payroll - India
52. HINCKTO0 Payroll Account - India
53. HINCLJN0 Payroll Journal - India
54. HINCLSTR Cluster Display IN ( Payroll Results, India )
55. HINUULK0 INLK Payroll Tables T558B and T558C Upload
56. HINU_M40_FFOD Create DME (Print Payment advice note)
57. HKRCALC0 Payroll Driver, Version for South Korea
58. HKRCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
59. HKRCKTO0 Payroll Accounts
60. HKRCLJN0 Payroll Journal South Korea
61. HKRCLSTR Payroll Results for Cluster KR (South Korea)
62. HKRPLOG0 Payroll messages South Korea
63. HMXCINO0 Payroll tax report
64. HMXCKTO0 Payroll account
65. HMXCLJN0 Payroll journal
66. HMXCLSTR Payroll accounting results (Cluster MX)
67. HMXUACTPBSF2 Subroutines for Change in Pay
68. HNZCALC0 Payroll Driver, Version NZ (New Zealand)
69. HNZCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
70. HNZCEDT0 Editing Payroll Results (New Zealand Version)
71. HNZCLJN0 Payroll Journal International
72. HNZCLSTR Display Payroll Results (Cluster NZ) - New Zealand
73. HNZDLN10 Advance Pay Cluster(N1) Display and Deletion Program for New Zeala
74. HNZLDET0 HR-NZ: Employee Pay Details Report
75. HNZLEXC0 HR-NZ: Payroll Exception Report
76. HNZLSUM0 HR-NZ: Employee Payroll Summary Report
77. HNZUCDC0 Convert Payroll Results for Conversion to > 2 Decimal Places
78. HNZUCLR0 Payroll Results (RQ) - Original and differences from retro periods
79. HPHCALC0 Payroll Driver - Philippines
80. HPHCAWS0 13th Month Pay
81. HPHCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
82. HPHCLJN0 Payroll Journal - Philippines
83. HPHCLSTR Display Payroll Results (Cluster PH) - Philippines
84. HPHCMP00 HR-PH: Advance Payment Multiple Runs
85. HPHUALR0 Payroll Results (PH) - Actual/most recent result for CRT
86. HPHUCDC0 Convert Payroll Results for Conversion to > 2 Decimal Places
87. HPHUCLR0 Payroll Results (PH) - Original and differences from retro periods
88. HTHCALC0 Payroll Driver, Version 9 (Thailand)
89. HTHCDTC0 Preliminary Prog - Data Medium Exchange for Several Payment Runs
90. HTHCKTO0 Payroll Accounts Thailand
91. HTHCLJN0 Payroll Journal - THAILAND
92. HTHCLSTR Payroll Results for Cluster TH
93. HTWCALC0 Payroll Driver for Taiwan
94. HTWCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Ru
95. HTWCKTO0 Taiwan Payroll Accounts
96. HTWCLJN0 Payroll Journal Taiwan specific
97. HTWCLSTR Payroll Results for Cluster TN
98. HTWCTXW0 Tax Certificate Report & Media Form (Payday)
99. HVECALC0 Payroll accounting program (Venezuela)
100. HVECEDT0 Payslip and severance payslip
101. HVECKTO0 Payroll account
102. HVECLJN0 Payroll journal
103. IBKKARCHLOG_FIBA_ITEM Data Declarations for Archiving Payment Items
104. IBKKARCH_FIBA_ITEM Data Declarations for Archiving Payment Items
105. IBKKARCH_FIBA_ORDER Data Declarations for Archiving Payment Orders
106. IBKKCOGPAYMNOTE Public Constants of Payment Notes
107. IBKKCONPAYMNOTE Internal Constants of Payment Notes
108. IFIFMKAO IS-PS: Constant Declarations for Payment Requests
109. IHC_BCAREVPO_ALV01 List of Cross-Bank Area Payment Orders
110. J_1AF011 Payment Notice (AR)
111. J_1AF012 Payment Notice (AP)
112. J_1AINFK Inflation Adjustment of Open Payables in Local Currency
113. L0FVTI01 F4 Help for Incoming Payment Method
114. L0P02O01 PBO Module for Restricting Payments/Deductions
115. L3HKEU01 Long Service Payment and Severance Payment for Hongkong
116. L3HKFU03 Print function for EOY Payment, Hongkong
117. L3HKFU05 Print function for EOY Payment, Hongkong
118. L3NZ0U08 New Zealand Payroll Messages
119. L3TH0U04 Function to return the Begin Date and End Date for a given Payrol
120. LACC3U02 Check BAPI: Account, incoming invoice (Load Payable)
121. LACC3U03 Check BAPI: Account, incoming invoice (Load Payable)
122. LACCSU02 Derivation of Payment Flow from SD Document (Quotation, Order)
123. RPCOIFU6 Delete Interface Results forward using Payroll Area and Pay Perio
124. HFILTVR0 Pay Scale Reclassification data for Parake employees
125. LHRFPBS4U02 Derive Amount from Pay Scale group, Pay Scale level
126. LHRFPBS4U05 Read Pay Scale, Pay Area, Pay Groups from Corps or Corps and Grade
127. RHPAYSC0 Display Pay Scale Structure
128. RPIPSR00 Pay Scale Reclassification
129. RPISTLVP Pay Scale Reclassification due to change in job code
130. RPITIG00 Pay Scale Reclassification
131. RPITIGVP Pay Scale Reclassification
132. RPITUM00 Pay Scale Reclassification acc. to Age or Pay Scale Membership Per
133. RPITUMH0 Pay Scale Reclassification acc. to Age or Pay Scale Membership Per
134. RPLPSCJ0 Time Spent in Pay Scale Group (Japan)
135. RPLTRF10 Defaults for Pay Scale Reclassification
136. RPU510N0 Simple Pay Scale Increase for Wage Types Determined Indirectly
137. RPU510Q0 Pay Scale Increase for the Family-Related Bonus
138. RPUEHBD0 Table conversion: Valuation of Pay Scales for Statistics
139. RPUEMU00 Currency Changeover EMU for Pay Scale and Pay Grade Structures
140. RPUT510BPBS SAP-HR Belgian Public Sector : Generation of Pay Scales (T510)
141. Y0PXIRLPRANGE Upload Pay Scale Range
142. ZPMIRAS1 Program to Fill Pay Scales for Annual Salaries Table (T510N)
143. ZPMIRSC1 Program to Fill Pay Scale Group Table (T510)
144. ZT510LOAD Program to Fill Pay Scale Group Table (T510)
145. RPISTLVP Pay Scale Reclassification due to change in job code
146. RPUSADU0 Data Definition for Salary Calculation
147. RPUSALU0 Salary Calculation Subroutines
148. RPUSCC00 Compare Schemas
149. RPUSCCA0
150. RPUSCCA1
151. RPUSCCB0 Checkprogramm for Scheme (Belgium)
152. RPUSCCB1 Checkprogramm for Personnel Calculation Scheme's (Belgium)
153. RPUSCCC0 Schema Check for Payroll - Swiss Country Version
154. RPUSCCC1
155. RPUSCCD0 Schema Check for Payroll - German Version
156. RPUSCCD1
157. RPUSCCE0 Schema check for payroll - Spain
158. RPUSCCE1
159. RPUSCCF0 Check schemas for France ( generated by RPUGSC00 )
160. RPUSCCF1
161. RPUSCCG0
162. RPUSCCG1
163. RPUSCCH0 Schema Prüfungsprogramm - Ungarn
164. RPUSCCH1 Schema Prüfungsprogramm - Ungarn
165. RPUSCCI0
166. RPUSCCI1
167. RPUSCCJ0 Schema Check for Payroll Accounting - Japanese Version
168. RPUSCCJ1 Check Program for Schemas (Japan)
169. RPUSCCK0 RPUSCCK0hi Suresh,
thank u so much.
been searchin for this for some time.
Regards,
Hari Kiran -
Create procedure is generating too many archive logs
Hi
The following procedure was run on one of our databases and it hung since there were too many archive logs being generated.
What would be the answer? The db must remain in archivelog mode.
I understand the nologging concept, but as I know this applies to creating tables, views, indexes and tablespaces. This script is creating procedure.
CREATE OR REPLACE PROCEDURE APPS.Dfc_Payroll_Dw_Prc(Errbuf OUT VARCHAR2, Retcode OUT NUMBER
,P_GRE NUMBER
,P_SDATE VARCHAR2
,P_EDATE VARCHAR2
,P_ssn VARCHAR2
) IS
CURSOR MainCsr IS
SELECT DISTINCT
PPF.NATIONAL_IDENTIFIER SSN
,ppf.full_name FULL_NAME
,ppa.effective_date Pay_date
,ppa.DATE_EARNED period_end
,pet.ELEMENT_NAME
,SUM(TO_NUMBER(prv.result_value)) VALOR
,PET.ELEMENT_INFORMATION_CATEGORY
,PET.CLASSIFICATION_ID
,PET.ELEMENT_INFORMATION1
,pet.ELEMENT_TYPE_ID
,paa.tax_unit_id
,PAf.ASSIGNMENT_ID ASSG_ID
,paf.ORGANIZATION_ID
FROM
pay_element_classifications pec
, pay_element_types_f pet
, pay_input_values_f piv
, pay_run_result_values prv
, pay_run_results prr
, pay_assignment_actions paa
, pay_payroll_actions ppa
, APPS.pay_all_payrolls_f pap
,Per_Assignments_f paf
,per_people_f ppf
WHERE
ppa.effective_date BETWEEN TO_DATE(p_sdate) AND TO_DATE(p_edate)
AND ppa.payroll_id = pap.payroll_id
AND paa.tax_unit_id = NVL(p_GRE, paa.tax_unit_id)
AND ppa.payroll_action_id = paa.payroll_action_id
AND paa.action_status = 'C'
AND ppa.action_type IN ('Q', 'R', 'V', 'B', 'I')
AND ppa.action_status = 'C'
--AND PEC.CLASSIFICATION_NAME IN ('Earnings','Alien/Expat Earnings','Supplemental Earnings','Imputed Earnings','Non-payroll Payments')
AND paa.assignment_action_id = prr.assignment_action_id
AND prr.run_result_id = prv.run_result_id
AND prv.input_value_id = piv.input_value_id
AND piv.name = 'Pay Value'
AND piv.element_type_id = pet.element_type_id
AND pet.element_type_id = prr.element_type_id
AND pet.classification_id = pec.classification_id
AND pec.non_payments_flag = 'N'
AND prv.result_value <> '0'
--AND( PET.ELEMENT_INFORMATION_CATEGORY LIKE '%EARNINGS'
-- OR PET.element_type_id IN (1425, 1428, 1438, 1441, 1444, 1443) )
AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN PET.EFFECTIVE_START_DATE AND PET.EFFECTIVE_END_DATE
AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN PIV.EFFECTIVE_START_DATE AND PIV.EFFECTIVE_END_DATE --dcc
AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN Pap.EFFECTIVE_START_DATE AND Pap.EFFECTIVE_END_DATE --dcc
AND paf.ASSIGNMENT_ID = paa.ASSIGNMENT_ID
AND ppf.NATIONAL_IDENTIFIER = NVL(p_ssn, ppf.NATIONAL_IDENTIFIER)
------------------------------------------------------------------TO get emp.
AND ppf.person_id = paf.person_id
AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN ppf.EFFECTIVE_START_DATE AND ppf.EFFECTIVE_END_DATE
------------------------------------------------------------------TO get emp. ASSIGNMENT
--AND paf.assignment_status_type_id NOT IN (7,3)
AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN paf.effective_start_date AND paf.effective_end_date
GROUP BY PPF.NATIONAL_IDENTIFIER
,ppf.full_name
,ppa.effective_date
,ppa.DATE_EARNED
,pet.ELEMENT_NAME
,PET.ELEMENT_INFORMATION_CATEGORY
,PET.CLASSIFICATION_ID
,PET.ELEMENT_INFORMATION1
,pet.ELEMENT_TYPE_ID
,paa.tax_unit_id
,PAF.ASSIGNMENT_ID
,paf.ORGANIZATION_ID
BEGIN
DELETE cust.DFC_PAYROLL_DW
WHERE PAY_DATE BETWEEN TO_DATE(p_sdate) AND TO_DATE(p_edate)
AND tax_unit_id = NVL(p_GRE, tax_unit_id)
AND ssn = NVL(p_ssn, ssn)
COMMIT;
FOR V_REC IN MainCsr LOOP
INSERT INTO cust.DFC_PAYROLL_DW(SSN, FULL_NAME, PAY_DATE, PERIOD_END, ELEMENT_NAME, ELEMENT_INFORMATION_CATEGORY, CLASSIFICATION_ID, ELEMENT_INFORMATION1, VALOR, TAX_UNIT_ID, ASSG_ID,ELEMENT_TYPE_ID,ORGANIZATION_ID)
VALUES(V_REC.SSN,V_REC.FULL_NAME,v_rec.PAY_DATE,V_REC.PERIOD_END,V_REC.ELEMENT_NAME,V_REC.ELEMENT_INFORMATION_CATEGORY, V_REC.CLASSIFICATION_ID, V_REC.ELEMENT_INFORMATION1, V_REC.VALOR,V_REC.TAX_UNIT_ID,V_REC.ASSG_ID, v_rec.ELEMENT_TYPE_ID, v_rec.ORGANIZATION_ID);
COMMIT;
END LOOP;
END ;
So, how could I assist our developer with this, so that she can run it again without it generating a ton of logs ? ?
Thanks
Oracle 9.2.0.5
AIX 5.2The amount of redo generated is a direct function of how much data is changing. If you insert 'x' number of rows, you are going to generate 'y' mbytes of redo. If your procedure is destined to insert 1000 rows, then it is destined to create a certain amount of redo. Period.
I would question the <i>performance</i> of the procedure shown ... using a cursor loop with a commit after every row is going to be a slug on performance but that doesn't change the fact 'x' inserts will always generate 'y' redo. -
Accrual Formula Archive Table Issue?
Hello Experts,
I customized PTO_PAYROLL_BALANCE_CALCULATION as per our business requirment. High Level of the plan- It is based on the overtime an employee works per pay period and depending on overtime worked an employee gets time and half times. For example if the emp works 12 hours he accrues 18 hours of benefit time(formula calculating fine). To meet the business requirment we included employees who are hired in the mid of the pay period , here the issue is when the archive process is run
We are unable to populate the employee's period accural(acrrued in a particular pay period) and if we populate the period accrual we are unable to process period accrual for an employee terminated in middle of the pay period. The requirement is to populate both in the archive table. ie to include both period accrual and mid pay period terminated employees.
Below is the customized formula. Thanks much and appreciate your time and response in advance.
DEFAULT FOR ACP_START IS 'HD'
DEFAULT FOR ACP_INELIGIBILITY_PERIOD_TYPE IS 'CM'
DEFAULT FOR ACP_INELIGIBILITY_PERIOD_LENGTH IS 0
DEFAULT FOR ACP_CONTINUOUS_SERVICE_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_ENROLLMENT_END_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_TERMINATION_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_ENROLLMENT_START_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_SERVICE_START_DATE IS '4712/12/31 00:00:00' (date)
default for Accrual_Start_Date is '4712/12/31 00:00:00' (date)
default for Accrual_Latest_Balance is 0
INPUTS ARE
Calculation_Date (date),
Accrual_Start_Date (date),
Accrual_Latest_Balance
/* bug 4047666*/
prm_Accrual_Start_Date (date) = Accrual_Start_Date
prm_Calculation_Date (date) = Calculation_Date
/* bug 4047666*/
E = CALCULATE_PAYROLL_PERIODS()
For the payroll year that spans the Calculation Date
get the first days of the payroll year. If we have a latest balance,
we use the Accrual Start Date.
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
/**XXX CUSTOM **/
/*Calculation_Date = get_date('PAYROLL_PERIOD_END_DATE')*/
Payroll_Year_First_Valid_Date = GET_DATE('PAYROLL_YEAR_FIRST_VALID_DATE')
IF (Calculation_Date <> Calculation_Period_ED) AND
(Calculation_Period_SD > Payroll_Year_First_Valid_Date) THEN
E = GET_PAYROLL_PERIOD(ADD_DAYS(Calculation_Period_SD,-1))
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
ELSE IF (Calculation_Period_SD = Payroll_Year_First_Valid_Date) AND
(Calculation_Date <> Calculation_Period_ED) THEN
Calculation_Period_ED = ADD_DAYS(Calculation_Period_SD,-1)
Set the Calculation_Date to the Termination Date / Enrollment end date if not defaulted
IF NOT (ACP_TERMINATION_DATE WAS DEFAULTED) OR
NOT (ACP_ENROLLMENT_END_DATE WAS DEFAULTED) THEN
Early_End_Date = least(ACP_TERMINATION_DATE, ACP_ENROLLMENT_END_DATE)
IF (Early_End_Date < Calculation_Date) THEN
Calculation_Date = Early_End_Date
Get the last whole payroll period prior to the Calculation Date and ensure that it is within the
Payroll Year (if the Calculation Date is the End of a Period then use that period)
E = GET_PAYROLL_PERIOD(Calculation_Date)
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
/**XXX CUSTOM **/
/*Calculation_Date = get_date('PAYROLL_PERIOD_END_DATE')*/
IF (Calculation_Date <> Calculation_Period_ED) AND
(Calculation_Period_SD > Payroll_Year_First_Valid_Date) THEN
E = GET_PAYROLL_PERIOD(ADD_DAYS(Calculation_Period_SD,-1))
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
ELSE IF (Calculation_Period_SD = Payroll_Year_First_Valid_Date) AND
(Calculation_Date <> Calculation_Period_ED) THEN
Calculation_Period_ED = ADD_DAYS(Calculation_Period_SD,-1)
Set the Continuous Service Global Variable, whilst also
ensuring that the continuous service date is before the Calculation Period
IF (ACP_CONTINUOUS_SERVICE_DATE WAS DEFAULTED) THEN
E = set_date('CONTINUOUS_SERVICE_DATE', ACP_SERVICE_START_DATE)
ELSE IF(ACP_CONTINUOUS_SERVICE_DATE > Calculation_Period_SD) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52796_PTO_FML_CSD')
E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
ELSE
E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
Determine the Accrual Start Rule and modify the start date of the accrual calculation accordingly
N.B. In this calculation the Accrual Start Rule determines the date from which a person may first accrue
PTO. The Ineligibility Rule determines the period of time during which the PTO is not registered.
Once this date has passed the accrual is registered from the date determined by the Accrual Start Rule.
Continuous_Service_Date = get_date('CONTINUOUS_SERVICE_DATE')
IF (ACP_START = 'BOY') THEN
First_Eligible_To_Accrue_Date =
to_date('01/01/'||to_char(add_months(Continuous_Service_Date, 12), 'YYYY'),
'DD/MM/YYYY')
ELSE IF (ACP_START = 'PLUS_SIX_MONTHS') THEN
First_Eligible_To_Accrue_Date = add_months(Continuous_Service_Date,6)
ELSE IF (ACP_START = 'HD') THEN
First_Eligible_To_Accrue_Date = Continuous_Service_Date
Determine the date on which accrued PTo may first be registered, i.e the date on which the
Ineligibility Period expires
Accrual_Ineligibility_Expired_Date = First_Eligible_To_Accrue_Date
IF (ACP_START <> 'PLUS_SIX_MONTHS' AND
ACP_INELIGIBILITY_PERIOD_LENGTH > 0) THEN
IF ACP_INELIGIBILITY_PERIOD_TYPE = 'BM' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*2)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'F' THEN
Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*14)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'CM' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'LM' THEN
Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*28)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Q' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*3)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SM' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH/2)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SY' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*6)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'W' THEN
Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*7)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Y' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*12)
IF Accrual_Ineligibility_Expired_Date > First_Eligible_To_Accrue_Date
AND Calculation_Date < Accrual_Ineligibility_Expired_Date THEN
First_Eligible_To_Accrue_Date = Accrual_Ineligibility_Expired_Date
If the employee is eligible to accrue before the start of this year,
we must get the period dates for the first period of the year.
Otherwise, we do not need these dates, as we will never accrue that
far back.
IF (not Accrual_Start_Date was defaulted) AND
((Calculation_Date < Accrual_Ineligibility_Expired_Date) OR
(Accrual_Start_Date > Accrual_Ineligibility_Expired_Date)) THEN
* This function checks for unprocessed plan element entries, and
* returns the EE effective start date of the earliest it finds. This may
* be useful if we amend the design to process a partial year starting at
* this date.
* At the moment, however, we simply recalculate for the entire plan term
* in these circumstances, so Adjusted_Start_Date is never used
Adjusted_Start_Date = Get_Start_Date(Accrual_Start_Date,
Payroll_Year_First_Valid_Date)
/* Check whether RESET_PTO_ACCRUAL action parameter is defined and set to Y */
/* If yes, then we need to calculate from the beginning */
Reset_Accruals = Reset_PTO_Accruals()
/* Check for retrospective Assignment changes */
/* Return earliest effective date */
Earliest_AsgUpd_Date = Get_Earliest_AsgChange_Date
( 'PTO Event Group',
add_days(Calculation_Period_SD,-1),
Calculation_Period_ED,
Accrual_Start_Date)
New_Adj_Start_Date = LEAST(Adjusted_Start_Date,
Earliest_AsgUpd_Date)
IF ((New_Adj_Start_Date < Accrual_Start_Date) OR
(Reset_Accruals = 'TRUE')) THEN
Process_Full_Term = 'Y'
ELSE
Process_Full_Term = 'N'
ELSE
Process_Full_Term = 'Y'
Latest_Balance = 0
IF (Process_Full_Term = 'Y') THEN
/* Ensure the Payroll Year Start Date gets reset if caculating */
/* from the beginning of the year. */
E = SET_DATE('PAYROLL_YEAR_SD', Payroll_Year_First_Valid_Date)
IF (Process_Full_Term = 'N') AND
(Accrual_Start_Date >= First_Eligible_To_Accrue_Date) THEN
E = GET_PAYROLL_PERIOD(Adjusted_Start_Date)
Payroll_Year_1st_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Payroll_Year_1st_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
Latest_Balance = Accrual_Latest_Balance
Effective_Start_Date = Adjusted_Start_Date
) /* XXX Custom to include mid pay period hires*/
ELSE IF First_Eligible_To_Accrue_Date <= Payroll_Year_First_Valid_Date THEN
IF (not Accrual_Start_Date was defaulted) THEN
Latest_Balance = Accrual_Latest_Balance
ELSE
Latest_Balance = 0
E = GET_PAYROLL_PERIOD(Payroll_Year_First_Valid_Date)
Payroll_Year_1st_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Payroll_Year_1st_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
Effective_Start_Date = Payroll_Year_First_Valid_Date
ELSE
Get the first full payroll period following the First_Eligible_To_Accrue_Date
(if it falls on the beginning of the period then use that period)
IF (not Accrual_Start_Date was defaulted) THEN
Latest_Balance = Accrual_Latest_Balance
ELSE
Latest_Balance = 0
E = GET_PAYROLL_PERIOD(First_Eligible_To_Accrue_Date )
First_Eligible_To_Accrue_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
First_Eligible_To_Accrue_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
/* IF First_Eligible_To_Accrue_Date <> First_Eligible_To_Accrue_Period_SD THEN
E = GET_PAYROLL_PERIOD(add_days(First_Eligible_To_Accrue_Period_ED,1))
First_Eligible_To_Accrue_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
First_Eligible_To_Accrue_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
IF (First_Eligible_To_Accrue_Period_SD > Calculation_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52793_PTO_FML_ASG_INELIG')
) */ /* XXX Custom to include mid pay period hires*/
Payroll_Year_1st_Period_SD = First_Eligible_To_Accrue_Period_SD
Payroll_Year_1st_Period_ED = First_Eligible_To_Accrue_Period_ED
Effective_Start_Date = First_Eligible_To_Accrue_Date
Effective_Start_Date = GREATEST(Effective_Start_Date, ACP_ENROLLMENT_START_DATE)
Output messages based on calculated date
IF (Early_End_Date < Payroll_Year_1st_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52794_PTO_FML_ASG_TER')
If (Calculation_Period_ED < Payroll_Year_1st_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52795_PTO_FML_CALC_DATE')
Determine the date on which PTO actually starts accruing based on Hire Date,
Continuous Service Date and plan Enrollment Start Date. Remember, we have
already determined whether to user hire date or CSD earlier in the formula.
If this date is after the 1st period and the fisrt eligible date then
establish the first full payroll period after this date
(if the Actual Start Date falls on the beginning of a payroll period then
use this period)
Enrollment_Start_Date = ACP_ENROLLMENT_START_DATE
Actual_Accrual_Start_Date = GREATEST(Enrollment_Start_Date,
Continuous_Service_Date,
Payroll_Year_1st_Period_SD)
Determine the actual start of the accrual calculation
IF (Actual_Accrual_Start_Date > Payroll_Year_1st_Period_SD AND
Actual_Accrual_Start_Date > First_Eligible_To_Accrue_Date) THEN
E = GET_PAYROLL_PERIOD(Actual_Accrual_Start_Date)
Accrual_Start_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Accrual_Start_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
IF Actual_Accrual_Start_Date > Accrual_Start_Period_SD THEN
( E = GET_PAYROLL_PERIOD(Actual_Accrual_Start_Date) /* XXX CUSTOM*/
Accrual_Start_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Accrual_Start_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
E = GET_PAYROLL_PERIOD(add_days(Accrual_Start_Period_ED,1))
Accrual_Start_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Accrual_Start_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
If the Actual Acrual Period is after the Calculation Period then end the processing.
IF (Accrual_Start_Period_SD > Calculation_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52797_PTO_FML_ACT_ACCRUAL')
ELSE IF (First_Eligible_To_Accrue_Date > Payroll_Year_1st_Period_SD) THEN
Accrual_Start_Period_SD = First_Eligible_To_Accrue_Period_SD
Accrual_Start_Period_ED = First_Eligible_To_Accrue_Period_ED
ELSE
Accrual_Start_Period_SD = Payroll_Year_1st_Period_SD
Accrual_Start_Period_ED = Payroll_Year_1st_Period_ED
Now set up the information that will be used in when looping
through the payroll periods
IF Calculation_Period_ED >= Accrual_Start_Period_ED THEN
E = set_date('PERIOD_SD',Accrual_Start_Period_SD)
E = set_date('PERIOD_ED',Accrual_Start_Period_ED)
E = set_date('LAST_PERIOD_SD',Calculation_Period_SD)
E = set_date('LAST_PERIOD_ED',Calculation_Period_ED)
IF (Process_Full_Term = 'N') THEN
E = set_number('TOTAL_ACCRUED_PTO', Latest_Balance)
ELSE
E = set_number('TOTAL_ACCRUED_PTO', 0)
Initialize Band Information
E = set_number('ANNUAL_RATE', 0)
E = set_number('UPPER_LIMIT', 0)
E = set_number('CEILING', 0)
E = LOOP_CONTROL('PTO_PAYROLL_PERIOD_ACCRUAL')
Total_Accrued_PTO = get_number('TOTAL_ACCRUED_PTO') - Latest_Balance
IF Accrual_Start_Period_SD <= Calculation_Period_SD THEN
Accrual_end_date = Calculation_Period_ED
IF Process_Full_Term = 'Y' AND
Effective_Start_Date > Actual_Accrual_Start_Date THEN
Effective_Start_Date = Actual_Accrual_Start_Date
Effective_End_Date = Calculation_Date
/* bug 4047666*/
IF Process_Full_Term = 'N' AND NOT (Accrual_Start_Date WAS DEFAULTED)
AND NOT (Accrual_Latest_Balance WAS DEFAULTED)
AND prm_Accrual_Start_Date > prm_Calculation_Date THEN
Effective_Start_Date = ADD_DAYS(Effective_End_Date,1)
ELSE
/* bug 4047666*/
IF Effective_Start_Date >= Effective_End_Date THEN
Effective_Start_Date = least(Effective_End_Date, Accrual_Start_Period_SD)
RETURN Total_Accrued_PTO, Effective_start_date, Effective_end_date, Accrual_end_date
Regards
Edited by: user13149420 on Sep 5, 2012 2:50 PMissue in tcode : OAC0.. Content server path was incorrect.
Maybe you are looking for
-
HP Officejet Pro 8500A Premium will not print docs from computer, but will print a test page. I continually get a message that the computer cannot communicate with the printer. Not only will it not print docs, it will not print web pages using IE
-
MIRO : credit memo only purpose the po vendor returns.
Dear. I need that when I create a credit memo for a vendor the system purpose only the po vendor returns. Instead the system purpose also the invoices already posted in order to reverse them. How can I obtain this ? Thanks.
-
My ipod gen 3 is frozen after the latest update from itunes,it will not power on or restore without error.Itunes is up to date,changed usb ports,even uninstalled and reinstalled all apple software, error 1601 during restore
-
7921G Security mode showing encrypted not sure why?
Hello Experts, I am seeing the Secuity mode as Encrypted under system configuration of the 7921G phone. I have done same configuration on the other phone and there I see the Security mode as NON-SECURE. Config on both the ip phone: WLAN-Security mode
-
Itunes not recognizing my iphone after the new update. Help!
Ok, so after my old dinosaur computer finally finished updating and restoring my iphone4 with the new software, everything seems ok with the exception of about 20 ringtones that didn't get restored over. So I go to replug in my phone and I get an err