<?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/2984203#M704666</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;Refer to this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;vasudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2007 05:40:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-05T05:40:39Z</dc:date>
    <item>
      <title>luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984201#M704664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is luw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 05:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984201#M704664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T05:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984202#M704665</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;Have a look at the following link,&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 05:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984202#M704665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T05:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984203#M704666</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;Refer to this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;vasudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 05:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984203#M704666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T05:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: luw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984204#M704667</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;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Transactions and Logical Units of Work&amp;lt;/b&amp;gt;&amp;lt;/i&amp;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 which 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 point of view of the user, 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&lt;/P&gt;&lt;P&gt;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 connection:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Database Logical Unit of Work (LUW)&amp;lt;/b&amp;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;&amp;lt;b&amp;gt;SAP LUW&amp;lt;/b&amp;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;&amp;lt;b&amp;gt;SAP Transaction&amp;lt;/b&amp;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;The following sections of this documentation explain these three terms in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Database Logical Unit of Work (LUW)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SAP LUW&amp;lt;/b&amp;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;&amp;lt;b&amp;gt;SAP Transactions&amp;lt;/b&amp;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. In an application program, you end an SAP LUW with either the COMMIT WORK or ROLLBACK WORK statement. An SAP transaction is an application program that you start using a transaction code. It may contain one or more SAP LUWs. Whenever the system reaches a COMMIT WORK or ROLLBACK WORK statement that is not at the end of the last dialog step of the SAP transaction, it opens a new SAP LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a particular application requires you to write a complex transaction, it can often be useful to arrange logical processes within the SAP transaction into a sequence of individual SAP LUWs. You can structure SAP transactions as follows:&lt;/P&gt;&lt;P&gt;  With one or more SAP LUWs.&lt;/P&gt;&lt;P&gt;Transactions in this form consist entirely of processing blocks (dialog modules, event blocks, function module calls, and subroutines). You should be careful to ensure that external subroutines or function modules do not lead to COMMIT WORK or ROLLBACK WORK statements accidentally being executed.&lt;/P&gt;&lt;P&gt;  By inserting an SAP LUW&lt;/P&gt;&lt;P&gt;The ABAP statements CALL TRANSACTION (start a new transaction), SUBMIT (start an executable program), and CALL FUNCTION... DESTINATION (call a function module using RFC) open a new SAP LUW. When you call a program, it always opens its own SAP LUW. However, it does not end the LUW of the SAP transaction that called it. This means that a COMMIT WORK or ROLLBACK WORK statement only applies to the SAP LUW of the called program. When the new LUW is complete, the system carries on processing the first SAP LUW.&lt;/P&gt;&lt;P&gt;  By running two SAP LUWs in parallel&lt;/P&gt;&lt;P&gt;The CALL FUNCTION... STARTING NEW TASK statement calls a function module&lt;/P&gt;&lt;P&gt;asynchronously in a new session. Unlike normal function module calls, the calling&lt;/P&gt;&lt;P&gt;transaction carries on with its own processing as soon as the function module has&lt;/P&gt;&lt;P&gt;started, and does not wait for it to finish processing. The function call is synchronous. The called function module can now call its own screens and interact with the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 07:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/luw/m-p/2984204#M704667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T07:25:05Z</dc:date>
    </item>
  </channel>
</rss>

