<?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: BAPI_SALESORDER_SIMULATE rounding off numbers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301086#M502868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue, thank you Ryan for your help.&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: P PROJET ASTRE on Oct 23, 2009 9:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2009 07:04:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-23T07:04:52Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301075#M502857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in a situation where in BAPI_SALESORDER_SIMULATE are rounding off a dollar amount for ZWOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 12.34567 but sap rounds it off to 12.35 for the net price before taxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when simulate an order of 1000 peices i get 12350.00 instead of 12345.67&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when i simulate and order of 10000 peices then the pricing error becomes larger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to control BAPI_SALESORDER_SIMULATE  to actually simulate the actual amount instead of rounding off the the number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Now my simulation is wrong because if this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301075#M502857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301076#M502858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am curious.... does it calculate the price correctly if you manually create a sales order for the same item(s) in VA01?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301076#M502858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301077#M502859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check the user settings (defaults) in SU01 Tcode.&lt;/P&gt;&lt;P&gt;or use the command SET COUNTRY ' ' in script.&lt;/P&gt;&lt;P&gt;it will print the country specific format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to t-code: SU3&lt;/P&gt;&lt;P&gt;go to second tab defaults...&lt;/P&gt;&lt;P&gt;change the decimal notation and try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need ur reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301077#M502859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301078#M502860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA01 the calculation is correct because i still get a price of 12345.67&lt;/P&gt;&lt;P&gt;after ordering 10000 peices instead of 12350.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in simulate i get a rounded number and i multiply by 10000 but somehow SAP is possibly multiplying 1000 by 12.34567 but not 12.35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301078#M502860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301079#M502861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the most decimal places is only xxx.xx nothing more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301079#M502861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301080#M502862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's clarify this statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"in simulate i get a rounded number and i multiply by 10000 but somehow SAP is possibly multiplying 1000 by 12.34567 but not 12.35"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"I multiple by 10000"???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUST after the BAPI returns... before you multiply anything, is the price correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301080#M502862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301081#M502863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User settings have no relevance in pricing calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301081#M502863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301082#M502864</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;Please check table parameter ORDER_CONDITION_EX and field ROUNDOFFDI perhaps it may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301082#M502864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T15:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301083#M502865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i get the net price from simulate, after that i X 10000 for the qunatity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how ever just before i X the number i already get the rounded of dollar amount 12.35 instead of 12.3456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to maintain 12.3456 to be returned by simulate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 16:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301083#M502865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301084#M502866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this 12.35 value is returned into field COND_VALUE of an internal table of type BAPICOND??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COND_VALUE has a def that supports 28 digits b/4 the decimal place and 9 digits after the decimal (for the fractional piece).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 16:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301084#M502866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T16:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301085#M502867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i solved the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the way i did it is let simulate also take care of the total calculation and retreived that value and it is now working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BAPI_SALESORDER_SIMULATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      order_header_in    = g_order_header_in&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return             = wa_bapireturn&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      order_items_in     = gtab_order_items_in&lt;/P&gt;&lt;P&gt;      order_partners     = gtab_order_partners&lt;/P&gt;&lt;P&gt;      order_schedule_in  = gtab_order_schedules_in&lt;/P&gt;&lt;P&gt;      order_items_out    = i_bapiitemex&lt;/P&gt;&lt;P&gt;      order_condition_ex = t_order_condition_ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was able to get the total net value from  order_items_out    = i_bapiitemex in the field NET_VALUE1 so not i dont have to worry about calculation after bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points rewarded accordingly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 16:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301085#M502867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T16:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE rounding off numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301086#M502868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue, thank you Ryan for your help.&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: P PROJET ASTRE on Oct 23, 2009 9:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 07:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-rounding-off-numbers/m-p/2301086#M502868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T07:04:52Z</dc:date>
    </item>
  </channel>
</rss>

