SAP ABAP IMG Activity OFTV_MOD_BADI_06 (BAdI: Receipt Wizard)
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_06 BAdI: Receipt Wizard  
Transaction Code S_PLN_16000085   (empty) 
Created on 20020320    
Customizing Attributes OFTV_MOD_BADI_06   Business Add-In: Receipt Wizard 
Customizing Activity OFTV_MOD_BADI_06   Business Add-In: Receipt Wizard 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name TRIP_RECEIPT_WIZARD    

Use

The Business Add-In TRIP_RECEIPT_WIZARD defines and implements the interface IF_EX_TRIP_RECEIPT_WIZARD in the class CL_EX_TRIP_RECEIPT_WIZARD. You can use it for the transactions of Travel Management including TRIP_EWT, but not for the services in SAP EP interface.
The methods of the interface are conceived as user exits for custom changes to the design and function of the Receipt Wizard. They are processed in function group HRTR_REC_WIZ (with function module PTRV_REC_WIZ). It is then checked whether custom implementations of the interface exist. Multiple implementations can be active at once. If that is the case, these implementations are processed one after the other.

You implement the methods as user exits in the SAP menu under Tools -> ABAP Workbench -> Utilities -> Business Add-Ins (transaction SE19).

In addition to this SAP standard for user exits, you can make modifications directly in include LHRTR_REC_WIZFEX. This include also contains example implementations for the individual form routines and methods. If you want to transfer these implementations directly to the methods, you only need to adjust the parameter names accordingly (for example, p_split_correction must be used in the form routine exit_force_split_correction, but split_correction must be used in the method force_split_correction).

Requirements

The Receipt Wizard must be activated in the IMG under Travel Expenses -> Master Data -> Travel Expense Types -> Create Travel Expense Types for Individual Receipts for at least one expense type.

Standard settings

The BAdI has the following methods:

  • CHANGE_DROP_DOWN_LIST (change list of displayed expense types)
  • CHANGE_PICTURE (change displayed picture)
  • CHANGE_SCREEN_SET (change screen group)
  • CHECK_REST_AMOUNT (check remaining amount)
  • FORCE_SPLIT_CORRECTION (enter price per day manually in split receipt screen)
  • CHANGE_DETACHED_RECS (change split subreceipts, such as the receipt date)
  • CHANGE_SPLIT_REC (change itemized receipt)

Activities

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired 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  20050726 
SAP Release Created in 110