Thanks a lot Jim ! Formula 18 helped me : I added xkomv-krech = 'A'. CLEAR xkomv-waers. in my formula on the subtotal line and it's ok. Amount Curr Per Uom 31,65 % 0 ;-))
| | | ---------------Original Message--------------- From: Renard Françoise Sent: Tuesday, November 08, 2011 9:55 AM Subject: Sales Pricing Procedu Calculation of a % Margin Hello I have to calculate a % margin in a Sales pricing procedure : I want to see my margin with the sign % A Routine RV64A915 calculates the margin (Formula condition value) Margin = ( ( komp-kzwi4 - komp-kzwi2 ) * 10000 ) / komp-kzwi2. = (1012,3 - 768,93) / 768,93 *100 = 31,65 % I tried 2 things : (1) The margin as a subtotal (2)The margin as a condition type ZMAB : manual percentage discount Custo : --------- Condition Type Description Formula Calcul (1) Margin 915 (2) ZMAB Margin 915 Test in a sales document : | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Popular White Papers In the Spotlight _.____.__ |