Condition value from Custom Routine for Sales Order condition type

...Previous

6.  Write Your Logic, Save & activate

data : lv_komv type komv.
read table xkomv into lv_komv with key kschl = 'PR00'.
  
if sy-subrc ne 0.
    xkomv-kinak = 
'Z'.
    exit.
  else.
    xkwert = ( lv_komv-kwert * xkomv-kbetr ) / 
100.
  endif.

7. Activate the Routine as shown below.

8.  Go to Pricing Procedures.

9. Select your pricing and double click on Control.

10. Attach your routine 901 against Cal Type for the condition type ZNOY.

11. Do run the report RV80HGEN at every client to activate the routine.

12. Go to Sales Order (VA01) and check the output.

 Please send us your feedback/suggestions at webmaster@SAPFunctional.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPFunctional.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image