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

lock objecj in abap

Former Member
0 Likes
931

Hi all ,

Can u explain lockobject with an examle please?

I have an idea related to function modules like

enque and deque.But i need detailed explanation with

screen shorts etc,.. please do favour .

Thanks & Regards

Ravi

Hi all ,

Can u explain lockobject with an examle please?

I have an idea related to function modules like

enque and deque.But i need detailed explanation with

screen shorts etc,.. please do favour .

Thanks & Regards

Ravi

7 REPLIES 7
Read only

Former Member
0 Likes
910

chk this

Read only

Former Member
Read only

Former Member
0 Likes
910

Hi Ravi,

check this link it may be useful.

http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm

Regards,

Arun.

reward points if it is useful.

Read only

Former Member
0 Likes
910

Hi Charan,

Lock Objects are of three types.

Exclusive, cumulative

Shared

Exclusive, not cumulative

These are used to lock a record based on the lock mode

When a Lock object is created and activated it

generates function modules that set and release locks

Regards,

GSR.

Read only

0 Likes
910

hi Charan,

A lock object definition contains the database tables and their key fields on the

basis of which you want to set a lock...

When you create a lock object, the system automatically

generates two function modules with the names ENQUEUE_<lock object name> and

DEQUEUE_<lock object name>...

You can then set and release SAP locks in your ABAP

program by calling these function modules in a CALL FUNCTION statement...

Unlike the database, which sets physical locks, the SAP lock mechanism sets logical locks...

A locked database entry is not physically locked in the database table.

The lock entry is merely entered as a lock argument in the central R/3 lock table...

can you kindly close your previous and reward the helpful answers..

regards

satesh

Read only

Former Member
0 Likes
910

hai ravi

just check out this link.

it gives introduction details and examples of creating and deleting lock objects.

http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm

regards

praba