SAP ABAP IMG Activity PY_IN_INCTX_001 (BAdI to Override Customer Specific Tax Exemption Limit)
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 PY_IN_INCTX_001 BAdI to Override Customer Specific Tax Exemption Limit  
Transaction Code S_L4H_49002441   (empty) 
Created on 20111012    
Customizing Attributes PY_IN_INCTX_001   BAdI to Override Customer Specific Tax Exemption Limit 
Customizing Activity PY_IN_INCTX_001   BAdI to Override Customer Specific Tax Exemption Limit 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HR_IN_CUST_EXM_CHK    

Use

This Business Add-In is used in the General Tax Exemption (PY-IN) component.

This Add-In enables you to maintain tax codes and tax limits based on Personnel Area or Personnel Sub-Area grouping in customer specific table as per requirements.

In the standard SAP solution, you maintain the customer specific tax codes and limits in Taxability of wage types (V_T7INT9) table. However, you can Customize this as per your requirements using the method GET_CUST_EXM_CHK.

The BAdI has the following import parameters:

  • Organizational or Enterprise parameters maintained in Personnel Action (0001) infotype.
  • Begin date and end date of the current payroll period
  • Tax code
  • Wage type

The BAdI has the export parameter, TAX_EXM_DET. This structure contains the tax codes and tax exemption limit.

Sample Code

* Check for the Customer specific Taxcode and wagetype for which tax exemption limit has to be overidden

* Assign the tax exemption limit to the field(taxlt) in the structure tax_exm_det.

* IF taxcd = 'ZEXM' AND lgart = 'ZCPY'.

* tax_exm_det-taxcd = taxcd.

* tax_exm_det-lgart = lgart.

* tax_exm_det-taxlt = '900'.

* ENDIF.

Requirements

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

Default

In the standard SAP solution, the Business Add-In is not activated.

Standard settings

Activities

After calling up the Customizing 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.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the coding for the implementation between the statements method IF_EX_HR_IN_CUST_EXM_CHK ~ GET_CUST_EXM_CHK and endmethod.
  4. Save and implement your coding. Return to the Edit Implementation screen.
  5. Save the entries on the Edit Implementation screen.

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

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

Example

To display the sample code, choose Goto -> Sample Code -> Display

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 
Customizing Attributes Country Key Country Name
PY_IN_INCTX_001 IN India
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20111013 
SAP Release Created in