Ansicht
Dokumentation

OHAUTXBSI302 - BAdI: Estimated Annual Gross Filler

OHAUTXBSI302 - BAdI: Estimated Annual Gross Filler

Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI)is used in Tax BSI Interface(PY-US-BSI) component. You can use it to fill the BSI EG parameter to enable the calculation of payroll expense tax in the Process BSI tax calculation(USA) USTAX payroll function. The BAdI is called when the system needs to calculate the Payroll Expense Tax through Tax Type 019 in order to fill the Estimated Annual Gross(EG) BSI parameter.

If the BAdI is not implemented, the system will not recalculate the EG parameter (as today, it calculates for Connecticut).

Method

The interface IF_HRPAYUS_BSI_EG_FILLERcomprises of the following method:

1. FILL: Used to fill the Estimated Annual Gross (EG) BSI parameter

Parameters
The following parameters are called using the method of this BAdI:

  • IT_TAXES: Taxes table for the current calculation period
  • IS_PBSI_10: Structure containing header data for BSI Interface
  • IT_TCRT: Taxes Cumulated Result Table from previous periods
  • IT_P0207: Table containing the forms from Residence Tax Area (0207) infotype for the current period
  • IT_P0208: Table containing the forms from Work Tax Area (0208) infotype for the current period
  • IT_P0210: Table containing the forms from Withholding Info W4/W5 US (0210) infotype for the current period
  • IT_APER: Table with the periods processed in the payroll run
  • IT_AB: Absence Table
  • IV_PERNR: Personnel Number
  • IV_PTVAL: Single-Character Flag with the tax method
  • IV_INCID: Single-Character Flag with the income type

Changing parameter

  • CV_EST_ANN_GROSS: Estimated Annual Gross (EG) BSI parameter

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

To implement Business Add-In, follow these steps:

1. Execute this IMG step. On the subsequent screen, enter a name for the implementation you wish to create.

2. Choose Create. (Or, alternatively, Edit. The remainder of the documentation for this activity describes the steps to be performed when you create a new implementation.)

Caution

3. Enter a short text for the implementation in the Implementation namefield, then choose Continue.

4. On the subsequent screen, specify an Implementation short text, then choose the Interface tabstrip. The name of the implemented class fields are already found in this tabstrip.

5. Save your entries and assign the implementation to a package.

6. Place the cursor on the method you wish to process, then double-click to initiate method processing.

7. Enter the code for the implementation between the statements method ~ and endmethod.

8. Save and implement your code.

9. Return to the Edit Implementationscreen, then save your entries there.

10. If you wish to activate the implementation you have created at a later date, then exit the Edit Implementationscreen without activating the implementation. Otherwise, choose Activate from this screen to activate the implementation for immediate use.






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 4635 Date: 20240523 Time: 164611     sap01-206 ( 98 ms )