cancel
Showing results for 
Search instead for 
Did you mean: 

Condition Exclusion

Former Member
0 Kudos

Hello,

Please let me know if the following scenario is possible to handle through standard SAP:

There are 2 discount condition types - ZAAA and ZBBB. If the system finds condition record for both the condition types then it should consider only ZAAA for calculation. i.e. irrespective of the best/worst discount between ZAAA and ZBBB, it should consider only ZAAA.

Let me know the settings for this please.

Thanks,

Shankar

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Shankar

Just activate the "Conditon exclusion "indicator. I hope this will serve your purpose.

You can activate the indicator in three places.

1. For condition type PR00 ( If you activate in PR00, then all dependent discount condition types will be excluded)

2. You can activate for condition type ZBBB (as created by you). If you activating the indicator here then all condition records created based on this condition type will be excluded.

3. You can activate in the appropriate Condition record on contion type ZBBB, which you want to exclude.

I hope, 2nd or 3rd option will serve your purpose. If you have not created any more condition record on ZBBB, then go to the condition type and activate the "Condition Exclusion " indicator.

If you have created many condition records on ZBBB, then in the appropriate condition record activate the

Former Member
0 Kudos

Hi Shankar

First define two Exclusion Group .Then assign the condition types which u want the exclusion procedure to take effect.Then go to maintain exclusion procedure for pricing, there select ur pricing procedure and assign the 2 exclusion groups for comparision and maintain the condition exclusion procedure field as "D - exclusion" which vll satsify ur requriment.

For example: Goto SPRO(IMG) -->SD >Basic functions>Pricing--->conditionexclusion.

2 Exclusion Groups as ZZZ and YYY.Then assign ur cond.types i,e ZZZ-->ZAAA and

YYY-->ZBBB . Assign these exclusionproc 2 price procedure

Former Member
0 Kudos

Hi there,

Define a new condition exclusion grp ZXX & assign ZAAA & ZBBB to it.

In the pricing procedure, assign a new customized requirement routine which will check the exclusion grp ZXX. If both ZAAA & ZBBB are existing in the sales order, then code should apply only ZAAA.

Also try checking if posssible to define a new exclusion rule where you apply only ZAAA if both the condition types are there in the SO.

Hope it works.

Regards,

Sivanand

Former Member
0 Kudos

Hi ! Shankar,

You can achieve this through condition exclusion.

here is a detailed description of how you can achieve this: use the menu path IMG> Sales & Distribution> Basic Functions> Pricing> Condition Exclusion> Condition exclusion for group of conditions.

When you execute this IMG acitivity you get a window with three options

1.Define Condition Exclusion Groups

2.Assign condition types to the exclusion groups

3.Maintain condition exclusion for pricing procedures

We will use these three options one by one, we start with the first

1. Define two exclusion groups, lets say EX01 and EX02, give a description for both

2 Assign the two condition types that you want to compare to the two exclusion groups

lets say EX01 ZAAA

EX02 ZBBB

3. under this third step, select the pricing procedure that you are working on and from the left margin click on 'Exclusion'. click on 'New Entries' and make the following entries (example)

Sno. Cpr ExGr1 Description ExGr2 Description

10 D EX01 l EX02

Important is Cpr should have value 'D'. Save your entries.

Check if your purpose has been met or not. Do give your feedback

Regards,

PATHIK

Former Member
0 Kudos

Hi there,

1st define a new condition exclusion type XY.

Assign both ZAAA & ZBBB into XY.

Define in the exclusion procedure that system should select the best among the group or least among the group.

So in the rpicing procedure, whenever the system finds the 2 condition types, it will look at the relevant condition exclusion & then apply as per what is maintained in the exclusion procedure.

From SPRO --> Sales & Distribution --> Basic functions --> Pricing --> Condition Exclusion.

This is logged in SD general forum. Pls dont log calls in multiple locations. It will lead to confusion to the 1 who is answering.

Regards,

Sivanand

Former Member
0 Kudos

Dear,

As we know that if we use condition exclusion the system will give the best discount available to the customer.

Because of this reason the system will find the best discount between ZAAA and ZBBB.

To get condition type ZAAA irrespective of best discount consult your ABAPER and write the user exist

If you have any concerns revert back the same

with regards

Amjath

Former Member
0 Kudos

Better to write User exit for this..with help of abaper