on 04-04-2009 9:27 AM
Hi
I have a requirement. I know that Travel Expense Types do have the permissibility based upon "Employee Grouping for Travel Expense Types". This is being done in V_T706B1 in the field 'ExpTy.Permissibility'. Based upon the group the employee belongs to, he/she can have the visibility to the expense type in 'Travel Expense Report'
Now my requirement is can I have the same type of permissibility to travel expense types based upon the Trip Activity type. For example if I choose a trip activity type 'Billable to Customer' in Trvael Request Form I should be able to see expense types AIR, TRAIN while if I choose 'Internal Training' I should be able to see only TRAIN in Travel Expense Report.
Is this possible?
With EHP2 this is possible with Trip Schemas not Activity Types. The suggestions about the z function module should be helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
We have done the same by using customized search help exit for the field PTK03-SPKZL.
Standard search help exit is:PTRV_F4_EXP_TYPE_SH_EXIT, copy this as a Z function module and modify according to your requirement.
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Open data element:SPKZL from SE11.
Check the search help name:SH_EXPENSE_TYPES.
Double click on the search help SH_EXPENSE_TYPES.
You can find the search help exit name:PTRV_F4_EXP_TYPE_SH_EXIT
Copy that PTRV_F4_EXP_TYPE_SH_EXIT into a 'Z' function module.
Filter the expense type, in the loop,
loop at spkzls where spkzl in t_spkzl_selopt and sptxt in t_sptxt_selopt.
****write ur logic here to filter the expense types based on the activity
append spkzls to spkzls_help.
endloop.
After activating the above z function module, replace the standard function module with 'z' function module in search help exit filed.
Thanks and Regards
hi
check the authorization objects for the transaction code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I came to know that this is achievable in EHP2 where you can have trip expense types depending upon trip schema.Is this right? If so, then where to do the configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
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.