<?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: Update Function module on commit work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653762#M1666871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;Please use FM: CONVERSION_EXIT_ALPHA_INPUT for all the key fields before saving into DB.&lt;/P&gt;&lt;P&gt;Regards/Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 05:21:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-20T05:21:41Z</dc:date>
    <item>
      <title>Update Function module on commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653760#M1666869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have used the bundling technique using function modules to insert the data in the database table.To be more precise, I am using an update function module to insert the data in the DB table and calling the Commit work as soon as after calling the update function module.Also, i am using the select query to pull the data that i have saved and to display it on the screen.&lt;/P&gt;&lt;P&gt;But, some times although the data is saved the DB upon commit, the select query is failing to pull the same data.&lt;/P&gt;&lt;P&gt; I am not understanding what is happening.&lt;/P&gt;&lt;P&gt;Example Code.&lt;/P&gt;&lt;P&gt;call update function module&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;select on the db table with the data saved&amp;nbsp; ( at this point , some times select is failing i.e sy-subrc &amp;lt;&amp;gt; 0 )&lt;/P&gt;&lt;P&gt;display the result using ALV.&lt;/P&gt;&lt;P&gt;Thank in advance,&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 04:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653760#M1666869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T04:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Update Function module on commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653761#M1666870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you're not using local updates (&lt;EM&gt;SET UPDATE TASK LOCAL&lt;/EM&gt;), using &lt;EM&gt;COMMIT WORK &lt;/EM&gt;leads to an asynchronous update.&lt;/P&gt;&lt;P&gt;Since as per your requirement you need to have a synchronous update you've to use &lt;EM&gt;COMMIT WORK AND WAIT&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 05:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653761#M1666870</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-03-20T05:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update Function module on commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653762#M1666871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;Please use FM: CONVERSION_EXIT_ALPHA_INPUT for all the key fields before saving into DB.&lt;/P&gt;&lt;P&gt;Regards/Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 05:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-function-module-on-commit-work/m-p/8653762#M1666871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T05:21:41Z</dc:date>
    </item>
  </channel>
</rss>

