SAP ABAP IMG Activity OFTV_MOD_BADI_02 (BAdI: Automatic Approval of Travel Expenses)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   FI-TV-COS (Application Component) Travel Expenses
     PTRC (Package) Customizing for Travel Management
IMG Activity
ID OFTV_MOD_BADI_02 BAdI: Automatic Approval of Travel Expenses  
Transaction Code S_ALN_01000155   (empty) 
Created on 20011029    
Customizing Attributes OFTV_MOD_USR_EX_01   User Exit: Delete/Reorganize Trip Statistics 
Customizing Activity OFTV_MOD_BADI_02   BAdI: TRIP_APPROVAL 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name TRIP_APPROVAL    

The business add-in TRIP_APPROVAL is called by the trip approval report RPR_APPROVE_TRAVEL_EXPENSES when the 'Approve trips' (user exit) option is chosen in the special processing section.

For each trip selected by the approval report, the most important data (header data, trip receipts, cost assignments) is copied to the business add-in.

In the add-in you can then decide on the basis of the copied trip data, whether the trip should be automatically approved. If yes, transfer an 'X' to the 'APPROVE_TRIP' parameter. The approval report then carries out trip approval.

Links

For more information on BadIs, refer to the SAP Library under SAP NetWeaver -> Application Platform (SAP Web Application Server) -> ABAP Technology -> ABAP Workbench (BC-DWB) -> Changing the SAP Standard.

Example

Requirements

Standard settings

Recommendation

Activities

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