Application Development 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: 

purpose of lock in session method?

Former Member
0 Kudos
88

wat is the purpose of lock objects in session method ? when we use lock objects ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
44

hai Gurminder singh,

Actually lock Objects Are used To Synchronys Access to the Same Data By More Than One User.

In Session Method This Is Used That Only Particular User Can run That User .

if Found WorthFull Do Reward.

Regards.

Eshwar.

2 REPLIES 2

Former Member
0 Kudos
44

The R/3 System synchronizes simultaneous access of several users to the same data records with a lock mechanism. When interactive transactions are programmed, locks are set and released by calling function modules. These function modules are automatically generated from the definition of lock objects in the ABAP Dictionary.

The tables in which data records should be locked with a lock request are defined in a lock object together with their key fields. When tables are selected, one table (the primary table) is first selected. Further tables (secondary tables) can also be added using foreign key relationships.

http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm

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

Regards,

Santosh

Former Member
0 Kudos
45

hai Gurminder singh,

Actually lock Objects Are used To Synchronys Access to the Same Data By More Than One User.

In Session Method This Is Used That Only Particular User Can run That User .

if Found WorthFull Do Reward.

Regards.

Eshwar.