SAP ABAP IMG Activity PAY_IN_HSG_080 (User Exit: Screen Validations for Housing Infotype)
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_080 User Exit: Screen Validations for Housing Infotype  
Transaction Code     (empty) 
Created on 20010905    
Customizing Attributes PAY_IN_HSG_050   Maintain the Processing Options for CLA 
Customizing Activity PAY_IN_HSG_080   User Exit: Screen Validations for Housing Infotype 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PAY_IN_HSG_080    

SAP provides standard validations done in the Process After Input (PAI) module for the Housing Infotype (0581) Screen 2000 while creating or modifying records. As may be the case within your organization that different validations may be required, SAP provides you with the user exit EXIT_MP058100_007 in enhancement HRINHRA1. This user exit enables you to perform validatations differing from the standard.

Standard validations check for:

  • Allowance grouping (AlGrp)
  • Wage type settings for the chosen housing type
  • The amount for the wagetype thus determined

The validation can result in error category messages which do not allow you to proceed further untill the conflict is resolved. The exit EXIT_MP058100_007 overrides or sustitutes these validations checks as implemented. Use this exit to convert the error messages to warning messages which allow you to proceed further.

In case the customer exit is not implemented or an error is returned, the SAP standard checks 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_MP058100_007 to substitute the validations in the PAI module hot the Housing Infotype (0581) as per 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.

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

Further notes

Further Notes

The input parameters passed for the customized logic are:

The output parameters corresponding to the chosen housing type:

  • The wage type configured for the housing type
  • The valuated amount for the wage type

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 HRINHRA1 Exit: Screen Validations for Housing 
History
Last changed by/on SAP  20010905 
SAP Release Created in