cancel
Showing results for 
Search instead for 
Did you mean: 

PR05 Must not allow to write the same Travel Expense Type per diem in a same day

Former Member
0 Kudos

Hello, I'm having a trouble.

I want to restrict that a user in the PR05 can write two times or more the same text and code related to the Travel Expense Type in the same day.

Example:

I can write several times in a different row the travel expense Type BRPD Text Breakfast per diem.

And I'm not supposed to be doing that.

How to restrict that? Help, please!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Padilla,

this required a bit of custom programming.

for PR05 and other backend transactions you can use the enhancement (see in transaction SMOD, create custom enhancement projects based on the enhancement in CMOD, but I guess you are familiar with the old enhancement logic)  FITR0005, depending on how you want the process to flow you could also use FITR0003, but I guess FITR0005 is the better solution.

Note that for ESS scenarios you need to use the BAdI for checks in WebDynpro: BAdI TRIP_WEB_CHECK - the right method should be USER_CHECK_RECEIPTS (view in transaction SE18, implement in transaction SE19).

If unfamiliar with the old enhancement concept or BAdIs, you need to find a developer who worked with them before.

I hope this is helpful

Sven

Answers (0)