on 09-13-2011 10:22 PM
All,
I need to know if there is a functional module i can call to redetermine pricing while creating sales order. This should be done while creating the sales order and before saving it.
thanks
Dear SDWIKI106,
We are curious to know more about your requirement.
If you do not mind, please share the requirement.
Thanks & Regards,
Hegal K Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont know why you want to reprice even before saving the order. That is at first place not suggested pricing design. If you have your design like that, you have to reprice every order before saving and that is a manual and arduous task. You should be able to change your design only little bit so that the correct prices are taken in the order.
If you really want to trigger a reprice, you have to call the function module PRICING and pass a pricing type (I think the parameter is KNTYP ,but not sure with the respective value. Then repricing will occur.
The pricing type is mentioned by the import parameter "CALCULATION_TYPE" and this has got default value of A. If you want some other value, you can pass it. The entire logic can be called in one of the user exits just before the sales order is saved/committed.
But as already said, not a very good design.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you can explain the requirement in detail as to why you need a function module for pricing, it will be easy to propose a suitable suggestion.
Though there are many user exits for pricing, below are couple of such exits.
a) USEREXIT_PRICING_CHECK (module pool SAPMV61, program MV61AFZA)
b) USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA)
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.