Ansicht
Dokumentation

PAY_IN_TRAP_300 - User Exit: Define User Rules for Section 80 and 88

PAY_IN_TRAP_300 - User Exit: Define User Rules for Section 80 and 88

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

SAP provides tables for you to create customized rules for Section 80 and Section 88 declarations. As it may be the case within your organization that specific rules are used, SAP provides you with the user exit EXIT_HINCALC0_003 for Section 80 and EXIT_HINCALC0_004 for Section 88 in the enhancement HRINITAX. This user exit allows enables calculations for Section 80 and Section 88 exemptions.

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_HINCALC0_003and EXIT_HINCALC0_004 to define rules for Section 80 and Section 88 in accordance with 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 coding 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.

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.

Now activate your project:

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

In the exit, the Payroll function uses the internal tables:

  • S80 (based on structure PC2_IN05) for calculation of Section 80 exemptions
  • S88 (based on structure PC2_IN06) for calculation of Section 88 exemptions

Data from Infotype (0585) is read by payroll function P0585 for Section 80 and Infotype (0586) is read by payroll function P0586 for Section 88.

Parameters passed for customer specific logic are:

  • EXIT_HINCALC0_003

Payroll period and dates & internal tables P0585 (Infotype 0585 data) and S80 (Section 80 declarations considered)

  • EXIT_HINCALC0_004

Payroll period and dates & internal tables P0586 (Infotype 0586 data) and S88 (Section 88 declarations considered)

Note

This exit enhances the payroll function to define customer specific rules.






ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3651 Date: 20240523 Time: 215550     sap01-206 ( 48 ms )