cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Price Redetermination when header data is changed

Former Member
0 Kudos

Hi All,

Scenario: Client is using customer condition group fields to maintain shipping method(VBAK-KVGR2) and freight terms(VBAK-KVGR3) in Sales Order Header. They have maintained condition records to calculate frieght charge for items. Requirement is whenever any of the above mentioned field is changed, freight condition has to redetermine automatically for the item.

Any help will be highly appreciated.

Regards

Srini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The logic of how the system behaves to redetermine conditions during field changes is stored in the include LV61AA12. Try to code in USEREXIT_NEW_PRICING_VBKD to force a new pricing as detailed in Note 26115 "conditions not updated during field change".

This exit is located in include mv45afzb:

if vbak-kvgr1 ne *vbak-kvgr1.

new_pricing = 'B'.

endif

Edited by: John MG on Oct 3, 2008 2:22 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

Maintain a condition table (V/03) as for your requirement, and maintain a condition record for that key combination using VK11.

Swamy Hp

Former Member
0 Kudos

Hi Everyone,

As mentioned in your response, those steps are carried out already. When Sales Order is created for first time, the freight condition is calculated automatically using condition record and access sequence. Here the requirement, if Freight terms or Shipping method is changed later, the freight condition has to be redetermined automatically without manual price update. However I find an user-exit, which can redetermine the freight condition only when any of the line item details are changed.

I am not sure if there is any other user-exit available if header values are changed, the freight condition has to be redetermined.

Thanks for your response.

Regards,

Srini

Former Member
0 Kudos

Dear,

If you have the fields KVGR2 and KVGR3 in the condition table, and create condition records then it'll work as per ur requirement.

Hope it'll be helpful to you.

Thanks & Regards,

Venkatesh.S.P.

former_member204513
Active Contributor
0 Kudos

Dera Srinivasan,

Please try this,

Maintain the freight condition record based on the Customer group in VK11 transaction.

First you create the Condition table with one of the field Customer group then maintain access sequence for this after that assign this access sequence to the freight condition type.

Now you maintain the condition record,

I hope this will help you,

Regards,

Murali.