SAP ABAP IMG Activity PAY_IN_HSG_070 (User Exit: Determine Perk Value for Housing)
Hierarchy
SAP_HRCIN (Software Component) Sub component SAP_HRCIN of SAP_HR
   PY-IN (Application Component) India
     P40C (Package) HR customizing: India
IMG Activity
ID PAY_IN_HSG_070 User Exit: Determine Perk Value for Housing  
Transaction Code     (empty) 
Created on 20010605    
Customizing Attributes USER EXIT: DETERMINE   User Exit: Determine Perk Value for Housing 
Customizing Activity PAY_IN_HSG_070   User Exit: Determine Perk Value for Housing 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PAY_IN_HSG_070    

SAP provides tables for you to calculate perqusites for the Housing benefit. As it may be the case within your organization that different groupings are used than the default settings, SAP provides you with the user exit EXIT_HINCALC0_005 in enhancement HRINHRA0. This user exit enables you to determine all the housing related wagetypes during payroll run.

In case the customer exit is not implemented or an error is returned, the SAP standard computation takes place.

To create the user exit, see the instructions below:

WARNING

You should only carry out this step if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

In this step, you can implement the user exit EXIT_HINCALC0_005 to determine the perqusite value for housing in accordance with your requirements.

If you need to implement this user exit, you first create a project for the user exit, then assign the user exit to your project. Then you write the code for the user exit, and finally activate the project.

For general information about user exits, refer to the Enhancements section in the Basis component documentation in the SAP library. In addition, there is detailed information about each user exit that you can access when you assign it to your project.

Example

Requirements

Standard settings

Recommendation

Activities

Start by creating your project:

  1. Enter a name for your project.
  2. Choose Modification -> Create.
  3. Enter a short text for your project and choose Save.

Next, assign the user exit to your project:

  1. Choose Components.
  2. Enter the name(s) of the user exits you want to implement.

Next make your coding modifications:

  1. Choose Change.
  2. Select the user exit for which you want to write code.
  3. Select the corresponding include.

The system will then prompt you to create this include, and you can continue to write your code in it.

Now activate your project:

  1. Return to the initial screen and choose Activate project.

Further notes

The input parameters passed for the customized logic are:

  • COA/CLA Delta Treatment (the CADTR constant from V_T511k)
  • Begin Date of payroll period
  • End date of payroll period
  • Financial Year begin date
  • Financial year end date

The output parameters corresponding to the wagetypes that will be generated are:

  • Metro HRA Eligibility Monthly (/3R1)
  • Non Metro HRA Eligibility Monthly (/3R2)
  • Metro HRA Basis Monthly (/3R3)
  • Non Metro HRA Basis Monthly (/3R4)
  • Metro CLA Basis Monthly (/3R5)
  • Non Metro CLA Basis Monthly (/3R6)
  • Metro COA Basis Monthly (/3R7)
  • Non Metro CLA Basis Monthly (/3R8)
  • Difference in CLA/COA Elig & Rent (/3R9)
  • Total HRA Exemption (/4E4)
  • Total CLA & COA Perk (/3RB)
  • Helper perk (/3RC)
  • Total furniture perk (/3RD)
  • Total furniture value (/3RE)
  • Total Rent paid in CLA (Fin. year) (/3RF)
  • Total FRV in COA (Fin. year) (/3RG)
  • Diff. Metro CLA Elig & Rent paid (/3RJ)
  • Diff. Non Metro CLA Elig & Rent paid (/3RK)
  • Diff. Metro COA Elig & Rent paid (/3RL)
  • Diff. Non Metro COA Elig & Rent paid (/3RM)

The changing parameters are 'Update /101,/124 (Y/N?) from difference in eligibility and rent' and 'Update /110 (Y/N?) from difference in eligibility & rent'.

The tables updated in the process are:

  • House Rent Allowance for Housing(HRA/CLA/COA) details
  • Income Tax (IT)
  • Cumulated Results Table (CRT)
  • IWPBP # Splits in WPBP and HRA/COA/CLA Basis
  • P0001 for Organisational Assignment Infotype (0001)

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CMOD L - Logical transport object CMOD HRINHRA0 User Exit: Determine Perk Value for Housing 
History
Last changed by/on SAP  20010605 
SAP Release Created in