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: 

Lock Objects

0 Kudos

Lock object is for transaction or table? Is it for value or for what?

7 REPLIES 7

matt
Active Contributor

I suggest you read the online documentation. And there are probably explanatory blogs around as well. Even some tutorials.

mateuszadamus
Active Contributor
0 Kudos

Hello nayana_n

Here's a bit of basic information about it from SAP Help portal: https://help.sap.com/saphelp_scm50/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm?no_cach...

Kind regards,
Mateusz

0 Kudos

Hi Nayana N,

Lock Objects is for table and can be created via SE11.

Lock objects are used in SAP to avoid the inconsistency when data is inserted into or changed in the database.

--

Regards,

J

Not entirely accurate. You can create a lock object for a structure if you want. They can be used for other purposes than table locking. Search here for "how to ensure a program is only run once at a time".

The SAP documentation here is not complete.

former_member1716
Active Contributor
0 Kudos

nayana_n,

Lock objects are specific for tables to avoid data inconsistency. There are many blogs and documentation for the same. You can start with you can refer below SAP Documentation.

Regards!

"A lock object is a virtual link of several SAP tables which is used to synchronize simultaneous access by two users to the same set of data."

Oooh, can't they say it clearly!? 🙂

For instance:

"A lock object is used to prevent two users from modifying the same data at the same time."

prabhu_04
Explorer
0 Kudos

Lock object is used to avoid concurrent access of multiple users on the same database.

Mainly we use locking Table, Transaction,etc..