2. PF Transfer– FI ModuleFunctional
Specifications
Document Control Information Page ii
Document Control Information
Document Information
Document Identification FI_DEV_FS_98
Document Name PF Transfer
Project Name Oberoi@One ERP Project
Client EIH Limited
Document Author Dip Ranjan Verma
Document Version 2.0
Document Status Released
Date Released 10-04-2015
Document Edit History
Version Date Additions/Modifications Prepared/Revised by
1.0 01-04-2015 Initial Dip Ranjan Verma
2.0 10-04-2015 Updated Arvind Yadav
Document Review/Approval History
Date Name Organization/Title Comments
< dd-mmm-yyyy > <Name> <Organization/Title> <Comments>
Distribution of Final Document
The following people are designated recipients of the final version of this document:
Name Organization/Title
3. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
Table of Contents Page iii
Table of Contents
1 General Design Specification .....................................................................................................4
1.1 Requirement Overview ..........................................................................................................4
1.2 Business Driver .....................................................................................................................4
1.3 Development Type ................................................................................................................4
1.4 How the development will work ...............................................................................................4
1.4.1 How the development will be run ...................................................................................4
1.4.2 Dependencies and Assumptions ....................................................................................4
2 Process.......................................................................................................................................5
2.1 Process Description...............................................................................................................5
2.2 Attachments..........................................................................................................................5
2.3 Processing Logic ...................................................................................................................5
3 Technical Information.................................................................................................................6
3.1 Summary ................................................................................. Error! Bookmark not defined.
3.2 Detailed Technical Details......................................................... Error! Bookmark not defined.
3.3 List of objects........................................................................................................................8
4 Test Conditions ..........................................................................................................................9
4. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
General Design Specification Page 4 of 10
1 General Design Specification
1.1 Requirement Overview
Transfer of PF liability of Employee from Payroll Unit to the unit where PF Account is getting maintained.
1.2 Business Driver
1.3 Development Type
Development
Type:
Report Interface Conversion Enhancement Form
Workflow
1.4 How the development will work
1.4.1 How the development will be run
System will automatically derive the Company Code from the PF Trust id and will do the transfer posting.
1.4.2 Dependencies and Assumptions
5. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
Process Page 5 of 10
2 Process
2.1 Process Description
PF Transfer Program.
2.2 Attachments
2.3 Processing Logic
Employees of the Oberoi Groups get transferred to different units but their PF Accounts gets maintained
in same place only where he got recruited initialy. All PF liability (i.e., Employees contribution, Employer
Contribution, Admin Charge) has to be transferred to the unit where his PF Account is getting maintained.
A PF Trust id is getting mapped in the master data of employee’s Personnel no. which represents the unit
where PF Account of this employee is getting maintained.
In the initial screen of the SAP, user will have option to enter
Month : Single Value
Year : Single Value
Personnel No. : Range
Month and Year fields are required field.
System calculates the PF liability amount from different Wage types of the employee. These amounts will
be matched with the HR Report. An Z-Table will be maintained for the combination of PF Trust ID and
Relevent Co code. System will derive the Destination Co Code from the PF Trust id maintained in the
master Data of Employee’s Personnel no and transfer the PF liability to them.
Document will get posted with Doc type ‘SP’ from this program.
Accounting Entries
Entries in the Books of Payroll Unit
PF liability Dr
Inter Unit Payable Cr
Entries in the Books of Unit Maintaining PF Account
Inter Unit Receivable Dr
PF liability Cr
6. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
Technical Information Page 6 of 10
3 Technical Information
Updated by Pranotosh Masanta.
3.1 Summary
The objective of this report is to do posting of PF.
3.2 Detailed Technical Details
1. Report program ZFI_PF_TRANSFER whose T-code is ZFI0051.
2. SELECTION-SCREEN :
3. Fetch data from PA0587 and store data into internal table IT_PA0587
comparing BEGDA ,ENDDA and personal number from selection screen.
4. Fetch data from ZHR_WAGE_TYP and store data into internal table
IT_WGTYP.
5. Fetch data from T52EL and store data into internal table IT_T52EL comparing
LGART from table IT_WGTYP and MOLGA = ‘40’ and SIGN equal to ‘ ’.
6. After that fetch data from T030 and store data into internal table IT_T030
comparing SYMKO from table IT_T52EL and KTOPL = ‘OCA’.
7. Fetch data from ZFI_PF_TRAN and store data into internal table IT_PF_TRAN
comparing TSTID from table IT_PA0587.
8. Fetch data from ZFI_BUK_GSB_PRCT and store data into internal table
IT_BUK_GSB_PRCT comparing BUKRS from table IT_PF_TRAN.
9. Fetch data from PA0001 and store data into internal table IT_PA0001
comparing PERNR from table IT_PA0587 and BEGDA and ENDDA.
10. After that fetch data from T512T and store data into internal table IT_T512T
comparing MOLGA , SPRSL and LGART.
11. Fetch data from CSKS and store data into internal table IT_CSKS comparing
KOSTL and KOKRS from table IT_PA0001.
7. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
Technical Information Page 7 of 10
12. Now loop table IT_PA0001 and read table IT_PA0587 comparing PERNR from
IT_PA0001 and read table IT_PF_TRAN comparing TSTID of IT_PA0587, now
comparing field BUKRS of IT_PA0001 with IT_PF_TRAN if same then delete
table IT_PA0001 otherwise go on.
13. Now loop table IT_PA0001.
14. First call function module ZHR99L00_GET_RETRO_MONTH_DIFF and we get
values in IT_LGART, IT_LGART1 and IT_AB table.
15. Now loop table IT_LGART and do sum of the amount and store into
IT_LGART2.
16. And delete table IT_LGART and after that read table IT_LGART comparing
field LGART.
17. Now fill IT_LGART2 and copied it into IT_LGART.
18. Now again loop IT_LGART and read table IT_CSKS and IT_T52EL and fill
IT_FINAL and IT_PF_TRANSFER.
19. Now modify table ZFI_PF_TRANSFER from table IT_PF_TRANSFER.
20. Fetch data from ZFI_LIVE_BUKRS and store data into internal table
IT_LIVE_BUKRS.
21. Fetch data from ZFI_PF_TRANSFER and store data into internal table
IT_FINAL3 comparing MONAT ,fiscal year and personal number from
selection screen.
22. Now loop table IT_FINAL3 and do sum of amount of duplicate entries and
store it into IT_FINAL2.
23. Again loop IT_FINAL2 and read table IT_PA0587 coompariing PERNR of
IT_FINAL2.
24. Now pass IT_FINAL2 to the SET_TABLE_FOR_FIRST_DISPLAY method for ALV
output.
25. First generate posting part:
26. First get the LT_DOCHEADER , LT_ACCGL , LT_CURAMT and LT_CUST.
27. Now pass tables into function module BAPI_ACC_DOCUMENT_CHECK and
get LT_RETURN .
28. If error comes in table LT_RETURN then show it in error log.
29. Otherwise call function module BAPI_ACC_DOCUMENT_POST to for posting
and show posting status in ALV.
30. Revarsal posting part:
31. Same as generate posting part.
8. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
Technical Information Page 8 of 10
Output:
After posting:
3.3 List of objects
Object Type Object Name
9. PF Transfer – FI Module Functional
Specifications
FI_DEV_FS_98
Test Conditions Page 9 of 10
4 Test Conditions
(Listof test conditions or reference of related documents)
Scenario Detail steps Result/
Comment
PF Report matching with HR
Records
Amount of Provident Fund for each employee gets match
with the HR reports
Pass
Accounting Entries
FI entries are getting posted in the books of Payroll Unit
and the unitwhere the Provident fund amount to be
transferred.
Pass