SAP ABAP IMG Activity PTFMLA_BADI (BAdI: Administration of FMLA Requests)
Hierarchy
SAP_HRCUS (Software Component) Sub component SAP_HRCUS of SAP_HR
   PA-PA-US (Application Component) USA
     PT_FMLA (Package) FMLA
IMG Activity
ID PTFMLA_BADI BAdI: Administration of FMLA Requests  
Transaction Code S_L6B_69000407   (empty) 
Created on 20030114    
Customizing Attributes PTFMLA_BADI   Administration of FMLA Requests 
Customizing Activity PT_FMLA   Administration of FMLA Requests 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PT_FMLA    

Use

This Business Add-In (BAdI) is used in the Integration with Time Management component (PY-US-GR-PT).

You can use it to represent customer-specific regulations for managing FMLA requests that cannot be represented using Customizing settings. FMLA requests are requests for absence on the basis of the Family and Medical Leave Act in the USA.

The BAdI is called when the system checks an FMLA request.

Specifically, you can use this BAdI to:

  • Overwrite the system-calculated value for the week converter by implementing the interface method calculate_week_converter, based on your business requirements.
  • Overwrite the system-calculated value for the eligibility hours of an employee, implementing the interface method calculate_eligibility_hours, based on your business requirements.

Requirements

  • You use the Time Management component (PT).
  • You use FMLA Management.
  • If you want to reference actual working times in your implementation of the BAdI, you must use the Time Evaluation component (PT-EV).

Standard settings

There is no implementation of this BAdI in the standard system.

Activities

After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:

  1. In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.

    The screen for creating BAdI implementations is now displayed.

  2. Enter a short text for the implementation in the Short text for implementation field.
  3. From the tab index, choose Interface.

    The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

  4. Save your entries, and assign the implementation to a development class.
  5. Place the cursor on the method, and double-click to enter method processing.
  6. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  7. Save and implement your code. Return to the Edit Implementation screen.
  8. Save the entries on the Edit Implementation screen.

    Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  9. Choose Activate

    The code you stored in the method will be run when the application program is executed.

See also:

For more information about FMLA management, see the SAP Library and choose Human Resources -> Payroll -> Payroll United States (PY-US) -> Gross Part of Payroll -> Management of Family and Medical Leave.

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
PTFMLA_BADI US USA
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030924 
SAP Release Created in