SAP ABAP IMG Activity PAY_IN_PTX_900 (BAdI: Determine Basis for Professional Tax)
Hierarchy
SAP_HRCIN (Software Component) Sub component SAP_HRCIN of SAP_HR
   PY-IN (Application Component) India
     PC40 (Package) HR payroll accounting: India
IMG Activity
ID PAY_IN_PTX_900 BAdI: Determine Basis for Professional Tax  
Transaction Code S_L7D_24000450   (empty) 
Created on 20060913    
Customizing Attributes PAY_IN_PTX_900   BAdI: Determine Basis for Professional Tax 
Customizing Activity PAY_IN_PTX_900   BAdI: Determine Basis for Professional Tax 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HR_IN_CALC_PTX_BASIS    

Use

This Business Add-In (BAdI) is used in Professional Tax Payroll India (PY-IN) component.

Implement this BAdI to determine the Basis of an employee for calculating Professional Tax if you are following a method other than the standard.

After implementing this BAdI, you must also implement the BAdI HR_IN_CALC_PTX_AMT, which you can access in the IMG under Payroll India -> Professional Tax ->BAdI: Calculate Professional Tax DeductionAmount.

Requirements

Carry out this activity only if the following conditions apply:

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

In the IMG activity Payroll India -> Professional Tax ->Maintain Method and Form Layout for PTaxGroupings (V_T7INP3), leave the following fields blank:

  • Method
  • Form layout

Standard settings

In the standard system, the Business Add-In is not activated.

Activities

After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.

    The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

  2. Save your entries, and assign the implementation to a development class.
  3. Place the cursor on the method, and double-click to enter method processing.
  4. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  5. Save and implement your code. Return to the Edit Implementation screen.

    Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  6. Choose Activate.

    The code you stored in the method will be run when the application program is executed.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
PAY_IN_PTX_900 IN India
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20060913 
SAP Release Created in