<?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: luw in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305953#M504433</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;There are 3 types of LUW's available in SAP&lt;/P&gt;&lt;P&gt;1)Database Transaction or DBLUW&lt;/P&gt;&lt;P&gt;2)SAP Transaction or SAPLUW&lt;/P&gt;&lt;P&gt;2)ABAP Transaction or ABAPLUW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DBLUW : when it is called it locks the rows , Update the rows &amp;amp; commit the rows issued by auto Commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SAPLUW : collection of Business reports is called SAPLUW and Issuing the Commit&lt;/P&gt;&lt;P&gt;here UPDATE,INSERT,MODIFY statements are valid&lt;/P&gt;&lt;P&gt;Commit work is given by Developer Side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) ABAPLUW : What ever Transaction Code we are creating is called ABAPLUW it is belongs upon Developers&lt;/P&gt;&lt;P&gt;here 3 types of updates available&lt;/P&gt;&lt;P&gt;1) Bundled Updates&lt;/P&gt;&lt;P&gt;2) Un-Bundled Updates&lt;/P&gt;&lt;P&gt;1) Bundled Updates :&lt;/P&gt;&lt;P&gt;in Bundled Updates all your updates in a single unit of work present in a PERFORM 'XYZ'&lt;/P&gt;&lt;P&gt;PERFORM 'XYZ' on Commit.&lt;/P&gt;&lt;P&gt;here PERFORM-kept in Buffer 'XYZ' this form having all your update statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2007 06:55:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-28T06:55:01Z</dc:date>
    <item>
      <title>luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305951#M504431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is luw?&lt;/P&gt;&lt;P&gt;what does this mean?&lt;/P&gt;&lt;P&gt;plz explain me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305951#M504431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305952#M504432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8654ac011d1894e0000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8654ac011d1894e0000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305952#M504432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305953#M504433</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;There are 3 types of LUW's available in SAP&lt;/P&gt;&lt;P&gt;1)Database Transaction or DBLUW&lt;/P&gt;&lt;P&gt;2)SAP Transaction or SAPLUW&lt;/P&gt;&lt;P&gt;2)ABAP Transaction or ABAPLUW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DBLUW : when it is called it locks the rows , Update the rows &amp;amp; commit the rows issued by auto Commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SAPLUW : collection of Business reports is called SAPLUW and Issuing the Commit&lt;/P&gt;&lt;P&gt;here UPDATE,INSERT,MODIFY statements are valid&lt;/P&gt;&lt;P&gt;Commit work is given by Developer Side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) ABAPLUW : What ever Transaction Code we are creating is called ABAPLUW it is belongs upon Developers&lt;/P&gt;&lt;P&gt;here 3 types of updates available&lt;/P&gt;&lt;P&gt;1) Bundled Updates&lt;/P&gt;&lt;P&gt;2) Un-Bundled Updates&lt;/P&gt;&lt;P&gt;1) Bundled Updates :&lt;/P&gt;&lt;P&gt;in Bundled Updates all your updates in a single unit of work present in a PERFORM 'XYZ'&lt;/P&gt;&lt;P&gt;PERFORM 'XYZ' on Commit.&lt;/P&gt;&lt;P&gt;here PERFORM-kept in Buffer 'XYZ' this form having all your update statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305953#M504433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305954#M504434</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;LUW--Logical unit of work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Logical Unit of Work (LUW or database transaction) is an inseparable sequence of database operations which must be executed either in its entirety or not at all. For the database system, it thus constitutes a unit.&lt;/P&gt;&lt;P&gt;LUWs help to guarantee database integrity. When an LUW has been successfully concluded, the database is once again in a correct state. If, however, an error occurs within an LUW, all database changes made since the beginning of the LUW are canceled and the database is then in the same state as before the LUW started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An LUW begins&lt;/P&gt;&lt;P&gt;o each time you start a transaction&lt;/P&gt;&lt;P&gt;o when the database changes of the previous LUW have been confirmed (database &lt;/P&gt;&lt;P&gt;commit) or&lt;/P&gt;&lt;P&gt;o when the database changes of the previous LUW have been cancelled (database rollback)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An LUW ends&lt;/P&gt;&lt;P&gt;o when the database changes have been confirmed (database commit) or&lt;/P&gt;&lt;P&gt;o when the database changes have been canceled (database rollback)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305954#M504434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305955#M504435</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;A &amp;lt;b&amp;gt;Logical Unit of Work&amp;lt;/b&amp;gt; (LUW or database transaction) is an inseparable sequence of database operations which must be executed either in its entirety or not at all. For the database system, it thus constitutes a unit.&lt;/P&gt;&lt;P&gt;LUWs help to guarantee database integrity. When an LUW has been successfully concluded, the database is once again in a correct state. If, however, an error occurs within an LUW, all database changes made since the beginning of the LUW are canceled and the database is then in the same state as before the LUW started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;An LUW begins&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;o each time you start a transaction&lt;/P&gt;&lt;P&gt;o when the database changes of the previous LUW have been confirmed (database &lt;/P&gt;&lt;P&gt;commit) or&lt;/P&gt;&lt;P&gt;o when the database changes of the previous LUW have been cancelled (database rollback)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;An LUW ends&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;o when the database changes have been confirmed (database commit) or&lt;/P&gt;&lt;P&gt;o when the database changes have been canceled (database rollback)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Check this URL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_bw/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://www.auditmypc.com/acronym/LUW.asp&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Regards,&lt;/P&gt;&lt;P&gt;Jackie..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 07:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305955#M504435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305956#M504436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is LUW  or Data base Transaction ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-          A &amp;#147;LUW&amp;#148;(logical unit of work) is the span of time during which any database updates must be performed in an &amp;#147;all or nothing&amp;#148; manner .Either they are all performed (committed),or they are all thrown  away (rolled back).In the ABAP/4 world , LUWs and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-          Transactions can have several meanings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LUW (or &amp;#147;database LUW&amp;#148; or &amp;#147;database transaction&amp;#148;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the set of updates terminated by a database commit. A LUW lasts, at most, from one screen change to the next (because the SAP system triggers database commits automatically at every screen change).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;A logical unit consisting of dialog steps, whose changes are written to the database in a single database LUW is called an SAP LUW. Unlike a database LUW, an SAP LUW can span several dialog steps, and be executed using a series of different work processes. If an SAP LUW contains database changes, you should either write all of them or none at all to the database. To ensure that this happens, you must include a database commit when your transaction has ended successfully, and a database rollback in case the program detects an error. However, since database changes from a database LUW cannot be reversed in a subsequent database LUW, you must make all of the database changes for the SAP LUW in a single database LUW. To maintain data integrity, you must bundle all of you database changes in the final database LUW of the SAP LUW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database LUW vs. SAP LUW&lt;/P&gt;&lt;P&gt;In the case of the database, an LUW is a sequence of data operations that cannot be divided up. The operations are either carried out in full or not at all. Database LUWs are modules that make up the database procedures for consistent data processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By way of contrast, an LUW for the SAP System is a business process, which cannot be divided up. The process is either executed in full or not at all. An SAP LUW usually must include several database LUWs (see graphic above), each of which can be terminated with a database COMMIT, which is generated automatically. Under normal circumstances, the SAP LUW contains a dialog part (which maps a business process), and the command for writing the data to the database (update part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In each database LUW, data is written to the database to special update tables (and not to the application tables). Once the dialog part has been completed, all of the data in a database LUW is transferred into the application tables: the update request is then performed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86d835cd11d3acb00000e83539c3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86d835cd11d3acb00000e83539c3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference Between Database LUWs and SAP LUWs&lt;/P&gt;&lt;P&gt;To the database, an LUW is an indivisible sequence of data operations that must be completed in its entirety or not performed at all. Database LUWs are the building blocks out of which database procedures for consistent data-handling are built. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By way of contrast, an LUW for the SAP System is a business process, which cannot be divided up. The process is either executed in full or not at all. An SAP LUW must include several database LUWs (see graphic above), each of which can be terminated with a database COMMIT, which is generated automatically. Under normal circumstances, the SAP LUW contains a dialog part (which maps a business process), and the command for writing the data to the database (update part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each database LUW, the data is written to the database, but not to the application tables, rather to special update tables. Once the dialog part has been completed, all of the data in a database LUW is copied to the application tables: the Update Request is then performed. This is described in greater detail in the section entitled The Update Process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of the SAP Update System &lt;/P&gt;&lt;P&gt;The updating system offers a variety of advantages over direct database changes inline in a transaction. These include:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems that arise as a result of different types of logical units of work (for database systems and SAP transactions) are avoided. By Bundling Updates, the update system supports critical rollback and restore functions for transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Enhanced performance for dialog transactions: time-consuming database changes are carried out asynchronously at the end of the LUW after the user has already moved onto the next LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To enhance performance even further, the application programmer can configure different types of updates (see V1 and V2 Update Modules):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Time-critical U1 updates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Non-time-critical U2 updates, dependent on U1 updates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;      Non-time-critical U2 updates that are gathered and processed at a later time (see Collective Run)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implicit Database Commits in the R/3 System&lt;/P&gt;&lt;P&gt;A work process can only execute a single database LUW. The consequence of this is that a work process must always end a database LUW when it finishes its work for a user or an external call. Work processes trigger an implicit database commit in the following situations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        When a dialog step is completed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control changes from the work process back to the SAP GUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        When a function module is called in another work process (RFC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control passes to the other work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        When the called function module (RFC) in the other work process ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control returns to the calling work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        When a WAIT statement interrupts the work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control passes to another work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Error dialogs (information, warning, or error messages) in dialog steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control passes from the work process to the SAP GUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explicit Database Commits in the R/3 System&lt;/P&gt;&lt;P&gt;There are two ways to trigger an explicit database commit in your application programs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Call the function module DB_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sole task of this function module is to start a database commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Use the ABAP statement COMMIT WORK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement starts a database commit, but also performs other tasks (refer to the keyword documentation for COMMIT WORK). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implicit Database Rollbacks in the R/3 System&lt;/P&gt;&lt;P&gt;The following cases lead to an implicit database rollback:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Runtime error in an application program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This occurs whenever an application program has to terminate because of an unforeseen situation (for example, trying to divide by zero).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Termination message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Termination messages are generated using the ABAP statement MESSAGE with the message type A or X. In certain cases (updates), they are also generated with message types I, W, and E. These messages end the current application program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explicit Database Rollbacks in the R/3 System&lt;/P&gt;&lt;P&gt;You can trigger a database rollback explicitly using the ABAP statement ROLLBACK WORK. This statement starts a database rollback, but also performs other tasks (refer to the keyword documentation for ROLLBACK WORK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the above, we can draw up the following list of points at which database LUWs begin and end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Database LUW Begins&lt;/P&gt;&lt;P&gt;·        Each time a dialog step starts (when the dialog step is sent to the work process).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Whenever the previous database LUW ends in a database commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Whenever the previous database LUW ends in a database rollback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Database LUW Ends&lt;/P&gt;&lt;P&gt;·        Each time a database commit occurs. This writes all of the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Each time a database rollback occurs. This reverses all of the changes made during the LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database LUWs and Database Locks&lt;/P&gt;&lt;P&gt;As well as the database changes made within it, a database LUW also consists of database locks. The database system uses locks to ensure that two or more users cannot change the same data simultaneously, since this could lead to inconsistent data being written to the database. A database lock can only be active for the duration of a database LUW. They are automatically released when the database LUW ends. In order to program SAP LUWs, we need a lock mechanism within the R/3 System that allows us to create locks with a longer lifetime (refer to The R/3 Locking Concept).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 10:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305956#M504436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T10:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305957#M504437</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;Please go through the link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 10:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2305957#M504437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T10:29:46Z</dc:date>
    </item>
  </channel>
</rss>

