on 04-28-2014 2:55 PM
Hi,
I am looking how to calculate and store values in the pricing procedure and then pass these values to a userexit when saving the sales order.
I know I can perform calculations in the alternate calculation routine and store the value in the subtotal XWORKH etc.
I ca use the requirement type to trigger those calculations.
What I need to know is how can I pass these values to the Save Document user-exit or any other user-exit at that level.
Thank you Amit for helping.
I think I kind of got a handle on it but please feel free to add to it.
I am going to pass calculaed values from pricing procedure to zvariables that will be defined in the KONP and KOMG structure.
I want to do this because at the save document level I want to do some validations based on these values that were calculated at the pricing procedure level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Saad -
You are going in right direction, you can handle it by adding variable in KOMG structure and do vallidations.
or
you can also think of doing calculation in pricing procedure by
Try any solution and let us know if you face an issue.
Thanks & Regards
Amit Gupta
So I need to add new variables to pricing structure KONP, KOMK etc
Can you please explain the steps?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi -
You can call your logic in User exit MV45AFZZ under following forms -
1. FORM USEREXIT_PRICING_PREPARE_TKOMK
This userexit can be used to move additional fields into the
communication table which is used for pricing:
2. FORM USEREXIT_PRICING_PREPARE_TKOMP
This userexit can be used to move additional fields into the
communication table which is used for pricing:
Let us know if it helps for your scenario.
Thanks & Regards
Amit Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.