on 12-14-2009 12:23 PM
Hi,
Lets say i have two conditions
ZPR1
ZPR2
The validation of ZPR2 depends on ZPR1, i.e. if ZPR1 is automatically determined in sales order, then ZPR2 should not be determined in the pricing calculation. If ZPR1 is not determined in sales order, then ZPR2 should be determined.
how can i achieve it?????
I hope I have cleared the point.
thanks.
Hi
Requirement is quite simple one.
Goto VOFM>requirement>pricing.
Write a routine such that
read "xkomv" structure and search ZPR1,
if found
make sy-subrc =4
else
sy-subrc =0.
end if.
Assign this routine to ZPR2 in pricing procedure.
try and revert.
P.S. you may require ABAPer.
Edited by: Yadav on Dec 14, 2009 3:20 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try standard condition exclusion concept.
Assign both this conditions to two differenent exclusion groups.
Assign these groups withing pricing procedure (keep exclusion proceduer as D)
Try & revert.
Regards
Sanjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But to achieve the same , there would be some minimum requirements which might be different for both the Condition Types..
As per those requirements , maintain the Condition record which helps you determine one of them in the Sales order.
Else if requirements are same for both the Condition types ,then ask your ABAPer to maintain the same logic as mentioned by you in the User Exit.
Best Regards,
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.