Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Validations with Service Create Expense Report

Dear experts.

I have the following doubt:

In the service "Create Expense Report" ESS the system call two component different:

Application: FITE_EXPENSES
Web Dynpro Component: FITV_FPM
Window Information: FPM_WINDOW
View Information: LAYOUT_VIEW

This component show two buttons Start and Cancel, as is displayed in the screen attach.

And other component is

Application: FITE_EXPENSES
Web Dynpro Component: FITE_VC_PRESELECTION
Window Information: VC_WINDOW

That show the information with "Available Travel Requests / Plans and a listbox with Schema Selection(National Trip and Foreign Trip). as is displayed in the screen attach.

I need do two validations and I dont know Where Can I do this validations:

1.When I select the schema National and press the button Start the system must validate that the enduser have selectioned a row of "Available Travel Requests / Plans",  if the enduser not select a row the system have that show a message saying "Please select a row". This message have that be type error.

2. What is the name of the table and the method that use SAP for get the information that is displayed in the grid "Available Travel Requests / Plans"

Thanks in advance


Former Member

Hi Carmen,

For first validation, I suggest you overwrite the method ON_NAVIGATE of component controller of component FITE_VC_PRESELECTION. Keep in mind that you are putting this check in 'Create Expense Report'. The standard behaviour is to create a new trip, in case no trip is selected. If your business requirement is to suppress trip creation from here, follow these steps:

  • Create an enhancement of component controller of component FITE_VC_PRESELECTION.
  • Implement the Overwrite Exit for method ON_NAVIGATE.
  • Refer to the attachments for what and where to write.
  • Activate.

The trips, populated in the table 'Available Travel Requests / Plans' are picked from FM PTRM_WEB_TRIPS_GET_LIST.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question