Ansicht
Dokumentation

EXIT_HMXCALC0_002 - User exits Mexico: state tax basis calculation

EXIT_HMXCALC0_002 - User exits Mexico: state tax basis calculation

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

In the standard R/3 system, the tax basis for calculating state taxes is stored in cumulation wage type /118. The corresponding wage types must be properly customized to determine this basis.

These corresponding wage types may be different, however, depending on the state in which the work center is located.

This function module can be used to calculate different state tax bases, depending on the the location of the work center.

Example

In state 1, the state tax basis is only based on the sum of wages. Wages wage types are customized to cumulate in the state tax standard base. In this case, this function module should not make any modifications to the standard base.

In state 2, the state tax basis is based on the sum of wages and overtime. Using this function module, overtime wage types should be added to the standard tax base.

Notes

Customize relevant wage types for the most common state tax, so that this function mdule is only used to modify the exceptions. The results table (RT) is sent as paramater for this purpose.

This function module is not time-dependent, and if there are changes to state legislation governing tax bases, its validity must be reviewed. Start and end dates of the payroll period are sent as parameters for this purpose.

The state tax basis is stored in wage type /118 individually, for each employee.

Further information

To determine the location of the work center, access table T7MX24 through the Employer Registration sent as a parameter.

To determine the taxation percentage being applied in each state, read the state taxes table (T7MX15).

Warning

This function module should only be changed when the following conditions are met:

  • Standard SAP processes do not meet your requirements.

  • You have extensive knowledge on ABAP/4 programming.

  • This function module should only be used for the purposes mentioned above. Any other use does not guarantee correct results within the system.





Parameters

ABKRS
APZNR
BASE
BEGDA
ENDDA
IT
PNR
REPAT
RT

Exceptions

Function Group

XPMX

General Data in Customer Master   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2572 Date: 20240523 Time: 064558     sap01-206 ( 94 ms )