Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Travel & Expense security.

Former Member
0 Kudos

Hi All,

We are using WF to approve travel expenses. For a manager to be able to approve the trips, we are told that he needs aut.object P_TRAVL (field AUTHP = E). However - when given this authorization, the manager also gets access to a button "Change personnel number" in TRIP (or ESS). Via this he can actually create travel expenses for any employee he otherwise has access to.

This is viewed by our users as a security lopphole - which we agree on. Any hints how to solve this without having to dim out the button via code repairs? Can it be solved via field AUTHF?

6 REPLIES 6

Former Member
0 Kudos

Any hints how to solve this without having to dim out the button via code repairs? Can it be solved via field AUTHF?

Yes thats right, with the exception that your 3 character field values should not begin with 'W'. For example you can have R** or R*4 etc.

Also use AUTHP with value 'E' to control the same person processing his/her own Travel Expenses but can process other's.

Gp

0 Kudos

I know that but the problem is that for that user to be able to execute his own T&E, we have to maintain W value for AUTHF with AUTHP as O..I maintain R for AUTHF with AUTHP as E and it shows the link to change personnel number..

0 Kudos

How about two P_TRAVL objs with

1st P_TRAVL

AUTHF - R**

AUTHP - E

2nd P_TRAVL

AUTHF - 1st Char - W, 2nd Char _(space) or 1 and 3rd Char - _(space) or 0 or 1.

AUTHP - O

Gp.

0 Kudos

nops..it did not work.

0 Kudos

Did you try using P_PERNR too.

Gp.

0 Kudos

Do you have Structural Authorization in place?? If so Structural Authoirzation will not work for T&E because they are Finance transaction codes. You can implement BADI "FITV_PERSNO_AUTH_CHK" so that Structural Authorization will work for those transaction codes.