on 06-20-2011 2:10 PM
HI,
Is it possible to limit the tax code pick list content that the portal users see? currently, all VAT codes that have ever existed in our ERP seem to sit in that list & obviously people are then choosing the wrong ones!!
Can i get in and either specify that list myself, or limit to only valid codes?
Many Thanks
Hi bruceiow,
the tax codes comes FI table - But I think this is not new to you.
If you like to limit this in the portal (WebDynpro) you need to use the BADI trip_web_customizing.
All customizing will be "transferred" to the front end by calling the service. Here you can than specifiy which of the tax codes you do not like to have transferred.
Best regards,
Siegfried
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the standard solution when entering a receipt, the value from V_T706B1 is defaulted. If you want, that the user is not able to choose a different, you can set the field to read-only.
If you use the BAdI TRIP_WEB_CUSTOMIZING then you need to implement this first (SE18 ) and here you can make your changes but remember that you can only change the VAT codes in the dropdown box regardless of the expense type. There is no chance to have a expense type dependent dropdown box for VAT codes.
Hope this helps.
Edited by: Sally Redmond on Jun 20, 2011 3:59 PM
Hi Bruce
You would need to talk to your ABAP developer about implementing own code using this BAdi.
I had a think about this though and if you have the business function active FIN_TRAVEL_1 and on WD ABAP, what about using table V_T706S_RECEIPT to restrict the expense types by schema ? Note 1148065 explains a bit more about the changes that came with migration from Java to ABAP as unfortunately you cannot restrict expense types in Java landscape. This way though you can restrict it to only the expense types with correct tax version/.
Maybe this might work and be a simpler solution instead.
Sally
Also check the function module called PTRM_UTIL_CUSTOMIZING_GET and PTRM_WEB_CUSTOMIZING_GET as here this sorts the order and the method USER_EXIT_CUSTOMIZING can be used for sorting the values for expense type so perhaps your own code here to group by correct tax code etc could help.
You need to be working on this FM PTRM_UTIL_CUSTOMIZING_GET as this is where the BADI is called which delivers the values for the drop down box
Edited by: Sally Redmond on Jun 28, 2011 9:55 AM
Hi Sally
two years ago you wrote
"There is no chance to have a expense type dependent dropdown box for VAT codes."
I have an ecc6 ehp4 and i think this is still valid (i've try all the afternoon to find a code but no joy ),
would you mind to help me confirming your previous statement?
I would be trulytrulytruly apreciated
cool beans!
a
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
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.