<?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: Problem with BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493868#M1257083</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 have a problem whit  BAPI_SALESORDER_CREATEFROMDAT2 when I try to use pricing conditions with two values on the same sales item. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iu2019m tried to pass these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '017'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '0'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type = bapicondx-cond_type = 'ZDES'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value = some_value. bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '021'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '0'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type = bapicondx-cond_type = 'ZMER'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value = some_value. bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only the first item has successfullyu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alesandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 16:57:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-12T16:57:26Z</dc:date>
    <item>
      <title>Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493860#M1257075</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;        I am creating sales order through BAPI_SALESORDER_CREATEFROMDAT2.Everything is working fine except pricing conditions.We maintain our item price through ZDAH condition.While creating order through VA01 this condition comes automatically and we put the price.Through bapi,I am &lt;/P&gt;&lt;P&gt;passing price through ORDER_CONDITIONS_IN table.But what is happening is that system is creating two rows in pricing procedure with ZDAH condition type.First does not have any value,and second has the value that i have passed.But that is not acceptable.We need only one row with ZDAH condition.&lt;/P&gt;&lt;P&gt;Please let me know how to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 06:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493860#M1257075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T06:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493861#M1257076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I experienced the same behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your conditions table, you need to set the condition step number (-cond_st_no) and the counter (-cond_count) to match that of the pricing procedure where ZDAH is found.  You will need to do this in the 'X' condition table as well.  The counter in my case is '01', but I don't know if this holds true in every instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This causes the ZDAH condition you pass in the BAPI to overwrite any automatically determined pricing that would have normally occurred in VA01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note, you are then over-riding the value that would have been determined in VA01.  Whatever you pass to the BAPI is accepted as the value for ZDAH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 15:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493861#M1257076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493862#M1257077</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 have different condition (ZPRS), but the same behaviour here. Following Mark's suggestions, I found and filled step number (11 in my case) and counter (01), and it still doesn't works - means I have 2 conditions of type ZPRS created per item in final document. Checking the analysis for pricing, It seems the system first got my condition entered manualy, and just after that found the same condition without any condition value. Here is a sniip from the analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overview&lt;/P&gt;&lt;P&gt;Condition type	Message	Description&lt;/P&gt;&lt;P&gt;ZCOV	001	Manual condition&lt;/P&gt;&lt;P&gt;ZPRS	201	Condition entered manually&lt;/P&gt;&lt;P&gt;ZPRS	207	Condition has been found (without condition record)&lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;So for me cond_count = '01' seems to have no effect. In the table KONV I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KNUMV	KPOSN	STUNR	ZAEHK	KAPPL	KSCHL	KBETR&lt;/P&gt;&lt;P&gt;0000000647	1	11	1	V	ZPRS	0.00&lt;/P&gt;&lt;P&gt;0000000647	1	11	2	V	ZPRS	14.40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there is UPDATEFLAG in the BAPICONDX structure but without any description what are possible field values. There is also COND_UPDAT ('X' or ' ') in BAPICOND. I've played quite a lot with different values without any success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you (or anybody else) fased similar problem and can help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivaylo Mutafchiev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2009 12:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493862#M1257077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-20T12:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493863#M1257078</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;In my early post I didn't mention it - but I do set the UPDATEFLAG to 'U' for the CONDX table.  This update flag is also seen as the UPDKZ field, I have used it in the sales order user exit.  The allowed values are initial, "I" = insert, "D" = delete and "U" = update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you set this field to a "U", it will update the found value, rather than inserting a new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2009 16:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493863#M1257078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-20T16:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493864#M1257079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for a quick reply. As I mention in my previous post I played with this values without success. Now after your suggestion I tryed to set UPDATEFLAG = 'U' again and sadly it still won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, let me clarify the situation once again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ZPRS condition which I pass through BAPI at item level and I set these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '011'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '01'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type  = 'ZPRS'.           bapicondx-cond_type     = 'X'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value  = some_value.      bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicond-stat_con =  'X'. "also as from pricing procedure, even without this the system creates my condition in a same way&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, in a matther of fact my internal tables are named in different way, I changed their names here for clarity.&lt;/P&gt;&lt;P&gt;As a result from this snip of code I have 2 ZPRS conditions - one in red without condition value and with ZAEHK = 1 (condition counter field in KONV), and next one in green with my condition value, and ZAEHK = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did further was to try to pass my condition twise - once with updateflag = 'D' and second time with update flag = 'I' (such an approach worked fine in case of creation of purchase order conditions), but here in this case it creates 3 ZPRS conditions - 2 in red and 1 i green. Tryied several different variants again without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems I would have to swim down into the FM code via debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks agan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivaylo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493864#M1257079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T06:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493865#M1257080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking over your code, the X-table value for condition type is the actual condition type, not 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, bapicond-cond_type  =  bapicondx-cond_type = 'ZPRS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past, I have not used the -stat_con field, so I am not aware of it's effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the above fix and see if that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493865#M1257080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T14:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493866#M1257081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;&lt;P&gt;Hmm, I can't see how can I give to your answer any value.... It seems if I'm not an owner of the thread it is impossible.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivaylo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493866#M1257081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T14:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493867#M1257082</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 have a problem whit  BAPI_SALESORDER_CREATEFROMDAT2 when I try to use pricing conditions with two values on the same sales item. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iu2019m tried to pass these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '017'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '0'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type = bapicondx-cond_type = 'ZDES'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value = some_value. bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '021'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '0'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type = bapicondx-cond_type = 'ZMER'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value = some_value. bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only the first item has successfullyu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alesandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 16:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493867#M1257082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T16:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493868#M1257083</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 have a problem whit  BAPI_SALESORDER_CREATEFROMDAT2 when I try to use pricing conditions with two values on the same sales item. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iu2019m tried to pass these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '017'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '0'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type = bapicondx-cond_type = 'ZDES'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value = some_value. bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapicond-itm_number = bapicondx-itm_number = 10. "(for example)&lt;/P&gt;&lt;P&gt;bapicond-cond_st_no = bapicondx-cond_st_no = '021'. "as found from pricing procedure&lt;/P&gt;&lt;P&gt;bapicond-cond_count = bapicondx-cond_count = '0'. "after investigation in KONV table&lt;/P&gt;&lt;P&gt;bapicond-cond_type = bapicondx-cond_type = 'ZMER'.&lt;/P&gt;&lt;P&gt;bapicond-cond_value = some_value. bapicondx-cond_value = 'X'.&lt;/P&gt;&lt;P&gt;bapicondx-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;APPEND: bapicond, bapicondx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only the first item has successfullyu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alesandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 16:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493868#M1257083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T16:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493869#M1257084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ivaylo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create a  sales order using bapi . Here there is a problem with condition type.  When iam passing some values to the condition table and it is presenting in pricing tables. Here i am facing the same problem like duplicate entries. I  have seen your thread having the same problem . Please share your ideas with me  in this . Here i am keeping my code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***DISCOUNT  conditions&lt;/P&gt;&lt;P&gt;wa_order_cond-ITM_NUMBER  = '000010'.&lt;/P&gt;&lt;P&gt;wa_order_cond-COND_TYPE   = 'ZJCD'.&lt;/P&gt;&lt;P&gt;"wa_order_cond-COND_VALUE   = 5.&lt;/P&gt;&lt;P&gt;WA_ORDER_COND-cond_st_no  = '20'.&lt;/P&gt;&lt;P&gt;WA_ORDER_COND-COND_VALUE = '3'.&lt;/P&gt;&lt;P&gt;"WA_ORDER_COND-cond_COUNT     = '0'.&lt;/P&gt;&lt;P&gt;"wa_order_cond-currency      = 'INR'.&lt;/P&gt;&lt;P&gt;"wa_order_cond-cond_updat   = 'U'.&lt;/P&gt;&lt;P&gt;insert wa_order_cond  into table tab_order_cond.&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;wa_order_condINX-ITM_NUMBER  = '000010'.&lt;/P&gt;&lt;P&gt;wa_order_condINX-COND_TYPE   = 'ZJCD'.&lt;/P&gt;&lt;P&gt;"wa_order_cond-COND_VALUE   = 5.&lt;/P&gt;&lt;P&gt;WA_ORDER_CONDINX-cond_st_no  = '20'.&lt;/P&gt;&lt;P&gt;WA_ORDER_CONDINX-COND_VALUE = '3'.&lt;/P&gt;&lt;P&gt;WA_ORDER_CONDINX-cond_COUNT     = '0'.&lt;/P&gt;&lt;P&gt;wa_order_condINX-updatEFLAG   = 'U'.&lt;/P&gt;&lt;P&gt;WA_ORDER_COND-stat_con  = 'X'.&lt;/P&gt;&lt;P&gt;Insert wa_order_condINX  into table tab_order_condINX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing this it is showing  two condition of same name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)	ZJCD	Customer Discount	                	%	     		0.00 	INR	                              	0	   	0		0.00 &lt;/P&gt;&lt;P&gt;2)	ZJCD	Customer Discount	0.300-	%	     		50,340.00-	INR	                              	0	   	0		0.00 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here both of them have same names. One is duplicate and othe one is correct . I need only one of them which is having the values. I hope i will get a good solution from our sdn.&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;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 09:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493869#M1257084</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2010-02-23T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493870#M1257085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vivek and Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experiencing the same situation right now.&lt;/P&gt;&lt;P&gt;Please let me know the solution for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suhas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 10:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/5493870#M1257085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T10:01:38Z</dc:date>
    </item>
  </channel>
</rss>

