• March 16, 2026
  • Kishore Thutaram
  • 0

Update Sales Order Pricing Conditions Before Save Using Enhancement

Business Scenario:

“Automatically update sales order pricing conditions before saving based on predefined business rules to ensure accurate pricing without manual intervention.”

Steps: User Exit MV45AFZZ

Form Routine SAVE_DOCUMENT_PREPARE

Implement the below code


"Add all the validations based on the requirement before updating the Price
" Choose pricing category B, C OR G as per the requirement.
" B- carry out new pricing, C-Copy manual price and redetermine others, G-Copy price elements unchanged and redetermine taxes

IF VBAK-VBTYP NA 'KLOPH'. " Not for Credit , Debit Memo, memo requests and Return
*-- Update the pricing automatically
     PERFORM preisfindung_gesamt IN PROGRAM sapmv45a USING 'C'. 
ENDIF.
   
    

Kishore Thutaram

SAP Solution Architect | 16+ Years' Experience in SAP | Sharing Practical SAP Knowledge | Engineering Graduate with Expertise in SAP Architecture

https://fiowelt.com