Sunteți pe pagina 1din 12

Ooredoo

HR-PA
Technical Design EH014 Infotype Enhancement

Technical Design

Infotype Enhancement

File Name: 271301217


Status: Draft

Page 1 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement

General Information
Document Location
Associated Documentation
(FD)

AP350 FD E HCM XXX - Infotype Enhancement v.0.2.docx

Sign Off
Team

Name

Date

Signature

Revision History
Date
23 Jan 2014

Author
Johannes Mario
Kristanto

Status
Draft

Description / Reason for Change


Initial Draft

GENERAL REQUIREMENTS........................................................................................................................... 4

RELATED DOCUMENT.................................................................................................................................... 4

DEVELOPMENT OBJECTS............................................................................................................................. 4

ASSUMPTIONS................................................................................................................................................ 4

TECHNICAL FLOW / PROGRAM LOGIC........................................................................................................ 5


5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8

General Program Hierarchy...................................................................................................................... 5


Program Subroutine / Component Inventory............................................................................................. 5
Code Reuse.............................................................................................................................................. 5
Selection-screen Layout........................................................................................................................... 5
Authorization Objects and Checks to be Used.......................................................................................... 5
Pseudo Codes.......................................................................................................................................... 5
Output Detail/Layout................................................................................................................................. 5
Interactive Capabilities.............................................................................................................................. 5

PERFORMANCE CONSIDERATIONS............................................................................................................. 5

SET-UP PROCEDURE...................................................................................................................................... 5

RECOVERY PROCEDURE / SPECIAL CONSIDERATIONS...........................................................................6

EXCEPTIONS................................................................................................................................................... 6

10 UNIT TEST........................................................................................................................................................ 6
File Name: 271301217
Status: Draft

Page 2 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
11 DESIGN CHANGES / ISSUE DOCUMENTATION............................................................................................ 6

File Name: 271301217


Status: Draft

Page 3 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
1

GENERAL REQUIREMENTS
Program Description
Status (Required)
Business Priority

RELATED DOCUMENT
DevLo
g No

Creation of new custom infotypes to accommodate other


enhancements named Tax Data and Social Security
100%
High

Description

Transport
Request

CHARM
Number

DEVELOPMENT OBJECTS
[List of all objects being used or modified e.g. program, function module, transaction codes, etc. Refer to content of Transport Request
submitted for the change]

Object
Type
Custom
Infotype
(Program
, screen,
table)
Custom
Infotype
(Program
, screen,
table)

Name

Description

9401

Tax data

9402

Social Security data

ASSUMPTIONS
[Assumptions that are being used so that program can be run/used properly]

File Name: 271301217


Status: Draft

Page 4 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
5
5.1

TECHNICAL FLOW / PROGRAM LOGIC


General Program Hierarchy
[Required - Flowchart of program logic and processing to be included here, not the business or functional flowchart]

5.2

Program Subroutine / Component Inventory


Program

5.3

Subroutine/Component

Description

Code Reuse
[Is there an existing program that can be modified to suit the requirements of this program?]

5.4

Selection-screen Layout
Infotype 9401 Tax Data

Parameter
Description

Selection
Screen Type

Personal Tax
ID

Parameter

Yes

P9401-TAX_ID

Spouse
Benefit

Check Box

No

P9401SPOUSE_BE
N

No. of
Dependents

Dropdown

No

P9401NO_DEPEND

Mandator
y

Default
value

Reference
Field

Screen Field

Remark &
Validation
details

Infotype 9402 Social Security Data

File Name: 271301217


Status: Draft

Page 5 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement

Parameter
Description

Selection
Screen Type

Mandator
y

Default
value

Reference
Field

Social
Security Type

Parameter

Yes

P9402INSTY

Insurance
level

Dropdown

Yes

P9402CLEVL

Account ID

Parameter

No

P9402ACC_ID

Currency for
amounts

Parameter

No

P9402WAERS

Output Only
Default
MMK

Employer
Percentage

Parameter

No

P9402PCTER

Employer
Amount

Parameter

No

P9402AMTER

Will be output
only field
depend on
Selected
Employer
Calculation
Rule

Employer
Calculation
Rule

Dropdown

Yes

Employee
Percentage

Parameter

No

P9402PCTEE

Employee

Parameter

No

P9402-

01

File Name: 271301217


Status: Draft

Screen Field

Remark &
Validation
details

P9402RULER
Will be output
only field
depend on
Selected
Page 6 of 12

Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
Amount

Employee
Calculation
Rule
5.5

AMTEE

Dropdown

Yes

01

Employere
Calculation
Rule

P9402RULEE

Authorization Objects and Checks to be Used


[Describe any authorization checks the programmer code]

5.6

Pseudo Codes
[Required - Describe in detail the overall processing flow/logic. Do not copy and paste the program. Use pseudo code instead. E.g.
- For dialog modules, describe/display the screen layout, screen flows, PBO, PAI
- For exits/BAdI, describe the project/implementation detail, the input and output parameters, processing logic, etc.
- Also specify the error handling that in place for logic flow of the program]

Process Before Output (IT 9402)


Add below logic to Module p9402
Set default value whenever the screen is show for the first time
If psyst-nselc = "1"
If psyst-iinit = "1" AND psyst-ioper = "INS"
p9402-ruler = "01"
p9402-rulee = "01"
p9402-waers = "MMK"
Endif
Endif

Set Employer and Employee Rule text base on user selection


If p9402-ruler = "01"
v_employer_rule_txt = "Percentage"
Elseif p9402-ruler = "02"
v_employer_rule_txt = "Amount"
Elseif p9402-ruler = "03"
v_employer_rule_txt = "Amount + Percentage"
Endif
If p9402-rulee = "01"
v_employee_rule_txt = "Percentage"
Elseif p9402-rulee = "02"
v_employee_rule_txt = "Amount"
Elseif p9402-rulee = "03"
v_employee_rule_txt = "Amount + Percentage"
Endif

Get Employee/Employer Amount & Percentage value from table ZHPYT_SOC_MASTER


Base on User selection for Insurance level
If sy-ucomm = A Or sy-ucomm = B Or sy-ucomm =
Select Single All Field
From:
Social Security Master table
(ZHPYT_SOC_MASTER)
Into:
wa_social_master
With Condition:
insty = p9402-insty
clevl = p9402-clevl

File Name: 271301217


Status: Draft

Page 7 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
begda <= p9402-begda
endda >= p9402-begda
If found
If p9402-ruler = "01"
If p9402-pcter Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-pcter = wa_social_master-pcter
Endif
p9402-amter = 0
Elseif p9402-ruler = "02"
p9402-pcter = 0
If p9402-amter Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-amter = wa_social_master-amter
Endif
Elseif p9402-ruler = "03"
If p9402-pcter Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-pcter = wa_social_master-pcter
Endif
If p9402-amter Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-amter = wa_social_master-amter
Endif
Endif
If p9402-rulee = "01"
If p9402-pctee Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-pctee = wa_social_master-pctee
Endif
p9402-amtee = 0
Elseif p9402-rulee = "02"
p9402-pctee = 0
If p9402-amtee Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-amtee = wa_social_master-amtee
Endif
Elseif p9402-ruler = "03"
If p9402-pctee Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-pctee = wa_social_master-pctee.
Endif
If p9402-amtee Is Initial Or sy-ucomm = "A" Or sy-ucomm = ""
p9402-amtee = wa_social_master-amtee
Endif
Endif
Endif
Endif

Get Subtype text


Select Single
Name
(STEXT)
From:
Subtype Texts
(T591S)
Into:
v_subty_text
With Condition:
sprsl = sy-langu
infty = P9402
subty <= p9402-insty

Set Output control (disable/enable) for Field Percentage and Amount

File Name: 271301217


Status: Draft

Page 8 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
If psyst-ioper = DIS
Else
Loop At Screen
If screen-name = "P9402-WAERS"
screen-input = 0
Endif
If p9402-ruler = "01"
If screen-name = "P9402-PCTER"
screen-input = 1
Endif
If screen-name = "P9402-AMTER"
screen-input = 0
Endif
Elseif p9402-ruler = "02"
If screen-name = "P9402-PCTER"
screen-input = 0
Endif
If screen-name = "P9402-AMTER"
screen-input = 1
Endif
Elseif p9402-ruler = "03"
If screen-name = "P9402-PCTER" Or screen-name = "P9402-AMTER"
screen-input = 1
Endif
Endif
If p9402-rulee = "01"
If screen-name = "P9402-PCTEE"
screen-input = 1
Endif
If screen-name = "P9402-AMTEE"
screen-input = 0
Endif
Elseif p9402-rulee = "02"
If screen-name = "P9402-PCTEE"
screen-input = 0
Endif
If screen-name = "P9402-AMTEE"
screen-input = 1
Endif
Elseif p9402-rulee = "03"
If screen-name = "P9402-PCTEE" Or screen-name = "P9402-AMTEE"
screen-input = 1
Endif
Endif
Modify screen
Endloop
Endif
5.7

Output Detail/Layout
[Provide screen-capture of the output result if there are any]

Header Layout:
Structure Name: PS9401
Item Structure:
Field

Field Description

Field Type / Ref

Field

Field

File Name: 271301217


Status: Draft

Conversion

Comments
Page 9 of 12

Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
Name

Field to Data
Dictionary

Length

tax_id

Tax ID

ZDE_TAX_ID

15

spouse_
ben

Spouse Benefit

ZDE_SPOUSE_
BEN

no_depe
nd

No. of
Dependents

ZDE_NO_DEPE
ND

reference (for
Currency/Qua
ntity Field)

routines

Field
reference (for
Currency/Qua
ntity Field)

Conversion
routines

Structure Name: PS9402


Item Structure:
Field
Name

Field Description

Field Type / Ref


Field to Data
Dictionary

Field
Length

insty

Social Security
Type

ZDE_INSTY

clevl

Insurance
Scheme
Contribution Level

ZDE_CLEVL

acc_id

Account ID

ZDE_ACC_ID

15

pcter

Employer
Percentage
Contribution

ZDE_PCTER

pctee

Employee
Percentage
Contribution

ZDE_PCTEE

amter

Employer Amount
Contribution

ZDE_AMTER

15

PS9402WAERS

amtee

Employee Amount
Contribution

ZDE_AMTEE

15

PS9402WAERS

ruler

Employer
Calculation Rule

ZDE_RULER

rulee

Employee
Calculation Rule

ZDE_RULEE

waers

Currency Key

waers

Comments

Footer Layout:

Breaking:
[Describe what criteria will be used for page breaking]

Totals:
[List any totals that should be accumulated on the report.]

Sorting:
File Name: 271301217
Status: Draft

Page 10 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
[List any columns that should be sorted with the sort order (ascending, descending).]

5.8

Interactive Capabilities
[Provide information on any interactive capabilities of the program, e.g. Call transaction when specific field column is double-clicked,
etc.]

PERFORMANCE CONSIDERATIONS
[Describe in detail any performance considerations for the development and the rectification / work around or any suggestion to
maintain the performance of the programs]

SET-UP PROCEDURE
[Provide necessary set up or configuration need to be prepared before program can be executed]

RECOVERY PROCEDURE / SPECIAL CONSIDERATIONS


[Provide steps or procedures / considerations when enhancements result in errors or failures]

EXCEPTIONS
[Any exceptions in the technical design need to be listed here in this section]

10

UNIT TEST
[The following table is used for unit test procedure by ABAPer refer to test script provided in Functional Design document. Provide
screen-capture to show result when necessary]

Test Condition
Normal Processing
1. Create Tax data

Data created in SAP

2. Change Tax data


3. Create Social Security Data

Data can be changed


Data created in SAP

4.
Error Processing
1. Change Social Security
Data and leave blank Social
Security Type

Data cant be change

2. Change Social Security


Data and input wrong Social
Security Type value

Expected Result

Data cant be change

Test Result
Data created in
SAP
Data changed
Data created in
SAP

Error Message Fill


in All required
entry fields
showed
Data not changed
Error Message
Entry 9402 9101
does not exist in
T591A (check
entry) showed
Data not changed

3.

File Name: 271301217


Status: Draft

Page 11 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

Ooredoo
HR-PA
Technical Design EH014 Infotype Enhancement
11

DESIGN CHANGES / ISSUE DOCUMENTATION


[Describe any change to the original design in this section Use this section to record issues or items that need to be resolved as part of
the Functional Design. The following Issues were defined during Functional Design/Preparation.]

Raised
by

Issue

Date
Needed

Resolution/Answer

File Name: 271301217


Status: Draft

Date
Completed

Resolved
by

Page 12 of 12
Copyright 2014 Ooredoo-Accenture. All Rights Reserved

S-ar putea să vă placă și