‎2007 Dec 12 9:34 PM
Hi all
can any one please tell me the modes for luw..
like
luw_mode = 0 ?
luw_mode = 1 ?
luw_mode = 2 ?
luw_mode = 3 ?
regards
abapuser
‎2007 Dec 13 9:15 AM
<u><b>luw_mode = 0</b></u>
The component sets neither ' commit work ', still ' roll-bakes work ' off. But the calling component is responsible. At expiration of the component the data are thus not yet booked. They can be cancelled at any time again.
<u><b>luw_mode = 1</b></u>
The component regards the entire handed over data as a logical unit (LUW). That is, that it confirms all data from once the data base in case of success and fetches in the event of an error all data back. It is thus booked only then, if all data were accepted error free.
<u><b>luw_mode = 2</b></u>
The component regards each individual set of type of info. as logical unit. That is, that it confirms each individual set of the data base, and/or it fetches back. Each sentence, which goes through error free is thus also booked.
<u><b>
luw_mode = 3</b></u>
The component does not book the data. Thus this value can be used for simulation.
Thanks & Regards,
Kanagaraja L
‎2007 Dec 15 2:17 PM
Dear ABAP User,
<b>Locks Modes</b>
<b>Type of Lock: Shared lock
Lock mode: S (Shared)
Description</b>: Several users (transactions) can access locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock set on an object that already has a shared lock will be rejected.
<b>Type of Lock: Exclusive lock
Lock mode: E (Exclusive)
Description:</b> An exclusive lock protects the locked object against all types of locks from other transactions. Only the same lock owner can reset the lock (accumulate).
<b>Type of Lock: Exclusive but not cumulative lock
Lock mode: X (eXclusive non-cumulative)
Description:</b> Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. Each further lock request will be rejected.
<b>Type of Lock:Optimistic lock
Lock mode: O (Optimistic)
Description:</b> Optimistic locks initially behave like shared locks and can be converted into exclusive locks.
Best Regards,
Rajesh
<b>Please reward points if found helpful.</b>