on 12-01-2009 7:40 PM
Hi
I need to create a new price procedure where the condition is determined by the partner carrier.
In the field catalog the following fields are available for partners:
KUNAG Sold-to party
KUNNR Customer
KUNRE Bill-to party
KUNRG Payer
KUNWE Ship-to party
LIFNR Vendor
I have tried to use the field LIFNR for Vendor and it didn't work.
Does anyone have an idea wich field I could use or how to add this partner in the field catalog?
Thank you
Emerson
Hi,
You need to create a ZCARRIER field.
1. Add this field to the struicture KOMPAZ
2. Add the field in the Allowed fields of condition table. Config: Saled and Dist - Basic Functions-Pricing-Define condition table - Allowed field.
3. Create condition table with the field
4. create access sequence usign the condition table created.
5. populate the field with the carrier partner in the exit USEREXIT_PRICING_PREPARE_TKOM in include MV45AFZZ
Regards,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen
Thank you very much for your help, I've done what tou suggested and it's working perfect!
I have one more question, if the carrier is changed the conditon must be recalculated, however it's not happening.
Do you know how can this be done? Is there an user exit for this?
Thanks in advance.
Kind Regards,
Emerson
Hi
I have read the sap note and the solution only allow to redeterminate the pricing if the fields from the tables VBAP and VBKD are changed using the following exits below and I need this for the table VBPA. Do you have another idea?
FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
Example: new pricing, when field 'Route' is changed
if vbap-route ne *vbap-route.
new_pricing = 'B'.
endif.
ENDFORM.
FORM USEREXIT_NEW_PRICING_VBKD CHANGING NEW_PRICING.
Example: new pricing, when Price list type is changed
if vbkd-pltyp ne *vbkd-pltyp.
new_pricing = 'B'.
endif.
ENDFORM.
Regards,
Emerson
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.