Hi, gurus
We have a requirement where we must restrict expense types according to the schema selected, considering Expense Report Screen. We know that this is possible to do, using SPRO configuration, but only if we have Enhancement Package 2. But we don't intend to apply it.
Searching for other alternatives, we found out that we can handle with Search Helps. The search help exit related to the list of value for expense types is PTRV_F4_EXP_TYPE_SH_EXIT. Our ideia has been create a 'Z' function similiar to this SH, but adding the necessary code to satisfy our requirements. Afterwards, we updated the element data configuration for SPKZL with the new SH exit: Z_PTRV_F4_EXP_TYPE_SH_EXIT.
We did it, but it only worked with transaction PR05. Here in our company, people only use transaction TRIP to create an expense report. Do you know if PTRV_F4_EXP_TYPE_SH_EXIT is really reflected only in PR05? If so, do you know another SH related to transaction TRIP for this case?
Thank you
Roberto