<?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 table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365809#M1038911</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;Commit work will solve your problem but use it with caution. As it is not recommended to be used in user exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2008 12:35:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-18T12:35:13Z</dc:date>
    <item>
      <title>Update table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365806#M1038908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;I am doing an update on a dbase table in a user exit. After updating the table I am calling the table in my main program by calling the PBO of the main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i observed that the table updation is happening only after a while, as a result the old values are retrieved when I reload the screen. Is there any way I can ensure that the table gets updated before my screen call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 12:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365806#M1038908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365807#M1038909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use WAIT Statement after your updation of records in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 12:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365807#M1038909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T12:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365808#M1038910</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;Write COMMIT WORK in your User Exit After the Updation Logic.&lt;/P&gt;&lt;P&gt;It will Perform Updation at that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 12:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365808#M1038910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T12:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365809#M1038911</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;Commit work will solve your problem but use it with caution. As it is not recommended to be used in user exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 12:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365809#M1038911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T12:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365810#M1038912</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;  COMMIT statement will resolve the issue else you can use the following BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&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;            IMPORTING&lt;/P&gt;&lt;P&gt;              RETURN = RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return will show the success or failure of the commit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is still not getting updated then try using the WAIT statement separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT UP TO 2 SECONDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 12:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-table/m-p/4365810#M1038912</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2008-08-18T12:42:58Z</dc:date>
    </item>
  </channel>
</rss>

