on 03-26-2012 7:24 AM
Hi Folks,
I am trying to configure travel management and I am getting stuck with one issue. I am trying to use the default value option in "Define Maximum Rates and Default Values for Expense Types". Consider I have 2 expense types in this case.
1. Hotel Reimbursement
Here I have selected the "Reason for exceeding maximum rate is required" in the Amount Type and gave the Default/Max Value field as 10,000.
2. Incidental Expenses
In this I have selected "Default Value" in Amount Type and gave the Default/Max Value field as 2000.
In case of a travel for 5 days:
For hotel reimbursement it performs the check and allows me to enter until 50000 and prompts for an error message when I enter more as the limit would be 10000*5 = 50000.
But for incidental expenses, because default value if selected, value gets defaulted as 2000. Here it does not take into consideration the 5 days and just gives the default value for a day.
I have configured the IMG Node Field control for additional receipt information accordingly.
Kindly help me as to what could be the issue or whether this is supposed to be the standard behavior?
Regards,
Rahul
You have to use "User-Exit: Save Trips": EXIT_SAPMP56T_002
Here you can define your own check routines. Because max amount customizing is only valid on item level. The user still can enter more than ones the same expense type and will go over the limit. In the user exit you can calulate "total amount of expens types HOTL devided by days of trip".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying out the same. But in case the amount exceeds the maximum limit would it be possible to bring up the pop-up to enter the reason, rather than throwing an error message? I want it to work like the setting in maximum limit where we mention that reason should be give if the limit exceeds.
Is this possible?
Cheers..
Hi,
You can do this by maintaining V_T702N_A 13th Item with the respective expense and maintaining V_706B2 where you have to maintain the give the option of
Reason for exceeding maximum difference is required
Hope it helps.
Regards,
LN Bhattacharya
Thats all fine - but if the user enter twice the expense type and will be under the max mount no reason pop up will come up.
Only way to check all entries are the user exit EXIT_SAPMP56T_002. Here you can do all custom checks you like. Of course also a popup question can be implemented with this.
Hi,
for counting number of days for default value, try this.
in SPRO , Travel Managament > Travel expenses > Dialog and Travel Expenses Control > Dialog Control > Field Control for Additional Receipt Information
choose your expense type then put number calculation 0 or 1, depends on your requirements.
hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
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.