SAP ABAP IMG Activity OHTX03017 (BAdI: Free Determination of Payroll Hours and Payroll Days)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PT (Application Component) Personnel Time Management
     PTIM (Package) HR Time Management Application Development
IMG Activity
ID OHTX03017 BAdI: Free Determination of Payroll Hours and Payroll Days  
Transaction Code S_PL0_09000364   (empty) 
Created on 20020430    
Customizing Attributes OHTX03017   Free Determination of Payroll Hours and Payroll Days 
Customizing Activity OHTX03017   Free Determination of Payroll Hours and Payroll Days 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PT_ABS_ATT_COUNTRY    

Use

You can use this Business Add-In to recalculate values for an employee's payroll hours and payroll days. You can determine the values on the basis of the employee's working time data that is available as an import parameter of the BAdI.

If you only want to multiply the payroll hours and days by a factor to generate new values, we recommend that you use the TIM00ATTABSCOUNTING BAdI (Multiplication of Payroll Hours and Payroll Days). In this BAdI, however, you can determine the payroll hours and days freely.

During evaluation of data in the Absences (2001) and Attendances (2002) infotypes, the BAdI is called for each day that is between the start date and end date of the infotype record being processed. When the BAdI is called the system transfers the country grouping (MOLGA) of the employee whose data it is processing.

You can only define the values for payroll hours and payroll days using customer-specific calculations.

Example

Requirements

Standard settings

There are no implementations of the BAdI in the standard system.

Recommendation

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.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020430 
SAP Release Created in 470