cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order conditions: Choose 1 but not the other

Former Member
0 Kudos

Hi all, I have need of help.

I have 2 condition discounts, let's call them A1 and B2.

My user expects that when A1 exists within a Sales Order, B2 should not.

What should be the best way to implement this?

[worries]

I don't wish to do this in the user-exits as I fear it will be difficult to maintain in future.

thanks in advance,

James Wong,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi there,

If you want to acheive this bu standard SAP, then use the condition exclusion grp concept. Put both A1 & B2 within a exclusion grp. Assign a condition that the least condition or the best condition should be selected. For eg if A1 if 10% & B2 is 15% & if you selected the best condition rule, tehn the system will select B2.

When B2 condition record is not maintained, then system wil automatically default A1.

Else you can also define both the condition types as manual. So the order load person will enter the relevant discount basing on the scenario.

Regards,

Sivanand

Former Member
0 Kudos

Hi Sivanand,

According to your example,

Let's say my pricing procedure has this,

...

...

A1

B2

...

...

and during SO creation B2 is chosen instead of A1,

but both B2 and A1 still display in the pricing screen in SO in transaction VA03/VA02/VA01.

Thanks.

Regards,

T.K.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi frnd,

By using condition exclusive group the discount condition types which u use say A n B.

Lets take scenario as A Discount has reflected and B will not.

though B condition appears in va01/va02/va03 it will be inactive status.

U can check inactive discount by double clicking on condition type in item level.

If inactive discount is in display screen what difference it makes to u r USER?

Think about this.

thanks,

reddyy

Former Member
0 Kudos

Hi Reddyy,

Thanks for the info.

I am asking this question in case my user asks me wheter there is a way to hide those inactive conditions in the conditions screen in VA01/02/03.

If that is the case, I will let my user know about this. Thanks.

Regards,

Thean Kiat

Former Member
0 Kudos

Hi all, Kiat T is taking over my ticket on my behalf.

Please support him as best as you can.

I will re-ward pts for the solution.

Former Member
0 Kudos

hi

you can achive this by VOFM write a routine such that it will check whether condition type A is triggered or not, if triggered then supress condition type B else trigger condition type B. and assign this routine to condition type B.

Former Member
0 Kudos

Hi all,

points updated.

Thanks for helping out

-james wong

Former Member
0 Kudos

Hi James

Best way is to go for Condition exclusion for your requirement so that at a time only one discount condition will be active and the other one will be in the deactivated mode.

Choose the appropriate comparison option from the drop down while setting for condition exclusion.

Former Member
0 Kudos

Hi

Use condition exclusion group to pick the best among the given condition types

SPRO-S&D-BASIC FUN-PRICING-CONDITION EXCLUSION.

Hope this will be usefull.

Regards

Sujith

Former Member
0 Kudos

Hi Sujith,

Thanks for the suggestion on condition exclusion, I tried implementing that but encounter this issue,

"You can still see the excluded condition records on the pricing screen in the sales order"

Any way to solve this ?

If I use VOFM will the same issue occur ?

Regards,

T.K.

former_member204513
Active Contributor
0 Kudos

Dear Wong,

One option is

Enter either one of the condition type(A1 or B2) in the sales order manually.

Second option is,

Try to create new pricing routine in the VOFM transaction with the ABAPer help as per your logis then assign this routine to your condition types.

I hope this will help you,

Regards,

Murali.