<?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: BAPI commit without using Wait? need to get the data for created order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213978#M1522953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Pham Duy,&lt;/P&gt;&lt;P&gt;Thanks for the reply......&lt;/P&gt;&lt;P&gt;Actually i am using BAPI, So those data i am passing to the BAPI that i know.&lt;/P&gt;&lt;P&gt;I want those data which are updated in VBAP after creation of the order(i.e. excluding the data i m passing to the BAPI)&lt;/P&gt;&lt;P&gt;So until commit work and wait i am not getting the data, which is a performance issue and i want to avoid it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Sep 2010 15:08:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-01T15:08:06Z</dc:date>
    <item>
      <title>BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213972#M1522947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using BAPI to create or change sales order and by using 'BAPI_TRANSACTION_COMMIT' updating the database. &lt;/P&gt;&lt;P&gt;Immediately after that there is some requirement to fetch VBAP with the created order number, but there is no data found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;             exporting&lt;/P&gt;&lt;P&gt;               wait          =  'X'.&lt;/P&gt;&lt;P&gt;then i am able to fetch data from VBAP, but its impacting the performance. Is there any alternative way to get data without fetching or without using wait.&lt;/P&gt;&lt;P&gt;Can i use ABAP memory or SAP memory to get the details?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 06:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213972#M1522947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213973#M1522948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;wait = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is actually synchronous update. The processing wait till data is written to database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the right way. It is better to commit to database and then fetch the commited data with a select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 06:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213973#M1522948</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2010-08-31T06:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213974#M1522949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply...&lt;/P&gt;&lt;P&gt;yes i am using commit work...but i don't want the wait...its a performance issue for my case....i want some solution so that by exporting memory or some other way to avoid the "WAIT"..&lt;/P&gt;&lt;P&gt;Thankss....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 17:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213974#M1522949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T17:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213975#M1522950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tapas379,&lt;/P&gt;&lt;P&gt;Yes technically you can:&lt;/P&gt;&lt;P&gt;set data before commit&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA memory_id(20) TYPE c.

  CONCATENATE 'VBAP_01_' sy-uname INTO memory_id.

  DELETE FROM DATABASE indx(as) ID memory_id.

  EXPORT vbap_tab = vbap_tab "&amp;lt;-input
    TO DATABASE indx(as)
    CLIENT sy-mandt
    ID memory_id.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Get data from anywhere after setting it.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  data memory_id(20) type c.

  concatenate 'VBAP_01_' sy-uname into memory_id.

  import vbap_tab = vbap_tab " -&amp;gt;output
    from database indx(as)
    client sy-mandt
    id memory_id.
  delete from database indx(as) id memory_id.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Duy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 18:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213975#M1522950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T18:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213976#M1522951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if the commit fails ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 22:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213976#M1522951</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-31T22:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213977#M1522952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's why I said "technically".&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Duy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 22:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213977#M1522952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T22:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI commit without using Wait? need to get the data for created order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213978#M1522953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Pham Duy,&lt;/P&gt;&lt;P&gt;Thanks for the reply......&lt;/P&gt;&lt;P&gt;Actually i am using BAPI, So those data i am passing to the BAPI that i know.&lt;/P&gt;&lt;P&gt;I want those data which are updated in VBAP after creation of the order(i.e. excluding the data i m passing to the BAPI)&lt;/P&gt;&lt;P&gt;So until commit work and wait i am not getting the data, which is a performance issue and i want to avoid it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 15:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit-without-using-wait-need-to-get-the-data-for-created-order/m-p/7213978#M1522953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T15:08:06Z</dc:date>
    </item>
  </channel>
</rss>

