<?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 bapi_salesorder_fromdata error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444943#M211387</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 am trying to create a Purchase order in the R/3 system by sending HTTP post request using XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i figured out from some previous post in the forum that the following are the required fields for the bapi_salesorder_fromdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_HEADER_IN : &lt;/P&gt;&lt;P&gt;DOC_TYPE Sales document type -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; "RO"&lt;/P&gt;&lt;P&gt;SALES_ORG Sales organization --- "1000"&lt;/P&gt;&lt;P&gt;DISTR_CHAN Distribution channel --- "10"&lt;/P&gt;&lt;P&gt;DIVISION Division -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; "01"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS: &lt;/P&gt;&lt;P&gt;PARTN_ROLE Partner role, SP sold-to party -- "SP"&lt;/P&gt;&lt;P&gt;PARTN_NUMB Customer number --- "1001"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_ITEMS_IN: &lt;/P&gt;&lt;P&gt;MATERIAL Material number -- "p-100"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the values i am passing to this BAPI when i am executing it using the transaction se37 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i get the following error :&lt;/P&gt;&lt;P&gt;Order type "RO" not defined in sales area &amp;lt;'1000','10','01'&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried entering the following vales for the order type -- "or","ro","cs","FD" but i get similar errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the IDES version of r/3. Please let me know where i am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Adavance&lt;/P&gt;&lt;P&gt;karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2006 07:14:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-07T07:14:11Z</dc:date>
    <item>
      <title>bapi_salesorder_fromdata error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444943#M211387</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 am trying to create a Purchase order in the R/3 system by sending HTTP post request using XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i figured out from some previous post in the forum that the following are the required fields for the bapi_salesorder_fromdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_HEADER_IN : &lt;/P&gt;&lt;P&gt;DOC_TYPE Sales document type -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; "RO"&lt;/P&gt;&lt;P&gt;SALES_ORG Sales organization --- "1000"&lt;/P&gt;&lt;P&gt;DISTR_CHAN Distribution channel --- "10"&lt;/P&gt;&lt;P&gt;DIVISION Division -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; "01"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS: &lt;/P&gt;&lt;P&gt;PARTN_ROLE Partner role, SP sold-to party -- "SP"&lt;/P&gt;&lt;P&gt;PARTN_NUMB Customer number --- "1001"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_ITEMS_IN: &lt;/P&gt;&lt;P&gt;MATERIAL Material number -- "p-100"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the values i am passing to this BAPI when i am executing it using the transaction se37 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i get the following error :&lt;/P&gt;&lt;P&gt;Order type "RO" not defined in sales area &amp;lt;'1000','10','01'&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried entering the following vales for the order type -- "or","ro","cs","FD" but i get similar errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the IDES version of r/3. Please let me know where i am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Adavance&lt;/P&gt;&lt;P&gt;karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 07:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444943#M211387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T07:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_salesorder_fromdata error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444944#M211388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In think the order type should be OR NOT RO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with OR and that should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP you do the cusotmizing to allow only specifc order types to be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers and close the thread if the issue is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 07:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444944#M211388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T07:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_salesorder_fromdata error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444945#M211389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi natarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Order type "RO" not defined in sales area &amp;lt;'1000','10','01'&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the error message,&lt;/P&gt;&lt;P&gt;it seems that&lt;/P&gt;&lt;P&gt;its a functional error&lt;/P&gt;&lt;P&gt;(and not program error)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. 1000 may be the company code for which RO type order has not been defined/customized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If possible,&lt;/P&gt;&lt;P&gt;  try to MANUALLY enter the same data,&lt;/P&gt;&lt;P&gt; using standard transaction,&lt;/P&gt;&lt;P&gt; in that also, it should give the same error !&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 07:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444945#M211389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T07:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_salesorder_fromdata error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444946#M211390</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;this is Config issue , u have to assign Sale Area to Order Type . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check Views &amp;lt;b&amp;gt;V_TVAKZ&amp;lt;/b&amp;gt;,or check config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPRO--&lt;DEL&gt;&amp;gt; SD&lt;/DEL&gt;-&amp;gt;Sales &lt;DEL&gt;-&amp;gt; Sales Doc Header&lt;/DEL&gt;-&amp;gt;assign Sale Area to order Types.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 07:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-fromdata-error/m-p/1444946#M211390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T07:20:11Z</dc:date>
    </item>
  </channel>
</rss>

