Ansicht
Dokumentation

HRPAYUS_B_ALLOW_GUPW - BAdI: Allow gross-up wage types to be skipped in WTA process

HRPAYUS_B_ALLOW_GUPW - BAdI: Allow gross-up wage types to be skipped in WTA process

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Payroll US(PY-US) component. You use this BAdI to change the system behavior for Work Tax Area override in gross-up payments.

Consider the scenario below:

  • The employee has a valid Work Tax Area(0208) infotype for the period.
  • The employee worked in a Tax Authority different than the one in Infotype 0208.
  • The WTA override functionality is enabled in your system.
  • The employee receives a gross-up payment through Additional Payments (0015) infotype.

In this scenario, WTA override is also applied to the gross-up payment. For some tax authorities, you may not want this to occur.

If you don't want the system to proceed as described, implement this BAdI.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitionstab in the BAdI Builder (transaction SE18).

Implement this BAdI using interface IF_HRPAYUS_SKIP_GUPWT_IN_WTA and the method SHOULD_SKIP_TAXPR_ENTRY.

The method is called during gross-up processing for each entry in table TAXPR. This allows you to decide if the current Tax Authority should be considered in WTA.

Table TAXPR contains all tax authorities the employee worked in. Tax authorities to be considered in WTA Override are moved to table TXIT. If the method SHOULD_SKIP_TAXPR_ENTRY returns 'True', the system does not move the current tax authority to TXIT.

The following parameters are available:

  • IT_TAXPR_GROUP (Importing)
  • IS_CURRENT_TAXPR_GROUP (Importing)
  • IS_GROSS_UP_RT (Importing)
  • IS_APER (Importing)
  • RV_SHOULD_SKIP (Returning)

In payroll period 01.2021, the Work Tax Area is entered as California (CA) in the employee's infotype 0208. In infotype 2010, the employee has an entry for 1 business day for NJ.

The employee has a gross-up payment in infotype 0015. The gross-up payment is being prorated for both CA and NJ.

You implement BAdI HRPAYUS_B_ALLOW_GUP_WT_SKIP_WTA. You define that the gross-up payment shall not be prorated for NJ. The system will then only consider CA.






ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2652 Date: 20240523 Time: 192521     sap01-206 ( 40 ms )