cancel
Showing results for 
Search instead for 
Did you mean: 

Carrier in Pricing Procedure

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

tn_naveen
Participant
0 Kudos

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

Former Member
0 Kudos

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

tn_naveen
Participant
0 Kudos

Hi,

Please read Note 26115 for details on how to achieve your requirement.

Regards,

Naveen

Former Member
0 Kudos

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

tn_naveen
Participant
0 Kudos

Hi,

Try using the exit USEREXIT_MOVE_FIELD_TO_VBKD to populate a field in VBKD - (use any field that you is not being used - KDKG5 maybe?) everytime the carrier changes.

Then use the exit available on VBKD.

I havent tried this before but let me know how it goes!

Cheers,

Naveen

Answers (0)