• February 12, 2026
  • Kishore Thutaram
  • 0

Update Sales Order Pricing Conditions Automatically Without Manual Intervention

Business Scenario:

“Update the sales order conditions when there is a field update by user at item level”

Steps:1: Open User Exit Include program: MV45AFZB

Step 2: Use Form routine FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING. for VBAP level field change

Use Form routine FORM USEREXIT_NEW_PRICING_VBKD CHANGING NEW_PRICING. for VKD level field change.

Step 3: *vbap or *vbkd holds the previous value and vbap or vbkd holds the newly entered value.


IF vbap-zz1_salesdeal NE *vbap-zz1_salesdeal OR
   vbap-zz1_ind NE *vbap-zz1_ind.

   new_pricing = 'C'. "New price Update C or B or G based on requirement

 ENDIF.
   
    

Kishore Thutaram

"SAP solution architect with a strong problem-solving mindset, sharing practical SAP S/4HANA and ABAP insights from real-world projects."

https://fiowelt.com