Luw and comitt work

Hi All,
can any body tell me about logical unit of work and comitt work.
Thanks in advance
nagendra

Hi Nagendar,
Check this info.
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.
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.
An LUW begins
o each time you start a transaction
o when the database changes of the previous LUW have been confirmed (database
commit) or
o when the database changes of the previous LUW have been cancelled (database rollback)
An LUW ends
o when the database changes have been confirmed (database commit) or
o when the database changes have been canceled (database rollback)
COMMIT WORK.
Executes a database commit and thus closes a logical processing unit or Logical Unit of Work ( LUW ) (see also Transaction processing ). This means that
all database changes are made irrevocable and cannot be reversed with ROLLBACK WORK and
all database locks are released.
COMMIT WORK also
calls the subroutines specified by PERFORM ... ON COMMIT * executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK ) specified in these subroutines or started just before,
processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK ,
cancels all existing locks (see SAP locking concept ) if no update requests exist,
closes all open database cursors (see OPEN CURSOR ) and
resets the time slice counter to 0.
COMMIT WORK belongs to the Open SQL command set.
Return code value
The SY-SUBRC is set to 0.
ROLLBACK WORK.
Closes a logical processing unit by reversing all database changes made since the last COMMIT .
You use this statement if you cannot be certain that all the database changes have been executed correctly.
The update routines are not performed.
ROLLBACK WORK belongs to the Open SQL command set.
Note
If the ROLLBACK statement occurs within a SELECT loop, the processing cannot continue because the database cursor is invalid. After the ROLLBACK statement, you should therefore ensure that all SELECT processing has been explicitly terminated.
Hope this resolves your query.
Reward all the helpful answers.
Regards

Similar Messages

  • Explanation required about LUW(Logical unit Work) and V1 nad V2 updatations

    Hi,
    Could you please explain about LUW(Logical unit Work) and V1 nad V2 updatations with examples.
    Thanks,
    Madhu

    Hi madhusudhanarao,
    1.   LUW(Logical unit Work)
      Its nothing but a technique of
      ALL OR NOTHING  concept.
    (Either all the corresponding database tables
    are updated in BUNCH, or
    none of them is updated)
    2.   V1 nad V2 updatations
    They come into picture only when
    UPDATE Module (thru Update FM) is used.
    v1 = updates which are very urgent and MUST (TIME CRITICAL)
    v2 = updates which are necessary but can be done
         after a little time.
    regards,
    amit m.

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

  • HT1351 my ipod touch 2nd generation is no longer reconized in itunes when connected to my computer. I have tried different ipod cables and nothing works.

    my ipod touch 2nd generation is no longer reconized in itunes when connected to my computer. I have tried different ipod cables and nothing works.

    Hi Imminnie,
    Thanks for using Apple Support Communities.  If iTunes doesn't recognize your iPod touch, this article may help:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If issues persist, a thorough removal and reinstall of iTunes would be the next thing to try:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Cheers,
    - Ari

  • HT204416 My Safari is no longer working with many sites.  However Chrome and Firefox work fine.  I would like to re-install Safari in an effort to clear up the problem I can not resolve.

    My Safari is no longer working with many sites.  However Chrome and Firefox work fine.  I would like to re-install Safari in an effort to clear up the problem I can not resolve.

    1. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    2. Select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Test.
    3. If the above steps don't resolve the problem, please describe it in more detail.

  • YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads.

    YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads, if it's even loading at all.
    I do not know if it's relevant or not, but I got a message on my ipad while on safari saying that my iPhone has a virus. I looked it up and it seems it might have just been an ad from the website I was on, but it happened around the same time YouTube stopped working.

    You will find that using the YouTube app will provide a better viewing experience for YouTube videos.

  • Diff b/w SAP LUW and DB LUW?

    2.     what is the diff b/w SAP LUW and DB LUW?

    Database LUW : <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm">LInk</a>
    Sap LUW : <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm">Link</a>
    Thanks
    Mahesh

  • Minus and - not working in query

    Hi all,
    I am operating on 10G R/2.
    I have thsi query where thi sstatement <pre>(COUNT(W_O) - COUNT(W_I))</pre> TOTAL is returning 0.Why is the minus and '-' not working out in this query?.
    <Pre>
    SELECT
    TRUNC(DT) week_start ,
    next_day (TRUNC( DT) - 7, 'Sunday' ) + 6 week_end ,
    to_number(to_char(DT,'FMWW'))wk_no ,
    'I_'||W_I AS IO ,
    COUNT(W_I) TOTAL
    FROM TABLE_A
    WHERE W_I IS NOT NULL
    GROUP BY TRUNC(DT),
    next_day (TRUNC( DT) - 7, 'Sunday' ) + 6,
    to_number(to_char(DT,'FMWW')),
    'I_'||W_I
    UNION ALL
    SELECT
    TRUNC(DT) week_start ,
    next_day (TRUNC( DT) - 7, 'Saturday' ) + 6 week_end ,
    to_number(to_char(DT,'FMWW'))wk_no ,
    'O_'||W_O AS IO,
    (COUNT(W_O) - COUNT(W_I)) TOTAL
    FROM TABLE_A
    WHERE W_O IS NOT NULL
    GROUP BY
    TRUNC(DT),
    to_number(to_char(DT,'FMWW')), 'O_'||W_O
    </pre>
    Edited by: CrackerJack on Jun 14, 2011 8:06 PM

    basic maths
    SQL> select count(object_name), count(owner), count(object_name) - count(owner)
      2    from all_objects;
    COUNT(OBJECT_NAME) COUNT(OWNER) COUNT(OBJECT_NAME)-COUNT(OWNER)
                 52658        52658                               0
    1 row selected.if you take away a number from itself you will get zero. I think you may mean SUM() rather than COUNT()

  • I cant install flash player on my razr i android 4.1.2 what is happen i buy the app and didnt work

    Well when i finally buy my new cell and get out from symbian os one off the first things i gonna do is install flash player for listen my music on last fm and see the movies from streaming but i am too disapoint cause i goo to google store and find a free app from flash this make me soo happy ok i download it when i see its only say the version i need to buy and its 5 euro i am a brazilian here is almost 16 R$ a big assalt for app but i know flash soo good and buyed it via paypal it send me to a download page i get it there but when i gonna install it, it say the app is not install, the pack seens to be corrupt, i see the forum i make my configuration for app from outside but even like this did not install someone can help me i am get crazy with it.

    Hey bro i just asked about a refound but they tell to contact the
    developers cause after 15 min later they cant reefound and other they say
    the app they send is free and i donwload it for free from google play and
    then from there i gef a pay pall link from 5 euro i hope to know what kind
    off app is this cause it is not a official cause is on google play how it
    could be there if this one are discontinued i am assalted:.? In a official
    web site from google or its a official link? I am lost hows i can
    responsability for this? Hope you can help me i know you are not the
    trouble maker but is the only direct aswer i have! Tks about it i was found
    about browser with flash moments ago but i did know about the bateries
    issues good alert hope you can help a litle more too know what happen too
    me and know how responsability for this
    Hope talk too you soon
    Em 21/12/2013 17:28, "Mike M" <[email protected]> escreveu:
        Re: i cant install flash player on my razr i android 4.1.2 what is
    happen i buy the app and didnt work  created by Mike M<http://forums.adobe.com/people/CFMcBlob>in *Installing
    Flash Player* - View the full discussion<http://forums.adobe.com/message/5950011#5950011

  • I have a dilema i use a programme called Mackeeper i accidentally moved several files to my trash,i would like to put the files back where they belong but put back option is in grey and wont work??

    I have a dilema i use a programme called Mackeeper i accidentally moved several checked files to my trash BUT i didnt delete them,i would like to put the files back where they belong but the put back option is in grey and wont work?? i have spoken to Apple and to no avail !!!
    Mackeeper moved my files to my trash so i pulled them out of my trash to my desktop it has copied them to my desktop as well as kept them in my trash!!
    im so confused and things are not working properly anymore such as my google chrome for example...all my book marks are gone BUT i can go to the google file which is out of place on my desktop and view all my bookmarks data...ALL of my files still exist but they are just out of place now which is making it hard for certain options on my computer to work...
    the files includeAccounts,address book plug-ins,addressbook,Adobe,AIM,Alfred,Anquet Maps,Apple,Asramsoftware,Audio,Automatically add to itunes,facebook,facebook 15-53-13-329,faxfresh,five details,flipping book photo album, font collections, fonts, forismatic,Garageband,Gimp,Google,Google 15-53-13-344,icloud,icons,idocument lite,ilife media browser,ilifepage layout,internet plug-ins,ip scanner,itext express,itunes,iweb,Keyboard layouts,Keychains,launch agents,Librarian,limit point software,logs,mail,mail 15-53-13-895,messages,metadata,mobile documents,mobiscope,moso,movie effects,mozilla,MPlayerx,mywebcamBroadcaster,Native instruments,Skype and LOADS more......
    HOW do i get this stuff back to where it is supposed to go so that these programmes work properly again???? i also used delete and command but that did not work either,like i said i have not emptied my trash and ALL the info is there its just totally out of place and the put back option will not work sor some reason!!??? im running 10.8.5 imac someone PLEASE help me!!
    i have not set up time machine either but i do back up to a site called backupblaze...

    Step 1
    Remove "MacKeeper" as follows.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    Failure to remove MacKeeper will result from neglecting any one of these points:
    Quit MacKeeper before dragging it to the Trash.
    Don't empty the Trash after dragging the application to it. Let MacKeeper delete itself.
    Don't try to drag the MacKeeper icon in the Dock to the Trash.
    Here are some general suggestions. If you want your computer to be usable, don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    The only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Never install any third-party software unless you know how to uninstall it.
    Step 2
    Restore from the last backup that predates the unwanted changes.

  • HT4356 My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    hi
    could you tell us what the other app is please

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • I have added/embedded four videos on my website, but when I scroll down, the videos scroll in front of the top menu instead of behind as it should. I have tried changing layers, etc., and nothing works. Can you help?

    I have embedded 4 videos on my website. It is a single page, scrolling site. When I scroll down, the videos scroll in front of the top menu bar, instead of behind it. I have tried changing layers, etc., and nothing works. Please help.
    Thanks.
    Paul W. Norman

    Hi,
    Kindly create a new layer, via the Layers panel:
    Then, right click on the navigation bar, and choose Move to Layer > Layer 2
    Ensure that Layer 2 is on top of the other layers.
    Hope it helps,
    Sonam

  • I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please

    I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has been happening for a while and i've tried everything but it doesn't work.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    It's almost certainly too late.
    The time to create a backup is before a catastrophe.  After a catastrophe, it's too late.

Maybe you are looking for

  • The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?

    The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ? Specifically, when I select and object I used to be able to hold SHIFT while re-sizing the object and keeping it in scale. All of a sudden,

  • Add new http hearders in request (NSAPI) ????

    Hi, I developed a NSAPI Filter for sun web proxy 3.6 SP3. I could not find the way to add a new http header in the request under Solaris. The API function that i use works fine under WinNT but not under Solaris. pblock_nvinsert("toto","titi",rq->head

  • The Remote Desktop Client software is not active

    Hello I just downloaded ARD from the App store. I installed ARD Client 3.4 on the Client machines. Activated the machines in Sharing. All Users with everything checked except for "Show when being observed" I am able to Observe, Control, Curtain and L

  • Itunes vs. external hard drive..PLEASE..PLEASE help!!!! Sorry so long....

    I have over 9,000 music files in my itunes library. I hooked up an external hard drive to free up memory on my computer. I set up itunes to change the path of downloads to the new external hard drive. It worked fine until my husband forgot to turn on

  • MTO without Variant Configuration

    Dear Experts, while creating planned order. Sales order does not allow make-to-order production Message no. 61155 Diagnosis The sales order entered is not to be included in make-to-order production. System response Account assignment can only be carr