SAP ABAP IMG Activity HR_PBS_00_CA_01B (Override Calculation Module)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PY-DE-PS-VA (Application Component) Pension Administration
     P00PBSCA_IMG (Package) HCM Calculation Modules (IMG)
IMG Activity
ID HR_PBS_00_CA_01B Override Calculation Module  
Transaction Code S_L4H_49001209   (empty) 
Created on 20091214    
Customizing Attributes HR_PBS_00_CA_3_1   Calculation Modules (Nonrequired Activity / Critical) 
Customizing Activity HR_PBS_00_CA_01B   Override Calculation Module 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HR_PBS_00_CA_01A    

Use

A class is assigned to the calculation modules provided by the SAP standard system to perform the relevant calculation.

You can use this Customizing activity to assign an alternative customer-specific class to the calculation modules. This class is then used instead of the SAP class when the calculation is called.

The customer-specific class must inherit from the SAP class so that it contains the necessary methods and interfaces.

Requirements

Standard settings

In the standard system, no overrides of calculation modules are delivered.

Activities

If you want to specify an alternative calculation to the SAP standard delivery for a calculation module, you create a class in the customer namespace that inherits from the SAP class. You can change the calculation made in the SAP method by redefining individual methods.

Although this is not a modification, redefining a method only makes sense under certain conditions:

  • The SAP class provides special methods whose purpose is to prepare specific values; these special methods are intentionally available for adjustment by customers.

or

  • The alternative customer processing can be performed once the logic of the SAP methods are run. In this case, when you redefine the methods, the method of the superclass is called first and then the customer-specific processing is run.

Otherwise, there is a risk that the customer processing will differ too much from the standard processing and a greater adjustment effort will be required on the customer side for corrections or legal changes. In case of doubt, contact our consultants or development team.

Example

For the calculation module VAVH provided in the SAP standard system, you want to define a different start date for inclusion of the legal age limit. In the SAP class CL_HRDEPBSCA_VAVH, a method CUST_BEGINN_ANPASSUNG_AG exists that was created especially for this purpose.

In this case, you create a customer-specific class (for example, ZZCL_HRDEPBSCA_VAVH) that inherits from the SAP class CL_HRDEPBSCA_VAVH. In your class, you redefine the method CUST_BEGINN_ANPASSUNG_AG and specify the start date you require using the parameter E_AB_EINVF.

In the Customizing activity, you enter your own customer-specific class for the module VAVH.

Calculation Module    Valid from    Valid to    Name    Class/Interface

VAVH    01.01.2009    31.12.9999    Pension Pay Reductions, Section 14.3    ZZCL_HRDEPBSCA_VAVH

In this case, as of January 1, 2009, your customer-specific class ZZCL_HRDEPBSCA_VAVH is called for calculation for the calculation module VAVH.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
V_T7PBSCA1B V - View SM30  
History
Last changed by/on SAP  20091217 
SAP Release Created in