cancel
Showing results for 
Search instead for 
Did you mean: 

Determine a value for a condition type from a ztable

Former Member
0 Kudos

Dear Folks

Currently for one of our condition types value is being determined from the condition record. Lets call the condition type ZDEP. Now, instead of the condition record maintained in VK11, we have a requirement to determine the value for this condition type based on certain product characteristics in material master like product hierarchy, commodity number, net weight, characteristics etc .

Based on this, a value should be determined. For this purpose, we have made a routine and maintained a Ztable with all the characterstics and maintained a value there.

So while processing order, when we have a product with those parameters, a value for ZDEP will be set based on the ztable. This is working fine now. But now the issue is for a certain product we dont have an existing condition record available and since there is no value for ZDEP intially, system is failing to take value from the Ztable. I checked with our developer and we found out that ZDEP condtion type should exist in the order for the program to take the value from the ztable.

Can you suggest some solution to take value for ZDEP directly from ztable or should we have to create condition records first for those materials which do not have a condition record? Hope I am clear. Let me know in case of clarifications?

Regards

WD

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

Really confused !!!!

Are you saying for newly created orders, that condition type is not flowing? If so, did you check the Analysis tab ?

Jelena
Active Contributor
0 Kudos

I'm also very much confused by this question. At first it seemed to be about the old orders but now the comment in another answer says the exact opposite...

Lakshmipathi
Active Contributor
0 Kudos
But now the issue is for a certain product we dont have an existing condition record available

If the customization is made after creating those sale orders, then, it won't work. Moreover, it is not clear how many such orders are there. In order to correct those orders, you need to insert that condition type via exit. The other option is you change the configuration as manual, create a transport request, insert that condition type manually, and overwrite that configuration change via a new request. But I am not sure, for this proposal, your client would accept.

Former Member
0 Kudos

This change should happen only for the new orders to be created. Existing orders can continued with the the condition records already determined. As you said, the option of changing the condition type to manually will not be accepted by client.