on 12-22-2015 11:34 AM
Hello,
I am new to SD. Could somebody tell me what is the best way for checking SD pricing condition value and issuing an error message if for example calculated value is zero?
Appreciate your help
Regards,
Eduard
Hello Eduard,
I was thinking of standard setting that can achieve your requirement (like marking a condition as Mandatory in pricing or maintaining lower and upper limits for the Condition Record), but nothing seem to suit here.
According to me you can insert a custom code in USEREXIT_PRICING_CHECK (program MV61AFZA) which will check whether the value of said condition is less than or equal to zero and issue a error message at the time of saving the document.
Thanks,
Jignesh Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
XKWERT is value of the Condition in run-time. It is stored in Data base tables in KONV-KWERT.
Yes. a Pricing Routine is also a good option. But you may check with your ABAPer whether it is possible to raise a error message from a Pricing routine. Many clients have their own internal best practices and normally have a user exit framework to generate error message in case like these.
Thanks,
Jignesh Mehta
Hi,
Actually to achieve this functionality we need work it out with two solutions:
1) If we need to show-up only error message if the condition value is zero then we can write code in user exit of order processing
2) To make condition as mandatory I think it should be done at routine level, Create routine and assign it to condition...This routine should check for the condition level value.
Regards,
Madan Kurapati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've checked this post before starting the discussion. Great post actually, thanks. But there was a problem with standard incompletion log, the problem is that in log is field "short description" is empty and I don't know how to fill it with details for instance "ZBAS condition must be nonzero". Field "Missing data" says only "Pricing" and thats clearly not enough to understand what is the problem.
Do you know how to fill short description field in log?
Thanks a lot.
Hi
You can also explore minimum price or customer expected price conditions. There could be multiple ways of doing this as suggested above.
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the in-completion log configuration. SAP has given a standard field for Net Value and all you have to do assign this in-completion procedure to your document type / item category.
G. Lakshmipathi
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.