<?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 error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019896#M1699410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading the ABAP code I think the problem is not with NUMBER_GET_INFO which is just used to format the error message, the error itself occurs earlier with NUMBER_CHECK returning DA_RETURNCODE &amp;lt;&amp;gt; ' '. What if you run NUMBER_CHECK in test mode with the document number and external number range? It should return the same error. My guess is that the wrong number range is determined for the document type, as indicated by the error message you are getting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2012 17:34:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-31T17:34:44Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_SIMULATE error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019893#M1699407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;When trying to run &lt;/SPAN&gt;BAPI_SALESORDER_SIMULATE, I get an error, V1 044, that says "Enter a document number between&amp;nbsp; XXXXXX and YYYYYY" that is the SAP default number range for Sales Order numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; We use a custom range of numbers for Sales Orders.&amp;nbsp; Is there a setting or something that allows you to bypass this check of the number range?&lt;/P&gt;&lt;P&gt;The check occurs in Form&amp;nbsp; VBAK&lt;SPAN class="L0S70"&gt;-VBELN_PRUEFEN of Include &lt;/SPAN&gt;FV45KF0V_VBAK-VBELN_PRUEFEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Mowl &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 21:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019893#M1699407</guid>
      <dc:creator>chris_mowl</dc:creator>
      <dc:date>2012-10-30T21:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019894#M1699408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you passing a document number in the header to the BAPI or is it initial? In case you are passing a document number, make sure to also pass a document type for which the document number is valid, meaning there is a valid number range assigned to the document type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 21:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019894#M1699408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-30T21:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019895#M1699409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samuli,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your response.&amp;nbsp; I am passing a document number and a type as well.&amp;nbsp; You actually get an error if you don't pass a type and that error occurs before this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This message gets issued after a call to function module NUMBER_GET_INFO that checks if the number passed is within the configured range.&amp;nbsp; It only checks the SAP standard range and I can't figure out how to get it to use the custom range.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What I'm really trying to do is simulate a Sales Order for an item so I can get the tax data for that item.&amp;nbsp; These are items that were originally created as no cost items on the original sales order.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 15:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019895#M1699409</guid>
      <dc:creator>chris_mowl</dc:creator>
      <dc:date>2012-10-31T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019896#M1699410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading the ABAP code I think the problem is not with NUMBER_GET_INFO which is just used to format the error message, the error itself occurs earlier with NUMBER_CHECK returning DA_RETURNCODE &amp;lt;&amp;gt; ' '. What if you run NUMBER_CHECK in test mode with the document number and external number range? It should return the same error. My guess is that the wrong number range is determined for the document type, as indicated by the error message you are getting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 17:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019896#M1699410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-31T17:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_SIMULATE error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019897#M1699411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried running it without a document number and it returned the condition values and other data.&amp;nbsp; As I had seen in another post of someone trying to get condition data for an item, I think BAPISDORDER_GETDETAILEDLIST will provide the data I need. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 19:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-simulate-error/m-p/9019897#M1699411</guid>
      <dc:creator>chris_mowl</dc:creator>
      <dc:date>2012-10-31T19:13:40Z</dc:date>
    </item>
  </channel>
</rss>

