[sap-log-sd] Sales Pricing Procedure: Calculation of a % Margin

Posted by MissSAP
on Nov 8 at 9:54 AM
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 :
----------------------------------

Cond Type Descrip. Amount Curr Per Uom Condition Value Curr

(1) Margin 31,65 EUR 1 PCE 31,65 EUR

(2) ZMAR Margin % 31,65 EUR


Solution (1)
---------------
Amount is OK, but « EUR 1 PCE » is not OK

Solution (2)
---------------
"%" is OK
But the amount is missing
I tried to add ' xkomv-kbetr = xkwert .' in formula 915 but the amount field remains empty


Any ideas ?

Thanks for your help

Nadine
__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
View this online
  
Popular White Papers

In the Spotlight
Which response to your Toolbox.com Groups post was the most helpful? Use 'Best Answer' to mark highest quality content.

_.____.__