Entering content frameFunction documentation Customer-Specific Default Comments Locate the document in its SAP Library structure

Use

You can use the ITravelExpenseEnhancement interface to display customer-specific default comments.

Caution

If you want to display customer-specific default comments using offline customer enhancements in Travel Expense, you must also implement the default comments in SAP R/3 using the appropriate SAP enhancement. The table containing customer-specific default comments must be filled during synchronization from SAP R/3.

Example

You want to set the customer exit key to the following:

For trips:

For receipts:

Caution

If you want to display customer-specific default comments using offline customer enhancements in Travel Expense, you must also implement the default comments in SAP R/3 using the appropriate SAP enhancement. The table containing customer-specific default comments must be filled during synchronization from SAP R/3.

Proceed as follows:

  1. Define a separate class, ZTravelExpenseEnhancement. This class must implement the ITravelExpenseEnhancement interface.
  2. Implement the customize method. Use this method to set the customer exit key (in the TRAVEL_TEXT_TEMPLATE_NAMES record) if strOperation equals OP_TEXT_SET_DEFAULTS.
Leaving content frame