SAP ABAP IMG Activity SIMG_OHP3WFBADI1 (BAdI: Set Up Customer-Specific Attendance Cancellation Reason)
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_OHP3WFBADI1 BAdI: Set Up Customer-Specific Attendance Cancellation Reason  
Transaction Code S_PH0_48000336   (empty) 
Created on 20000125    
Customizing Attributes SIMG_OHP3WFBADI1   BADI for Setting Up Attendance Cancellation Reason 
Customizing Activity SIMG_OHP3WFBADI1   BADI for Setting Up Attendance Cancellation Reason 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRTEM00NET_WEBST    

This Business Add-In (BAdI) lets you determine a cancellation reason dynamically when an attendance booking is canceled in Training and Event Management. The BAdI is called in the Employee Self-Service PV8I 'My Bookings' and in the Workflow standard task PE_DELDATA_1 (TS01200295 Read Cancellation Data). The standard task is used in the Workflow template PE_APPROVE02 (WS01200147 Attendance Cancellation Employee).

Example

Cancellation procedure in the service 'My Bookings' (PV8I, Parameter I_SCENARIO = 'E'). Currently, the only value supported in the parameter I_Scenario is the value 'E' (Employee Self-Service):

A check is carried out in the function module RH_GET_CANCELLATION_DATA as to whether the Business Add-In HRTEM00NET_WEBST exists. If it exists, it is called.

If no exception is triggered, the cancellation fee is calculated using the structure returned ES_REASON.

If an exception is triggered, the cancellation fee is calculated using the standard procedure:
The system reads the value of the switch SEMIN WEBST in table T77S0. This contains the standard cancellation reason for attendance bookings in Employee Self-Service. Table T77CAR is read to determine the percentage for the cancellation fee. If this parameter is empty, the system reads the value of the switch SEMIN CCDEL. This switch contains the general cancellation reason. This is then used to calculate what cancellation fee is to be levied.

Requirements

Standard settings

Recommendation

Activities

Further notes

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