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 queries

Former Member
0 Likes
632

HI!

The lock object we create through data dictionary is it client dependent or user dependent ??

Secondly, what is the utility of using our own lock objects in a report when the locking facility is already there as default in SAP.

regards

Amit

4 REPLIES 4
Read only

Former Member
0 Likes
524

Hi Amit,

All dictionary Objects like Views,Domains lock objects etc and most of the repository objects like Programs, Fun modules are client independent.

Using the locking in SAP is entirely up to the programmer. You need to set the lock

(as you are doing) and when you're modifying you also need to check the lock before modifying.

So if, as you say, you lock the object, the corresponding place where you modify the

object also needs to check the lock.

If, for example, you are trying to set a lock on a Z table and then go to SM30 to

modify the table, the lock is totally ignored. The programmer is responsible for

both sides of the lock...

Also look at this link....

http://help.sap.com/saphelp_nw04/helpdata/en/fc/66cbc5ab4411d5b6f3006094192fe3/content.htm

For the Z* created lock objects....

Mohinder

Edited by: Mohinder Singh Chauhan on Aug 6, 2008 1:23 PM

Edited by: Mohinder Singh Chauhan on Aug 6, 2008 1:24 PM

Read only

Former Member
0 Likes
524

Hi,

Lock object are Client dependent.

For the rest of query check the link-

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

Regards,

Sujit

Read only

Former Member
0 Likes
524

Amit, Locks are client dependent(like your application data is client dependent in SAP ),

you create your locks to lock Z* tables. there are locks provided by SAP too for SAP tables.

Thanks, Bindu

Read only

Former Member
0 Likes
524

Hi,

1. Lock objects are Client-dependent.

For detail concept in 1st and 2nd query check the link

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

Regards,

Anirban