<?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 BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647745#M610048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am creating sales order and based on sales order delivery and based on delivery invoice in one program through BDC by calling different  transactions using call transaction method If I run this program in mode &amp;#145;A&amp;#146; it is working fine but if I run in mode &amp;#145;N&amp;#146; sales order is creating properly but while creating delivery getting the message like sales order is currently editing by my user id. That&amp;#146;s why delivery is not creating. I had given wait command for 4 seconds before call transaction vl01n and call transaction vf01 that time if I run multiple materials or materials with different batches for some batches sales order delivery invoice is creating properly and for some other batches getting the same message like sales order is currently editing by &amp;#133;&amp;#133;     Can I extend wait command to few more seconds or please tell me the best solution to resolve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 03:57:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T03:57:16Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647745#M610048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am creating sales order and based on sales order delivery and based on delivery invoice in one program through BDC by calling different  transactions using call transaction method If I run this program in mode &amp;#145;A&amp;#146; it is working fine but if I run in mode &amp;#145;N&amp;#146; sales order is creating properly but while creating delivery getting the message like sales order is currently editing by my user id. That&amp;#146;s why delivery is not creating. I had given wait command for 4 seconds before call transaction vl01n and call transaction vf01 that time if I run multiple materials or materials with different batches for some batches sales order delivery invoice is creating properly and for some other batches getting the same message like sales order is currently editing by &amp;#133;&amp;#133;     Can I extend wait command to few more seconds or please tell me the best solution to resolve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 03:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647745#M610048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T03:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647746#M610049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can used hardcode.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;wait 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Karthikeyan Pandurangan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 04:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647746#M610049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T04:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647747#M610050</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;After each Call transaction statement use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may work for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 04:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647747#M610050</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-09T04:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647748#M610051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes mode A it will work fine, now coming to MODE N it will have a problem as you told.. this is bacause sales order is getting created and you are running the delivery with the same order...to avoid this... try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 5 times.&lt;/P&gt;&lt;P&gt;***TIMER 4 seconds&lt;/P&gt;&lt;P&gt;***READ YOUR MESSAGEs.. &lt;/P&gt;&lt;P&gt;IF SALES ORDER CREATED.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is rough idea.. this will solve your problem instead of increasing the timer.. if it is getting created.. then it will wait... if created it will proceed with out waiting any long...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why I am using 5 times instead of n times is sometimes Sales order may me locked by someother user... to avoid, infinite loop I am using 5 times..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;AFTER CALL transaction use,&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close the thread if your question is answered, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SaiRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 04:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2647748#M610051</guid>
      <dc:creator>former_member196280</dc:creator>
      <dc:date>2007-08-09T04:07:42Z</dc:date>
    </item>
  </channel>
</rss>

