2015 Jul 16 10:19 AM
Hi All,
I need to restrict the Condition value in header of the invoice.
There is a Z item condition defined and it will calculate the 10 Percent of the original condition.
I had written a routine to restrict to 50, but if there are multiple items then it will get added in header so i want to restrict it to 50.
Kindly help me in sorting out the issue.
Thanks.
2015 Jul 16 11:42 AM
Are you using VOFM routine for this? Trying clearing the variable before passing your value. Can you share your code?
Regards
Mehwish
2015 Jul 16 12:01 PM
HI Mehwish,
I need to restrict / change the Condition value in Header of the invoice Can we write a routine to
Change the condition value??. I have written routine to change the value in item not in header.
Are any Exit available to Change the value?.
Ex.
Header - Condition value = 100 ( I want to change it to 50).
Item - 1. - Condition value = 50(Written a Routinein VOFM).
Item - 2. - Condition Value = 50(Written a Routinein VOFM).
Thanks.
2015 Jul 16 11:58 AM
Hi,
Debug and find that is your routine called for the header condition where field XKOMV-KHERK = 'D' and that the value you are changing is actually passed to the correct variable after the routine has been executed.
Hope this helps.