cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing: Condition record exists but has not been set in the document

Former Member
0 Kudos

Hi,

I have maintained condition record for a condition ‘YLS2’. This is a discount at: ‘S. Ord./Distr. Chan./Plant/material group 1’ level

When I create a sales order it should kick. When I enter the material and the quantity and press enter (I expect that the delivering plant will be read from the customer master but it is not maintained on the customer), I get the message ‘pricing error mandatory condition MWST is missing’ When I then enter the plant the condition MWST gets set but my condition ‘YLS2’ not. Only after doing a update of the pricing with pricing type ‘B‘(carry out new pricing) the condition gets updated.

When I enter the material, the quantity and the plant in one go and then press enter, then the condition ‘YLS2’ gets set.

I checked the analysis, when the condition was not set, and got the following explanation:

‘This message tells you that the condition record exists, but has not been set in the document. If pricing was carried out again for the document item, then the condition would be set.

There are different reasons for this:

  1. The condition was deleted manually in the item condition screen.
  2. The condition record was created later. Please note that order processing and pricing have buffer mechanisms. This means that a newly added condition record might only be found after order processing has been left completely and then started again.

If the condition type is used for subsequent settlement (rebate),….

None of the explanations applies: The condition was not deleted manually, the condition was created a few days ago and I create a sales order today. It is not a condition for subsequent settlement.

Any idea how I can make YLS2 work in the same way as the MWST?

Kind regards,

Rudy

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

When I then enter the plant the condition MWST gets set but my condition ‘YLS2’ not.

It is a standard behaviour in SAP such that if delivering plant is missing, tax condition type will not flow and once we maintain the same, it will flow.  But in your case, the issue is with other condition type also.  Moreover, I am not clear from your explanation.  Do you mean to say

  • Order created for a material
  • Plant is missing in sale order
  • MWST and YLS2 are not flowing
  • Once plant is entered, MWST is flowing but not YLS2

In normal circumstances, as long as you maintain condition record for any item condition type, it should flow in sale order; of course for the combination of pricing condition maintained. 

Only after doing a update of the pricing with pricing type ‘B‘(carry out new pricing) the condition gets updated.

If this is the case, then while entering plant also, the condition type should flow and I am surprised in your case why it is not happening.  Check in debug mode why system was not considering this condition type at the first instance itself.

G. Lakshmipathi

Former Member
0 Kudos

Hi Mr. Lakshmipathi,

I agree with you that the MWST and YLS2 cannot be set if the plant is missing. The problem is that after entering the plant the MWST is set and the YLS2 not.

I'm affraid that that I have to follow your advice and debug this. I had hoped to avoid that by starting this discussion,

Kind regards,

Rudy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The answer is in your statements only.

When I enter the material and the quantity and press enter, I get the message ‘pricing error mandatory condition MWST is missing’ When I then enter the plant the condition MWST gets set but my condition ‘YLS2’ not. Only after doing a update of the pricing with pricing type ‘B‘(carry out new pricing) the condition gets updated.

Here, you have created condition record for the combination of S. Ord./Distr. Chan./Plant/material group 1’ level

So, when you entering only material and quantity, and dont enter plant (as you said it is not maintained in customer master and have to enter manually) and system is unable to find condition record for combination S. Ord./Distr. Chan./Plant/material group 1, because plant is missing.

And when you enter the plant later on, you have to update the price as Carry out new pricing. Only then system will pick the price based on the new value (plant) you are putting after pressing Enter initially.

System gives message because MWST is mandatory condition type and in your case, YLS2 is not mandatory thats why you had to update the pricing manually.

When you enter all the details i.e. material, the quantity and the plant in one go and then press enter, then the condition ‘YLS2’ gets set.

Here system is getting all the combination for which you have maintained condition record.

So, I think there is no problem in the system and it is behaving properly.

You can maintain plant in customer master or material master (so that it will flow into the sales order while order creation) and then try. It should work.

Hope you get some inputs

regards,

Sagar Wagh

Former Member
0 Kudos

Hello Sagar,

Thank you for writing a reply.

I disagree with you that the system is behaving properly because it is behaving inconsistent, since the MWST is set while the YLS2 is not set after entering the plant.

Kind regards,

Rudy

Former Member
0 Kudos

If you read my earlier post, I have already mentioned below things.

The reason behind MWST setting in order after you enter plant is - MWST condition type is Mandatory.


Kindly check if YLS2 condition type is also mandatory. If not then make it then check, it should work

since the MWST is set while the YLS2 is not set after entering the plant.

Hope you this helps you

regards,

Sagar

Shiva_Ram
Active Contributor
0 Kudos

Check whether OSS 1460297  - Message VE108 in pricing analysis for a sales document is of any help.

Regards,