<?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: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235130#M1827705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone guide me on how to solve this issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2014 09:21:07 GMT</pubDate>
    <dc:creator>sivaganesh_krishnan</dc:creator>
    <dc:date>2014-04-21T09:21:07Z</dc:date>
    <item>
      <title>Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235127#M1827702</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;Can anyone could tell me on how to insert amount for a particular material inorder to create sales order through&amp;nbsp; BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me which field should i pass the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/437017" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivaganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 07:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235127#M1827702</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2014-04-21T07:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235128#M1827703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaganesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass this in the&amp;nbsp; ORDER_CONDITIONS_IN parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the screenshot, looks like the order is using condition type PR00, so your entries should be&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;ORDER_CONDITIONS_IN-ITM_NUMBER = '000010'&lt;/P&gt;
&lt;P&gt;ORDER_CONDITIONS_IN-COND_TYPE = 'PR00'&lt;/P&gt;
&lt;P&gt;ORDER_CONDITIONS_IN-COND_VALUE = &amp;lt;amount_value&amp;gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Eng Swee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 08:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235128#M1827703</guid>
      <dc:creator>engswee</dc:creator>
      <dc:date>2014-04-21T08:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235129#M1827704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already passing those values but still the same issue prevails . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 08:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235129#M1827704</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2014-04-21T08:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235130#M1827705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone guide me on how to solve this issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235130#M1827705</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2014-04-21T09:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235131#M1827706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaganesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI works for me fine when I pass in those parameters. The issue might be dependent on the customizing/configuration on your system. Have you tried entering the amount directly from VA01? Are there any errors in the return table when you execute the BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing I can think of is to pass in the currency &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ORDER_CONDITIONS_IN-&lt;/SPAN&gt;CURRENCY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you will just have to debug the BAPI to figure out why it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Eng Swee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235131#M1827706</guid>
      <dc:creator>engswee</dc:creator>
      <dc:date>2014-04-21T09:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235132#M1827707</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;Try this code for conditions update,its worked for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND-ITM_NUMBER = WA_INP_ITEM-POSNR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND-COND_TYPE = 'PR00'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND-COND_VALUE = WA_INP_ITEM-KBETR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND-CURRENCY = 'USD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND_INX-ITM_NUMBER = WA_INP_ITEM-POSNR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND_INX-COND_TYPE = 'PR00'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND_INX-COND_VALUE = 'X'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND_INX-CURRENCY = 'X'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_ORDER_COND_INX-UPDATEFLAG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND WA_ORDER_COND TO IT_ORDER_COND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND WA_ORDER_COND_INX TO IT_ORDER_COND_INX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235132#M1827707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-21T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235133#M1827708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;Thanks for your support. Both the answers where most helpfull . But the problem that i made is that i passed the condition switch . By removing those import parameter i was able to get the desired output.&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;Sivaganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 10:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235133#M1827708</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2014-04-21T10:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235134#M1827709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaganesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to hear that your issue has been resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For clarity's sake, can you explain what you mean by "i passed the condition switch"? Do you mean you initially populated X parameter for the condition (&lt;SPAN style="color: #333333; font-size: 12px;"&gt;ORDER_CONDITIONS_INX) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also remember to close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Eng Swee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 05:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235134#M1827709</guid>
      <dc:creator>engswee</dc:creator>
      <dc:date>2014-04-22T05:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update Amount through bapi BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235135#M1827710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry &lt;A _jive_internal="true" data-avatarid="38517" data-userid="567683" data-username="engswee.yeoh" href="https://answers.sap.com/people/engswee.yeoh" style="font-weight: bold; font-size: 11px; color: #8b8b8b;"&gt;Eng Swee Yeoh&lt;/A&gt; &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/748/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;. I just misspelled the words, I was passing the Logic Switch value as import parameter into the bapi. After removing this it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivaganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 05:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-amount-through-bapi-bapi-salesorder-createfromdat2/m-p/10235135#M1827710</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2014-04-22T05:40:22Z</dc:date>
    </item>
  </channel>
</rss>

