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 Objects

0 Likes
1,752

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

7 REPLIES 7
Read only

matt
Active Contributor
1,640

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

Read only

MateuszAdamus
Active Contributor
0 Likes
1,640

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

Read only

Former Member
0 Likes
1,640

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

Read only

matt
Active Contributor
1,640

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.

Read only

former_member1716
Active Contributor
0 Likes
1,640

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!

Read only

1,640
"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."
Read only

prabhu_04
Explorer
0 Likes
1,640

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

Mainly we use locking Table, Transaction,etc..