Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 14, 2017 at 09:46 AM

    Hi,

    you can use the user exits in - MV45AFZB

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 10:40 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 12:13 PM
    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 12:23 PM

    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.
    Add comment
    10|10000 characters needed characters exceeded