SAP ABAP IMG Activity SIMG_OHP3WFBADI2 (BAdI: Customer-Specific Setup of 'My Bookings')
Hierarchy
SAP_HRGXX (Software Component) Sub component SAP_HRGXX of SAP_HR
   PE (Application Component) Training and Event Management
     PP9C (Package) Training and Event Management - Customizing
IMG Activity
ID SIMG_OHP3WFBADI2 BAdI: Customer-Specific Setup of 'My Bookings'  
Transaction Code S_PH0_48000338   (empty) 
Created on 20000125    
Customizing Attributes SIMG_OHP3WFBADI2   BADI for Setting Up 'My Bookings' 
Customizing Activity SIMG_OHP3WFBADI2   BADI for Setting Up 'My Bookings' 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRTEM00NET_ACTIVITY    

You can use the Business Add In HRTEM00NET_ACTIVITY to modify the hit list of event attendance bookings that appears in the Employee Self-Service PV8I My Bookings.

For this purpose, the function module RH_GET_ATTENDEE_ACTIVITIES first reads the default values, which can be changed as required. The Business Add-In is called directly before the list output on subscreen 3100 of the function group HRTEM00NET.

Example

You may want to change the hit list, for instance, if workflows other than the Workflow Templates delivered in the standard system for approval of attendance bookings PE_APPROVE01 (WS01200151), attendance cancellations PE_APPROVE02 (WS01200147), or rebookings PE_APPROVE03 (WS01200160) are used and if a corresponding status text such as Attendance booking requested should appear (field STATX in the Changing table ET_ATTENDEE_ACTIVITIES).

Requirements

Standard settings

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.

Further notes

Interface

For more information on using Business Add-Ins, refer to the SAP Library under Basis Components ->ABAP Workbench (BC-DWB) ->Changing the SAP Standard (BC)->Business Add-Ins.

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  20000807 
SAP Release Created in 46C