cancel
Showing results for 
Search instead for 
Did you mean: 

Travel Expenses - limit how far back an expense can be entered

Former Member
0 Kudos

My client doesn't want employees to be able to submit a travel expense that is more than 90 days old in PR05. Can this be done?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Dcontant,

You need a help from web dynpro or portal consultant, ask them to restrict the date not less the 90 days or place a error message in the date selection field in the Expense only Expense web dynpro component.

By doing this the employee will not be able to create a ER older then 90 days.

Regards,

Raziq

Former Member
0 Kudos

Hi,

you can use user exit to add validation to check date. just ask your abaper to add some checking in user exit.

whether to check trip date or trip receipt date.

user exit that can be used is EXIT_SAPMP56T_003.

hope it helps

0 Kudos

Well one way is to prevent overlapping trips for your schema but that isnt specific for date range (feature WRC in TRVPA from Tcode PE03) but to limit the dates that can be selected I think you can only do this perhaps with the BAdi trip_imp_exp-and the method >RESTRICT_TRIPS_IN_RANGE