cancel
Showing results for 
Search instead for 
Did you mean: 

Sales re-pricing when a value in a custom field is entered

Former Member
0 Kudos

Hi SAP Experts,

I want to re-price my sales document at the item level whenever a value in a custom field is entered or changed. What is the appropriate user-exit or config that may apply for this particular requirement?

This will be relevant for a func spec that I'm recently creating.

Jeff

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You have to write user exit to full fill this ..USEREXIT_NEW_PRICING_VBAP or USEREXIT_NEW_PRICING_VBKD

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Try with USEREXIT_NEW_PRICING_VBAP or USEREXIT_NEW_PRICING_VBKD in include MV45AFZB. For instance



  if vbap-zzfield ne *vbap-zzfield.
    new_pricing = 'B'.
  endif.

* remember :
*       ' ' = no new pricing                                          *
*       B   = Carry out new pricing                                   *
*       C   = Copy manual pricing elements and redetermine the others

I hope this helps you

Regards

Eduardo