Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

luw

Former Member
0 Likes
438

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

2 REPLIES 2
Read only

Kanagaraja_L
Active Contributor
0 Likes
410

<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

Read only

Former Member
0 Likes
410

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>