on 07-27-2013 10:34 AM
Hi All, I'm struggling to understand why for a new condition type just created for sales order, the related condition value is null.
I've really a bit knowledge in SD condition pricing procedure and it's highly probable that I'm missing something of basis.
I'll try to explain the question. We've a system when this new condition perfectly works (created years ago) and I'm trying to replicate it on a new system. The condition (called ZN14) is used for COPA scopes, it reports the sales revenue that will be passed in the invoices and let the invoices to go in accounting. The condition is so defined in pricing procedure
Step Cond. Descr. From To Subto Req AltCty ActKy
----------------------------------------------------------------------------------------------------------------------------------------------
145 ZN14 Eng: Copy Net Prices 630 ERL
150 Net Value - 1 130
The subcondition "Net Value - 1" is used for other scopes (that I don't know)
The condition in the system that currently works correctly, when it's calculated, it reports as Amount a null value while in the Condition Value column it's reported the correct sales revenue (and this is how it should work)
In the system that I'm trying to configure both columns (Amount and Condition Value) for ZN14 condition type are empty while "Net Value - 1" subcondition is populated correctly. I would to have the same behaviour of the other system, that is a null Amount and a Condition Value populated.
I'm thinking that it could miss a user exit.
I understand that my question is not so clear and of course there are other missing information you certainly need in order to understand it, so please ask me anything you need
thanks in advance
Luca
Generally, for the sort of issue you should first do pricing analysis to know the root cause of the issue.
Pricing analysis will let know whether you pricing is properly maintained in VK11 or fields required for determining pricing are getting determined or not.
Further, you have alt cal type routine 630 assigned to your condition type ZN14. Check the code for routine 630 that can be one of the reason.
Cheers, JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyoti, thanks for the reply
This is the 630 routine. From my point of view I think it's correct
FORM FRM_KONDI_WERT_630.
IF KOMP-KZWI1 EQ 0.
XKWERT = XWORKF.
KOMP-KZWI2 = XWORKF.
ENDIF.
ENDFORM
ZN14 is not maintained by VK11, it's a field calculatedI've also checked the condition analysis. For ZN14 I've this.
For subcondition "Net Value - 1" I've this
So I don't understand why the ZN14 condition doesn't return any value
Any idea?
thanks
Luca
As I already mentioned:
you have alt cal type routine 630 assigned to your condition type ZN14. Check the code for routine 630 that could be one of the reason.
And as you mentioned:
630 routine.
FORM FRM_KONDI_WERT_630.
IF KOMP-KZWI1 EQ 0.
XKWERT = XWORKF.
KOMP-KZWI2 = XWORKF.
ENDIF.
ENDFORM
Now, check which condition type is having subtotal maintained as "2 - Value transfer to KOMP-KZWI2"
Further, by checking the logic of above said routine 630, I get a impression that you should have been maintained that in Alternate Condition Base Value(Alt CBV) instead of Alternate Calculation Type (AltCty)
Further
subcondition "Net Value - 1"
is referenced from step 130. So whatever condition type is maintained in step 130, it will fetch its value from there.
As you haven't posted any steps details prior to step 145. It is difficult to analysis your pricing procedure and accordingly, guide you.
However, I hope this should help you to proceed further.
Cheers, JP
Sorry Jyoti, which the difference between Alt CBV and Alt Cty? maybe it could be there the issue even if in the correct system the 630 routine is set in the Alt Cty field
As I've said I've perfectly copied from the system that it works correctly and to me they seems to there be perfectly the same settings.I agree with you, it's difficult to give me an answer without see the other steps, but I don't think that posting them they will help you. I can assure that all the other condition works correctly, this is the only condition not working. However, if it can bel helpful, I've set a breakpoint in 630 routine and I've seen that it's never executed, so the first step is to understand why it's skipped by the pricing procedure while the subcondition "Net Value -1" is correctly calculated? Have I to activate it in someplace? I think to have done all the necessary step to configure it so my question is, why the routine 630 is skipped?
There is lot of information on difference between the use of Alt CBV and Alt Cty?
Check following link:
- 16 Fields in Pricing Procedure and their description
Cheers, JP
Hi Luca,
Maybe this is a silly question, but have you created a new condition record for ZN14 in new system with transaction VK11?
Regards,
JP
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.