on 01-19-2009 7:39 PM
We use order reasons a lot in our pricing for sales orders. However, when the order reason on a sales order is changed, the pricing does not change automatically. We must manually re-price the order. Does anyone know if this is intentional, or is there a way to "force" automatic re-pricing?
In include MV45AFZB there is a userexit form 'userexit_new_pricing_vbap changing new_pricing'. In this userexit enter code:
if VBAK-AUGRU ne *VBAK-AUGRU.
new_pricing = 'B'.
endif.
'B' will initiate new pricing when order reason is changed. Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Contact ABAP consultant provide this include MV45AFZB and requirement to write this logic.
Jagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ZB and ZZ are both includes within SAPMV45A. They hold different userexit forms which are called during the order process. Depending on what you are customizing will determine which user exit form you should use. Each form within ZB and ZZ has a description of what it does. This may help you in future development needs.FYI: there are more than just ZB and ZZ.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.