cancel
Showing results for 
Search instead for 
Did you mean: 

Self approving travel expense on ESS/MSS

Former Member
0 Kudos

Hi ,

I am implementing travel expense module. We are also implementing ESS and MSS for TE. Workflows are being used to send aprovel request to managers.

I want to know if some one has implemented a check for self approval. i.e do any one know how to check and restrict self approval?

If a manager creates a expense claim and it comes on his universal work list because of some wrong work flow or substitution then how can we restrict him from approving?

Can this be done by authorisations? or by using a badi or user exit?

Regards,

Amit.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is controlled through authorization only.

Check Auth. Objects P_TRAVL and F_TRAVL. In those check

Put E in AUTHP

Answers (1)

Answers (1)

Former Member
0 Kudos

You can handle this thing in two ways.....................

1> We can always check that if the employee and approver are same then ...workflow should not allow person to approve travel expenses.We can use the exculded agents function while specfying our agent in workflow task.

i.e if travel expense approver is person having sap id

test01

and employee who creates trip is also

test01

.Then above functionality won't allow person to approve his own trip.

2. In case of substitutions we have to use badi to restrict this stuff.

As per standard SAP UWL functionality you can delegate/substitute anyone in Organization. If you want using BADI WF_SUBSTITUTE can restrict user which can come in search for delegation/substitution as per your requirement.

Please refer SAP Note 977069 - Substitute API: Providing the BAdI WF_SUBSTITUTE.