<?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: Insert statement in BTE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935308#M691731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move your code to a custom function module and call your custom FM in the BTE  in background task. This should fix the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 22:03:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-19T22:03:40Z</dc:date>
    <item>
      <title>Insert statement in BTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935307#M691730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have a requirement to create a record in one custom table in a BTE.&lt;/P&gt;&lt;P&gt;The problem here is that the record should get created only when the whole process is complete and the standard process issues a database commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens is that the BTE is called somewhere in the mid of the process and I am writing an INSERT statement in the BTE. The record gets created instantly, and this is not desirable. After the whole standard process is successful, the standard program issues a COMMIT-WORK statement. &lt;/P&gt;&lt;P&gt;I want that this database entry gets created only with this commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no other BTE available for this process which can be used. Please suggest ways to achieve the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Archana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935307#M691730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T09:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insert statement in BTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935308#M691731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move your code to a custom function module and call your custom FM in the BTE  in background task. This should fix the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 22:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935308#M691731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T22:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert statement in BTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935309#M691732</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;Create a update function module in se37..And do your updates in the function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in BTE..call the function module IN UPDATE TASK..so that when the main program issues COMMIT WORK then only your code will be triggered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 22:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935309#M691732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T22:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insert statement in BTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935310#M691733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved this by inserting after Commit Work of the standard program !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 09:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-in-bte/m-p/2935310#M691733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T09:19:06Z</dc:date>
    </item>
  </channel>
</rss>

