Ansicht
Dokumentation
PY_IN_INCTX_001 - BAdI to Override Customer Specific Tax Exemption Limit
Addresses (Business Address Services) ABAP Short ReferenceThis documentation is copyright by SAP AG.
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.
* 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.
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 the standard SAP solution, the Business Add-In is not activated.
After calling up the Customizing activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:
- From the tab index, choose Interface.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the coding for the implementation between the statements method IF_EX_HR_IN_CUST_EXM_CHK ~ GET_CUST_EXM_CHKand endmethod.
- Save and implement your coding. Return to the Edit Implementation screen.
-
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. - Choose Activate
The coding you stored in the method will be run when the application program is executed.
To display the sample code, choose Goto-> Sample Code -> Display
BAL Application Log Documentation rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 3345 Date: 20240523 Time: 193230 sap01-206 ( 66 ms )