Anda di halaman 1dari 9

TECHNICAL SPECIFICATION

Ref: Dec 2013 Page 1 of 9







Hemaya Security Services


Technical Specification


Program for calculate Advance payments
against annual Leave


Date:11-12-2013

TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 2 of 9

Document Contro
Owner
Status Completed

Version # Description of Change Date Author
0.01 First Draft 11.12.2013










TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 3 of 9

TABLE OF CONTENT

1 INTRODUCTION ............................................................................................. 4
2 OVERVIEW OF PROGRAM ........................................................................... 4
3 PURPOSE OF PROGRAM ............................................................................. 4
4 NOTES ............................................................................................................ 4
5 PROGRAM INPUT .......................................................................................... 5
6 PROGRAM OUTPUTS.................................................................................... 5
7 REFERENCE PROGRAMS AND TRANSACTIONS ....................................... 6
8 TABLES USED ............................................................................................... 7
9 CUSTOM TABLES / STRUCTURES .............................................................. 7
10 AUTHORISATION CHECKS ........................................................................... 7
11 PROGRAM LOGIC ......................................................................................... 7
12 PROGRAM EXECUTION ................................................................................ 7
13 DIAGRAM ....................................................................................................... 8
14 FINAL OVERVIEW .......................................................................................... 9






TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 4 of 9

1 Introduction
Type Description
Program Title Program created for calculate Advance
payments against annual Leave
Program Name Z_EMP_CREATE_ADV_PAY_DED
Program Type New Development
Complexity High
Priority Medium
2 Overview of Program
This program calculates advance payment against Annual Leave. And save in PA30
info type 0014.
Save advance payment in wage type 9000.
PF deduction calculates and saves in wage type 9094.
HCar rescheduling loan
3 Purpose of Program
The program passes the leave date of sub type 0999 Annual Leave with Advance
and then calculate advance payment against annual leave.
4 Notes


TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 5 of 9

5 Program Input
Field Name Label Required /
Optional
PERNR Personnel number Optional
BEGDA Start of Leave Required
ENDDA End of Leave Required
BEGDA Payment Period Required
SUBTY Payment Wage Required
EW2001 (CHECKBOX) Calculate and Display Advance Pay Required
DW2001 (CHECKBOX) Display Advance Pay (After Posting) Optional
RW2001 (CHECKBOX) Reverse Advance Pay (Reverse After Posting) Optional

6 Program Outputs


TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 6 of 9

7 Reference Programs and Transactions
TCODE: ZPO_ADVSL
Functions:
ZHEM_DATE_DIFF_ONLY_WORKDAY_30 Calculate Calendar Days
ZHEM_DATE_DIFF_ONLY_OFFDAYS Calculate only Off Days
ZHEMAYA_POST_ADV_PAY Post wage type and advance amount in
PA30
ZCOPY0014 Copy wage type from info type 0014 and
save with new date
FIMA_DATE_CREATE Determines New Date from a Date, Interest
Days and Calendar Days
Z_CHANGE_0014_PENSION_WAGE Change Pension Wage
FIMA_DAYS_AND_MONTHS_AND_YEARS Calculated days, months and years between
two calendar dates
ZHEM_HR_CALCULATE_PF_DED_MONTH CALCULATE PF DEDUCTION MONTH (10
DAYS CALCULATION)
ZHEM_HR_CALCULATE_PF Calculate PF
ZCOPY0045 Copy Loan wage type
BKK_ADD_WORKINGDAY Add/Subtract Working Days to a Date
OIL_GET_NEXT_MONTH Calculate next month
ZCHANGE0045 Change Loan Data
BAPI_EMPLOYEE_ENQUEUE Lock employee
BAPI_EMPLOYEE_DEQUEUE Unlock employee

TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 7 of 9

8 Tables Used
This form routine uses the table PA2001, PA0001, PA0014, T512T,
PA0045, T503T, PA0027 and Structure P0001, P0008.
9 Custom Tables / Structures
No custom table / structure was used in this program
10 Authorisation Checks
No additional authorizations required.
11 Program Logic
Provides the date of valid record of Leave type 0999 and calculate amount on leave
period and save this amount as Advance payment wage type 9000 into infotype 0014.
12 Program Execution
The Program is executable.

TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 8 of 9

13 Diagram

ZPO_ADVSL
Personnel number (Opt)
Payment Wage (Fix)
Posting Period (Req)
Fiscal Year (Req)
Days (Req)
Check If
Leave
Posted
Display Msg. No
Record found for
Posting
Get Data
Yes
Check_
Lock_
Pernr
No
Display Data
Lock
Unlock Do Loop
2 time
Post Advance
amount in wage
type 9000
1
2
Posting <
Start Leave
Date
Calculate Advance
Deduction against
annual Leave 9090
True
False
Calculate
Deduction

Deduction
2180 2000 2001 2002 2003
2004 2170 2187 2120 2010
2060 2189 2185 2040

Deduction Loan
HCAR HREC
Rescheduled_loan
Infotype 0045
Post in Infotype
0014
Deduction
Wage
Type Loop
True
False
Exit
Unlock
Display Data
True
False

TECHNICAL SPECIFICATION


Ref: Dec 2013 Page 9 of 9

14 Final Overview
Type Description
Department Responsible HR Department
Program Title Post Advance Payment / Deductions for
Hemaya
Program Name Z_EMP_CREATE_ADV_PAY_DED
Transaction Code ZPO_ADVSL
Project Name
No. of Transport (4)
Name of Technical Support Muhammad Anis
Name of Functional Support Syed Ijlal jaillani, Syed Yasir Qamar
Planned Time Duration
Actual Time Duration

Anda mungkin juga menyukai