<?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_BATCH_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807828#M1881567</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;you have to use wait up to one sec. Some time system take some time to update standard table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz confirm that wait up to 1 sec is give solution or not.when u in debug mode it get that few sec so u get success in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi call&lt;/P&gt;&lt;P&gt;wait up to 1 sec.&lt;BR /&gt;bapi commit. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 06:49:16 GMT</pubDate>
    <dc:creator>SwadhinGhatuary</dc:creator>
    <dc:date>2015-01-14T06:49:16Z</dc:date>
    <item>
      <title>BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807826#M1881565</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 am using&amp;nbsp; BAPI_BATCH_CREATE to create batch...after using the statement&amp;nbsp; BAPI_TRANSACTION_COMMIT and passing wait = "X" to save the data at database level.&lt;/P&gt;&lt;P&gt;After this select statement is written on MCHA table to check newly created batch and getting the info of Internal object no(CUOBJ_BM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I go in debug mode....everything is fine and getting the CUOBJ_BM field info and also batch is created in MCHA table.&lt;/P&gt;&lt;P&gt;BUt when we ran the transaction directly...we are not able to get the batch info from MCHA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I don't want to use wait upto statement for this.&lt;/P&gt;&lt;P&gt;I use DO...ENddo also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any reason why it is not saving in database level even when we are using BAPI_TRANSACTION_COMMIT?&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;Ramu Dhannarapu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 15:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807826#M1881565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-13T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807827#M1881566</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 don't know this table, but could be that the SELECT is using buffered data. Try using SELECT .. BYPASSING BUFFER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 22:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807827#M1881566</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2015-01-13T22:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807828#M1881567</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;you have to use wait up to one sec. Some time system take some time to update standard table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz confirm that wait up to 1 sec is give solution or not.when u in debug mode it get that few sec so u get success in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi call&lt;/P&gt;&lt;P&gt;wait up to 1 sec.&lt;BR /&gt;bapi commit. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 06:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807828#M1881567</guid>
      <dc:creator>SwadhinGhatuary</dc:creator>
      <dc:date>2015-01-14T06:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807829#M1881568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There may be some delay between end of commit and actual update of database, so use some BYPASS BUFFER option, you could add a delay, but for performance, only WAIT up to 1 seconds when unsuccessful. (e.g. DO 2-3 TIMES/SELECT/IF successful EXIT/Else WAIT UP TO 1 seconds/ENDDO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 13:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-create/m-p/10807829#M1881568</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-01-14T13:40:01Z</dc:date>
    </item>
  </channel>
</rss>

