Presentation is loading. Please wait.

Presentation is loading. Please wait.

Creating Discount Prices for Variant Configurator Options in SD Documents James Durkin / Gleason Corporation.

Similar presentations


Presentation on theme: "Creating Discount Prices for Variant Configurator Options in SD Documents James Durkin / Gleason Corporation."— Presentation transcript:

1 Creating Discount Prices for Variant Configurator Options in SD Documents James Durkin / Gleason Corporation

2 Gleason Corp. Overview World leader in the development, manufacture and sale of gear production machinery and related equipment and services. Products are used by customers in automotive, truck, aircraft, agriculture, construction, power tool and marine industries in over 85 countries. Manufacturing sites: Rochester, New York (SAP 01/2001) Rockford, Illinois Plymouth, England (SAP 01/2000) Munich, Germany (SAP 10/2001) Ludwigsburg, Germany (SAP 01/2002) Bangalore, India Biel, Switzerland

3 Gleason Corp. Overview Remote SAP Sales sites in over 20 countries
Employees world wide around 2400 SAP 4.5B

4 The Problem We needed to to print the prices of VC options on our Sales Orders Acknowledgements. We needed to keep base prices and show discounts and surcharges for FI/CO. Sales Department will give away some options to get the order.

5 The Problem Customers want to see their free or discounted options on our Order Acknowledgements We did not want Customers to see our surcharges. How do we keep base VA00 Prices and and show discounts/surcharges, when these discounts/ surcharges only apply to “Net Price” in the SD document.

6 The Problem

7 Click to add title

8 The FIX We needed to create a new pricing condition in the SD document that reflected our discounts/ surcharges. This new condition would allow SAPscript to print it but not allow it to pass to accounting. We then created this new condition called YVA0 which is a copy of VA00.

9 The Fix Next issue was how to get this pricing condition to automatically come into the SD document and create one YVA0 for each VA00. First we created a CATT by copying all current VC Char. Values and reloaded them as YVA0 prices of 0.00 tied to current VC Char. Values. This now means I have two prices for each VC option that now come into my SD document.

10 The FIX We also had to add this new pricing condition to each Pricing Procedure that required it. When adding it to the pricing procedure we made sure it was statistical value. We also added it to the end of the procedure so that we did not have to re-invent the wheel.

11 The FIX Now we need to update the YVA0 prices in the SD Document. For this we creates a formula for Condition Value using VOFM. In this formula we looked at the Gross Value of the item along with the Net Value. We then pulled in current VA00 prices and applied the difference to the YVA0.

12 The Fix We allowed for manually changing the YVA0 to match Sales needs for giving away freebees, with Manual prices ruling.

13 The FIX VOFM Program form frm_kondi_wert_910 *****Data Declarations***** data: v_va00 like xkomv-kbetr, “Rate v_net like xkomv-kbetr, “Net value v_gross like xkomv-kbetr, “Gross value v_zb00 like xkomv-kwert, “Condition value v_za00 like xkomv-kwert, “Condition value v_result type f. "For a higher decimals accuracy data: begin of it_komv occurs include structure komv data: end of it_komv *Internal table xkomv is filled prior to calling this routine. it_komv[] = xkomv[].

14 The FIX ******Get Net Price Section****** *fetch the net price *Stunr is pricing step *302= read table it_komv with key kschl = 'NETP' stunr = '302' *if found, use rate for net price if sy-subrc = v_net = it_komv-kbetr endif. *Fetch the Gross price *Stunr is pricing step *100= read table it_komv with key stunr = '100' *if found, use rate for Gross price if sy-subrc = v_gross = it_komv-kbetr endif.

15 The FIX *******Get Corresponding VA00 section******** * fetch the corresponding VA00 price - manual prices rule read table it_komv with key kschl = 'VA00' varcond = xkomv-varcond kinak = space “Active condition kherk = 'C' "Manually Entered *if found, use manually entered rate for VA00 pricing if sy-subrc = v_va00 = it_komv-kbetr *else use automatic pricing rate for VA00 pricing else read table it_komv with key kschl = 'VA00' varcond = xkomv-varcond kinak = space kherk = 'A' "Automatic Pricing if sy-subrc = v_va00 = it_komv-kbetr endif endif.

16 The FIX *********Get Special Discounts********* *fetch the ZA00 discount, Special Fixed Amount Discount read table it_komv with key kschl = 'ZA00‘ *if found, if sy-subrc = v_za00 = it_komv-kwert endif *fetch the ZB00 discount, Special Percent Discount read table it_komv with key kschl = 'ZB00‘ *if found if sy-subrc = v_zb00 = it_komv-kwert endif.

17 The FIX ********** * We can't divide by zero. if v_gross eq * Don't do any further changes or calculations else * Calculate the proportional value of the price with a ratio of * net/gross v_net = v_net - v_zb00 - v_za v_result = v_va00 * ( v_net / v_gross ) xkomv-kbetr = v_result endif * Allow for manual override if necessary if xkomv-ksteu = 'C' xkomv-kbetr = xkomv-kwert endif modify xkomv endform.

18 The FIX

19 Review Needs of FI/CO do not match the those of the Customer.
Require two pricing conditions to meet both needs. Maintain only one pricing condition. Let system do the work by updating customer prices in SD documents. Simple pricing formula at end of current pricing procedure. SAPscript prints customer price (YVA0)and SD transfers FI/CO prices (VA00).

20 Questions ? Contact information: James Durkin c/o Gleason Corporation 1000 University Ave. Rochester NY Phone:

21 Thank you for attending!
Please remember to complete and return your evaluation form following this session. Session Code: 1305


Download ppt "Creating Discount Prices for Variant Configurator Options in SD Documents James Durkin / Gleason Corporation."

Similar presentations


Ads by Google