on 03-30-2009 11:16 AM
Hi All,
We are inplementing Travel management.I have two scenarios for travel expense control.
1)I have created expense type "out of pocket Expenses" my client wants validation on travel expense amount based on days,Ex:Out of pocket expense is 100rupees per day, if the trip is for 10 days. In case the trip is for 15 days for first 10 days 100rupees per day will be reimbursed and for the next 5 days 50% of the eligible amount i.e 50rupees will be reimbursed. how to configure this validation?
2)If the trip is for less than 12 hours 50% of the eligible amount i.e 50rupees should be reimbursed.
How to validate travel expense reimbursment based on days and hours?
Thanks and Regards,
Shilpa
Hi Shilpa,
1)I have created expense type "out of pocket Expenses" my client wants validation on travel expense amount based on days,Ex:Out of pocket expense is 100rupees per day, if the trip is for 10 days. In case the trip is for 15 days for first 10 days 100rupees per day will be reimbursed and for the next 5 days 50% of the eligible amount i.e 50rupees will be reimbursed. how to configure this validation?
i) Add validation in BAdI: Define Additional Checks for Web Dynpro. Method - USER_CHECK_LINE_OF_RECEIPTS
ii) Take Maximum amount per Day from V_T706B2
ii) System calculates date diffrence based on configuration in
Travel Expenses-> Dialog and Travel Expenses Control-> Dialog Control-> Field Control for Additional Receipt Information
Keep Number field as mandatory.
Set Number Calculation as 0 (Difference in dates, but at least 1 day).
If you want the system to calculate as default then need to implement badi.
2)If the trip is for less than 12 hours 50% of the eligible amount i.e 50 rupees should be reimbursed.
Option "A"
i) Add validation in BAdI: Define Additional Checks for Web Dynpro. Method - USER_CHECK_LINE_OF_RECEIPTS
ii) Take Maximum amount per Day from V_T706B2
iii) Calculate the Time Difference from Trip From date , Time and Trip End Date , Time
iv) Calculate the entitlement ( Maximum Amt * 50 %)
Option "B"
i) Create Enterprise Specific Activity as "Trip < 12 Hrs"
ii) Define maximum amout for that activity.
Regards,
Kamal rawal
Edited by: Kamal Rawal on Mar 30, 2009 7:19 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.