cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic re-pricing of the sales order when custom partner function is changed.

Former Member
0 Kudos

Hello -

We have pricing based on custom partner function. The requirement is to be able to automatically re-price the order when the partner is changed on the sales order.

None of the userexits in MV45ZFZZ, ZA,ZB and ZC are triggered with the partner function is changed.

Has anyone had a similar requirement and how to go about it.

Really appreciate any guidence on this.

Thanks,
RJ M

Accepted Solutions (0)

Answers (4)

Answers (4)

Lakshmipathi
Active Contributor
0 Kudos

Also, please note new fields used in pricing are not populated automatically. The field must be filled inside the following user exits:

  • USEREXIT_PRICING_PREPARE_TKOMK/USEREXIT_PRICING_PREPARE_TKOMP in program MV45AFZZ for sales order and
  • RV60AFZZ for invoices.
Lakshmipathi
Active Contributor
0 Kudos
We have pricing based on custom partner function.

You need to provide more details on this, preferably how the condition record is maintained with screen shot. Also ensure that the field is added in Structure KOMP in the access sequence of that condition type.

former_member194575
Active Participant
0 Kudos

You can check subroutine USEREXIT_NEW_PRICING_VBAP in MV45AFZB. It will get triggered when you change partner number in sales order. Based on your conditions, add the code new_pricing = 'B'. So that the pricing will get redetermined.

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

you can use the user exits in - MV45AFZB