SAP ABAP IMG Activity HRPAYPT_CA_SURCHARGE (BAdI: Christmas allowance surcharge)
Hierarchy
SAP_HRCPT (Software Component) Sub component SAP_HRCPT of SAP_HR
   PY-PT (Application Component) Portugal
     PC19 (Package) HR settlement: Portugal
IMG Activity
ID HRPAYPT_CA_SURCHARGE BAdI: Christmas allowance surcharge  
Transaction Code S_L4H_49002420   (empty) 
Created on 20111004    
Customizing Attributes HRPAYPT_CA_SURCHARGE   BAdI: Christmas allowance surcharge 
Customizing Activity HRPAYPT_CA_SURCHARGE   BAdI: Christmas allowance surcharge 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPAYPT_CA_SURCHARGE    

Use

This Business Add-In (BAdI) is used in component Payroll - Portugal (PY-PT). This BAdI allows changes and customizings in the Christmas allowance surcharge calculation. The surcharge is defined by Law no. 49/2011, 7 September.

The BAdI is composed of the following methods:

  • Checks special conditions for Social Security basis (CHECK_DIFFERENT_SS_BASIS): with this method it is possible to change or apply any customer-specific rule that afects the Social Security basis (SS). This method is called before applying the SS rate.
  • Changes log of PTXCA function (CHANGE_LOG): with this method it is possible to add customer-specific information to the log of Christmas allowance income tax surcharge function (PTXCA).
  • Applies other reductions in the surcharge (CUSTOMER_REDUCTION): with this method it is possible to apply any customer-specific reduction that afects the surcharge final value. The value generated by this method is subtracted from the surcharge final value.
  • Checks conditions for ADSE deduction application (CHECK_ADSE_DEDUCTION): with this method it is possible to change the contribution value to ADSE. The value generated by this method is subtracted from the surcharge final value.
  • Applies special rules to the national minimum wage value (CHANGE_MINIMUM_SALARY): with this method it is possible to change the minimum wage value. The value generated by this method is subtracted from the surcharge final value.

Requirements

Standard settings

To obtain more information on the standard settings (filters, individual or multiple use), see the Definitions of enhancement spot elements tab in BAdI Builder (transaction SE18).

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
HRPAYPT_CA_SURCHARGE PT Portugal
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG HRPAYPT_CA_SURCHARGE 0 AHR0000491 Portugal 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20111004 
SAP Release Created in