<?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 dailog programing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661658#M293159</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; what is the use of perform on commit and roolback..&lt;/P&gt;&lt;P&gt;how we can use in programning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 10:59:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-27T10:59:02Z</dc:date>
    <item>
      <title>dailog programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661658#M293159</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; what is the use of perform on commit and roolback..&lt;/P&gt;&lt;P&gt;how we can use in programning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 10:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661658#M293159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T10:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: dailog programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661659#M293160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a COMMIT, all the changes made by a transaction or a subtransaction on the database instance are recorded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Changes closed with a COMMIT can no longer be reversed with a ROLLBACK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        As a result of a COMMIT, a new transaction is implicitly opened. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In normal database operation, the database system performs the required COMMIT actions independently. However, COMMIT can also be explicitly requested using appropriate SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a ROLLBACK, all the changes made by a transaction or a subtransaction on the database instance are reversed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Changes closed with a COMMIT can no longer be reversed with a ROLLBACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        As a result of a ROLLBACK, a new transaction is implicitly opened. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In normal database operation, the database system performs the required ROLLBACK actions independently. However, ROLLBACK can also be explicitly requested using appropriate SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 11:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661659#M293160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T11:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: dailog programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661660#M293161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to fire a PERFORM upon a commit / rollback event, that is when you would use the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 11:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661660#M293161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T11:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: dailog programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661661#M293162</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;   In everyday language, a transaction is a sequence of actions that logically belong together in a business sense and that either procure or process data. It covers a self-contained procedure, for example, generating a list of customers, creating a flight booking, or sending reminders to customers. From the user&amp;#146;s viewpoint, it forms a logical unit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The completeness and correctness of data must be assured within this unit. In the middle of a transaction, the data will usually be inconsistent. For example, when you transfer an amount in financial accounting, this must first be deducted from one account before being credited to another. In between the two postings, the data is inconsistent, since the amount that you are posting does not exist in either account. It is essential for application programmers to know that their data is consistent at the end of the transaction. If an error occurs, it must be possible to undo the changes made within a logical process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the R/3 System, there are three terms frequently used in this context:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database Logical Unit of Work (LUW)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A database LUW is the mechanism used by the database to ensure that its data is always consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP LUW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An SAP LUW is a logical unit consisting of dialog steps, whose changes are written to the database in a single database LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An SAP transaction is an application program that you start using a transaction code. It may contain one or more SAP LUWs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click the below links to know more on LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB LUW&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP LUW&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP TRansactions&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4c2a79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4c2a79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update Techniques &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION... IN UPDATE TASK. This section describes various ways of updating the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A program can send an update request using COMMIT WORK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the update work process, where it is processed asynchronously. The program does not wait for the work process to finish the update ( Asynchronous Update).&lt;/P&gt;&lt;P&gt;For asynchronous processing in two steps ( Updating Asynchronously in Steps.)&lt;/P&gt;&lt;P&gt;To the update work process, where it is processed synchronously. The program waits for the work process to finish the update ( Synchronous Update).&lt;/P&gt;&lt;P&gt;To its own work process locally. In this case, of course, the program has to wait until the update is finished ( Local Update.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM ON COMMIT is one such Update Commit.&lt;/P&gt;&lt;P&gt;Click the below link to more about PERFORM on Commit.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4e3a79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4e3a79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous Update &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In synchronous update, you do not submit an update request using CALL FUNCTION... IN UPDATE TASK. Instead, you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways. The following diagram illustrates the synchronous update process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this type of update whenever the changed data is required immediately. For example, you may want to link SAP LUWs together where one LUW depends on the results of the previous one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROLLBACK.&lt;/P&gt;&lt;P&gt;Rollback is a procedure to call off the database updates. If there is any error, the the updates can be called off before commiting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope your questions are answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 20:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dailog-programing/m-p/1661661#M293162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T20:38:42Z</dc:date>
    </item>
  </channel>
</rss>

