on 09-02-2017 4:15 PM
Hello SAP colleagues,
we have just migrated ESS Travel Management from Java WebDynpros to ABAP WebDynpros becasue of SAP Netweaver upgrade. In old Java solution was possible to create Travel expenses only if related travel request was already approved. Currently in ABAP WD based ESS we are able to create travel expense independently on travel request status. Could you please give us the solution how we can activate this functionality? We are not sure whether it is possible to activate via customizing or it needs to be done by code modification.
Thank you
P.s.: In below picture you can see, that it is possible to create travel expense for travel request which is still in opened (not approved) state.
Hello,
at the end of the day we have solved the problem by enhancing WD Component FITE_VC_PRESELECTION.
I've created own logic to Pre-exits ON_INIT and PREPARE_TRIP_LIST.
When user tries to create Travel Expense, related Travel Request is checked in table PTRV_PERIO for approval status. If travel request is not approved yet, error message is raised and further processing is blocked. I've had to use report_fatal_error_message method , otherwise the processing was not blocked.
It is a workaround, but issue is solved.
Thank you for your support Monika.
Kind regards,
Tomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check SAP note 2164524 describing in detail how to use authorization object P_TRAVL for creating expense reports on approved travel requests only.
Regards,
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monika,
the solution via authorization adjustment partially worked, but it wasn't accepted by management, due to the fact, that the people who are responsible, say that its not possible to incorporate it in the existing authorization concept. When they've configured authorization object P_TRAVL according SAP note 2164524 they've lost almost all they current rights and they haven't been able to use Travel Management. Is there any other standard way how to manage this problem?
Thank you
Kind regards,
Tomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.