07-25-2007 6:33 PM
Hi All,
A tax condition type is being setup as mandatory in the pricing proecdure.
It has a requirement routine associated to it. If the requirement routine is not satisfied, sy-subrc is 4 and hence, no tax is calculated for it but mandaotry setting demnds it to have some value. In such situations, will it over-ride the config. setting of mandatory condition type & if not so, how can I over-ride. It is compulsory to have the mandatory option ticked but its ok to over-ride it for some conditions specifed in the requirement routine.
Please advice.
Thank you,
Shiv
08-01-2007 6:01 PM
Hi Shiv,
Any critial configuration related information is available in internal tables based on which standard SAP does validations. So mandatory property of the condition type as configured in the pricing procedure, would also be available in some internal table of KOMV (KOBLI is the field indicating whether it is mandatory or not)
So in your requirement routine you can code so as to make KOBLI blank whenever the tax condition type is being deactivated by setting SY-SUBRC to 4.
Please reward if helpful.
Regards,
KC
08-01-2007 1:22 PM
hello shiv!
i am facing the same question. did you find a solution?
thanks!
matthias
08-01-2007 6:01 PM
Hi Shiv,
Any critial configuration related information is available in internal tables based on which standard SAP does validations. So mandatory property of the condition type as configured in the pricing procedure, would also be available in some internal table of KOMV (KOBLI is the field indicating whether it is mandatory or not)
So in your requirement routine you can code so as to make KOBLI blank whenever the tax condition type is being deactivated by setting SY-SUBRC to 4.
Please reward if helpful.
Regards,
KC
08-01-2007 6:03 PM
u need to write specific code in the rouinue... wherein when it fails in some scenarios it has to override...