Skip to Content
0
Former Member
Apr 18, 2011 at 10:35 AM

Restrict Expense Types - front end

37 Views

I'm trying to restrict the expense types shown in front end using the BADI IF_EX_TRIP_WEB_CUSTOMIZING~USER_EXIT_CUSTOMIZING as described in this thread: Restrict Expense Types

I successfully manage to remove items from EXPENSE_TYPES (PTRV_WEB_T706B1) but when loading front end the method SUPPLY_EXPENSE_TYPES located in the web dynpro component FITE_VC_RECEIPTS, custom controller RECEIPTS is invoked and that populates the drop down with all the expense types, also the ones I already removed once.

Can anyone help me? If not I guess I will have to enhance the SUPPLY_EXPENSE_TYPES method and remove them from the context in an pre-exit method?

BR Jan