Entering content frameFunction documentation Customer-Specific Additional Data Tab Locate the document in its SAP Library structure

Use

You can use the ITravelExpenseEnhancement interface to display and add functions to the customer-specific additional data tab of Offline Travel Expenses. The customer must code the customer-specific additional data tab function entirely.

Caution

If you want to display and add functions to/for the customer-specific additional data tab using offline customer enhancements in Offline Travel Expenses, you must also implement this additional data tab in SAP R/3 using the appropriate SAP enhancement. The customer-specific additional data tab in SAP R/3 must contain the same data structure as in Offline Travel Expenses.

Activities

To be able to implement this function, you must complete the following steps:

Example

You want to display and save customer data in the customer-defined tab.

Caution

If you want to display and add functions to the customer-specific additional data tab using offline customer enhancements in Travel Expense, you must also implement this additional data tab in SAP R/3 using the appropriate SAP enhancement. The customer-specific additional data tab in SAP R/3 must contain the same data structure as in Travel Expense.

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 send customer defined data to the context to display in the UI - using OP_TRIP_CUSTOMER_DATA_LOAD.

- Use this method to save (and validate) customer defined data - using OP_TRIP_CUSTOMER_DATA_SAVE.

Leaving content frame