Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger Pricing on delivery creation

former_member189059
Active Contributor
0 Likes
525

Hello,

We have a scenario where the value of certain Z pricing conditions depends on the open quantity of an order (confirmed quantity - delivered quantity)

This works fine when the user creates the sales order or edits it

However, when the user creates a delivery in the system, the delivered quantity changes and hence the pricing values need to be updated

However, the sales order pricing does not get triggered on delivery save

I tried using userexit_new_pricing_vbkd in MV45AFZB, but this only gets triggered when the user opens the sales order in change mode

For this scenario, the users would only have access to VA03 and hence can only see the old values

Hence, I need to find a way to trigger the entire pricing when a delivery is created / deleted

These conditions depend on other subtotals, so it would be too complex to call the PRICING / PRICING_REFRESH functions

2 REPLIES 2
Read only

former_member189059
Active Contributor
0 Likes
484

The system is SAP ECC6

Read only

0 Likes
484

you  should   try this scenario in MV45AFZZ. on save document.  this  is proper user  exit to change  it order & save it  to  final document.

Regards,

Milind