Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Update Pricing Condition table at the time of sales order saving

Former Member
0 Kudos
128

Hi Team- We have defined a non key field in pricing condition table for a cumulative order qty. We would like to update the order qty (Cumulative) into this field at the time of order saving. Is there any user exit or other way around ( Code plz) to do this?

Intention is to apply discount (%) to first 100 qty of sales orders. If this field is available then I need build logic to do this.

Is this a safe to do this? Pl suggest me.

Reg

shan1242

1 ACCEPTED SOLUTION

Former Member
0 Kudos
52

Hi Team- We have defined a non key field in pricing condition table for a cumulative order qty.

We would like to update the order qty (Cumulative) into this field at the time of order saving. Is there any user exit or other way around ( Code plz) to do this?

-->userexit_pricing_prepare_tkomk/p(MV45AFZZ) here you need to pass the Qty value...

>write a routine(Tcode VOFM)>forumals --> Condition Base Value..

>

> Intention is to apply discount (%) to first 100 qty of sales orders. If this field is available then I need build logic to do this.

>

> Is this a safe to do this? Pl suggest me.

>

> Reg

> shan1242

you can also check with Functionals for more details.

regards

2 REPLIES 2

Former Member
0 Kudos
53

Hi Team- We have defined a non key field in pricing condition table for a cumulative order qty.

We would like to update the order qty (Cumulative) into this field at the time of order saving. Is there any user exit or other way around ( Code plz) to do this?

-->userexit_pricing_prepare_tkomk/p(MV45AFZZ) here you need to pass the Qty value...

>write a routine(Tcode VOFM)>forumals --> Condition Base Value..

>

> Intention is to apply discount (%) to first 100 qty of sales orders. If this field is available then I need build logic to do this.

>

> Is this a safe to do this? Pl suggest me.

>

> Reg

> shan1242

you can also check with Functionals for more details.

regards

0 Kudos
52

Pl let me know is it a right way to update Pricing condition tables at the time of sales order saving for scenarios like this.. I would like to know the technical details around this option. Yes, I know we could use user exit in MV45AFZZ but worried about the performance and other stuff. Pl let me know if anyone ever tried this before.

Edited by: Shan1242 on Aug 23, 2011 6:52 PM