SAP ABAP IMG Activity OHFBNTL08 (BAdI: Enhancement for GB FlexBens Holiday Cost Calculation)
Hierarchy
EA-HRCGB (Software Component) Sub component EA-HRCGB of EA-HR
   PA-BN-FB-XX (Application Component) General Parts
     PAOC_BEN_FBN (Package) Flexible Benefits System
IMG Activity
ID OHFBNTL08 BAdI: Enhancement for GB FlexBens Holiday Cost Calculation  
Transaction Code S_AEN_10000216   (empty) 
Created on 20041223    
Customizing Attributes OHFBNTL08   BAdI: Enhancement for GB FlexBens Processing Dates Calculation 
Customizing Activity OHFBNTL08   BAdI: Enhancement for GB FlexBens Holiday Cost Calculation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PFBN0006    

Use

This Business Add-In (BAdI) is used in Flexible Benefits for Great Britain (PA-BN-FB-GB). This BAdI enables you to implement your own rules regarding cost calculation when you configure Holiday Plans.

You need to configure cost rules to calculate the daily or hourly cost of your Holiday Plan in the Benefits Administration IMG step Define Cost Rules. If your required calculation formula is too complicated to configure using the above IMG step, the SAP-delivered Business Add-In (BAdI) PFBN0006 allows you to implement your own rule for calculation of daily or hourly costs of your employees' Holiday Plan selections.

This BAdI is called each time a Holiday Plan cost is calculated in the GB FlexBens system. For example:

  • When a user wishes to display the plan maintenance detail screen generated using transaction HRFBN0001 and ESS transactions PZ63, PZ64, and so on.
  • When a user wishes to display a cost summary from the plan cost summary screen using transaction HRFBN0001 and ESS transactions PZ63, PZ64, and so on.

Requirements

Standard settings

  • There is no standard implementation delivered for this BAdI.
  • As there is no standard implementation for this BAdI, it is not possibleto activate it without modification.
  • This BAdI is not filter-dependent.
  • This BAdI is not reusable.

Activities

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.

    The system displays the initial screen for creating Business Add-In implementations.

  2. On this screen, enter a short description for you implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has filled in the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. aund endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.

    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not carry out the following step:

  8. Choose Activate.

    When the application program is executed, the system carries out the code in the method you wrote.

Example

Your organisation wishes to apply its own rule for the calculation of Holiday Plan daily costs. You therefore implement (BAdI) PFBN0006 to implement your own calculation of daily costs. The system then uses the values produced by this BAdI calculate the Employee and Employer costs for an employee's Holiday Plan selection.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHFBNTL08 GB United Kingdom
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20041223 
SAP Release Created in