<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FM PRICING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558203#M1564087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, this isn't a clean installation at all - I suppose you refer to userexits, enhancement spots etc.&lt;/P&gt;&lt;P&gt;So you've got me a bit worried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program I need to speed up, should be able to process up to 100.000 lines (no reference to contract).&lt;/P&gt;&lt;P&gt;Right now it handles 20.000 in an hour, and as far as I can see the time consuming bit is calling the order simulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Back to the drawing board it seems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vibeke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 15:01:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-06T15:01:58Z</dc:date>
    <item>
      <title>FM PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558201#M1564085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to speed up a process where we call function module SD_SALESDOCUMENT_CREATE in testmode&lt;/P&gt;&lt;P&gt;&lt;U&gt;only&lt;/U&gt; to get the pricing (conditions) determined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is far far to slow. I do not want to replace it with a BAPI - this will be far to slow as well, because it&lt;/P&gt;&lt;P&gt;will simulate the whole order and I only want the pricing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking at function module PRICING, but cannot work out which fields to fill in komk and komp to get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have any of you used this function module and could help with an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vibeke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 13:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558201#M1564085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T13:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: FM PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558202#M1564086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you've got a really clean installation and very simple item config then.  It's far better to run an order simulate than to call the PRICING function directly.  Of the few times I've seen that done, there has always been an issue due to poor assumptions or poor coding.  I would spend the time analyzing/tuning any issues with the sales order code.  Unless you're creating orders with hundreds of items with reference to a contract, the process should not be slow at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 14:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558202#M1564086</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-01-06T14:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: FM PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558203#M1564087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, this isn't a clean installation at all - I suppose you refer to userexits, enhancement spots etc.&lt;/P&gt;&lt;P&gt;So you've got me a bit worried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program I need to speed up, should be able to process up to 100.000 lines (no reference to contract).&lt;/P&gt;&lt;P&gt;Right now it handles 20.000 in an hour, and as far as I can see the time consuming bit is calling the order simulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Back to the drawing board it seems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vibeke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 15:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558203#M1564087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: FM PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558204#M1564088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a huge order.  If you've got some simple constraints, then you can probably make it work, but there are so many variables that affect pricing, including user exit manipulation of pricing-relevant fields or fields that affect pricing-relevant fields, it's dangerous (or at least error prone).  But, your best bet is to stop in debug and look at the call for value population in the pricing function.  You should be able to nail it down that way.  If you have custom fields in your KOMK/KOMP append structures that affect pricing, you will need to mimic the userexit logic and populate those values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also want to raise an issue with SAP.  They may not help but they might also give you a solution for simulating those huge orders in a better manner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 15:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558204#M1564088</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-01-06T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: FM PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558205#M1564089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can easily say, there are so much coding in userexits and vofm pricing routines - you wouldn't believe it. Plus a huge number of custom fields in  KOMK/KOMP append structures. That I do not even want to start thinking of mimicking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your suggestion to contact SAP sounds like a good idea. As long as they don't transfer me to Consulting and ask for my creditcard  &lt;STRONG&gt;&lt;EM&gt;&lt;span class="lia-unicode-emoji" title=":monkey_face:"&gt;🐵&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your thoughts. Really appriciate it - Just what I needed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibeke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 18:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-pricing/m-p/7558205#M1564089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T18:45:05Z</dc:date>
    </item>
  </channel>
</rss>

