<?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: Problems with BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895611#M54202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure the condition is not a header condition, the error that the return structure shows tells me it and also the SD Functional also told me. I don't know what's happening here :S.. The currency of ZVAR as Initial is intended... Sorry for asking so much, but I'm a begginner.. :S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2005 16:04:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-26T16:04:53Z</dc:date>
    <item>
      <title>Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895605#M54196</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'm having a problem with the Bapi BAPI_SALESORDER_CREATEFROMDAT2. The problem is that I have Header conditions and also conditions for the positions. Where can I put the values for this conditions.. I'm moving them to the order_conditions_in structure, but when I run it the ones that belongs to the header shows me the following message: "ZPRE condition as a header condition is not allowed2". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this procedure right? or I have to put the header's condition anywhere else?...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your comments!!!...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 15:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895605#M54196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895606#M54197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are passing them to the correct structure, but are you sending ITM_NUMBER as '000000'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 15:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895606#M54197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T15:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895607#M54198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes... This is a piece of my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This first piece is the one that the condicion is for &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;any position &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    es_bapicond-itm_number = cont_pos.&lt;/P&gt;&lt;P&gt;    es_bapicond-cond_type  = 'ZPRE'.&lt;/P&gt;&lt;P&gt;    es_bapicond-cond_value = ti_datos_pedidos-zpre.&lt;/P&gt;&lt;P&gt;    es_bapicond-currency   = ti_datos_pedidos-zpre_m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND es_bapicond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This second piece is for header conditions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    es_bapicond-itm_number = '000000'.&lt;/P&gt;&lt;P&gt;    es_bapicond-cond_type  = 'ZVAR'.&lt;/P&gt;&lt;P&gt;    es_bapicond-cond_value = ti_datos_pedidos-zvar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND es_bapicond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I'm passing them in the right way.. :S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 15:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895607#M54198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T15:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895608#M54199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be an obvious one, but are you sure that the condition is a header condition?  Item level conditions are also displayed at the header in summarised form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field V_T685A-KKOPF should be set to 'X' for it to allow header level conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if this is a too obvious...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you don't put a currency for ZVAR, is this intended?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 15:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895608#M54199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T15:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895609#M54200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is ZPRE a manual condition. In SD certain condition types are derived from the pricing procedure and some can be added manually. You need check ZPRE which category it belongs&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;Samir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 15:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895609#M54200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T15:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895610#M54201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samir...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, ZPRE is a manual condition. I don't know why this isn't working.. the others conditions works perfectly.. that's why I asked earlier if the header and position conditions where in the same structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895610#M54201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895611#M54202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure the condition is not a header condition, the error that the return structure shows tells me it and also the SD Functional also told me. I don't know what's happening here :S.. The currency of ZVAR as Initial is intended... Sorry for asking so much, but I'm a begginner.. :S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895611#M54202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895612#M54203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you meant to say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;I'm sure the condition is not a header condition&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are sure that ZVAR is not a header condition then how can you add it to the header of the sales order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZVAR must be marked as a header condition to add it to the header level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895612#M54203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895613#M54204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.. I think we're not understanding each other... What I'm trying to say is.. I have 2 conditions, ZPRE and ZVAR. ZPRE is a position condition and ZVAR is a header condition. I'm having problems when I'm trying to indicate thar ZPRE is a position one. With ZVAR I'm not having problems. Hope this can help to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895613#M54204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895614#M54205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, now I understand, seems I'm not reading so well today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, another obvious question, have you debugged the code and confirmed the value of cont_pos when it gets added into the internal table?  Maybe its getting initialised at some point???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895614#M54205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895615#M54206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jajaja.. don't worry.. it's ok.. thanks for your time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I've debugged the code and the values for the header has the itm_number = '000000' and the position ones has a number different from '000000'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question is.. Exists the posibility of just pass the positions conditions and later using another FM pass the header ones?...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895615#M54206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895616#M54207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've solved the problem.. The conditions where ok, was a problem with the items and a field that hadn't the right values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank yoy so much for your time and suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 16:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895616#M54207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895617#M54208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inform field ITM_NUMBER for BAPISDITM and bapicond. It works!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By Cramp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Luiz Mourã&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 20:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-salesorder-createfromdat2/m-p/895617#M54208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T20:23:51Z</dc:date>
    </item>
  </channel>
</rss>

