Ansicht
Dokumentation

OHFBNTL11 - BADI: Purchase Holiday for Non-newhire Event

OHFBNTL11 - BADI: Purchase Holiday for Non-newhire Event

Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Flexible Benefits for Great Britain (PA-BN-FB-GB) makes use of this Business Add-In (BAdI) FlexBens: Purchase Holiday for Non-newhire Event(PFBN0010) This BAdI enables you to implement your own rules regarding the maximum and minimum number of days that an employee can purchase for non-new hire event.

SAP standard delivery provides the buying or selling holiday factor for new hire. This BAdI allows you to limit the number of days that an employee can buy or sell when returning from leave of absence.

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

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.

Your company wishes to set a rule of buying and selling holiday for the employee returning from leave of absence. For the eligible employees, they can buy or sell up to a maximum 5 days holiday during the benefit year.

For the employees returning from leave of absence in September, they can only buy or sell 2 days in the remainder of the year. The prorating rule can be defined by your company.






TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3525 Date: 20240523 Time: 160901     sap01-206 ( 54 ms )