Urgent: Could lock entries (sm12) overflow?
Dear experts,
I lock the data of a Z table in a z-program .
at the same time, I receive hundreds of calls from users, that they are locked out of their jobs(which are un-related to the z table).
Could it be that the lock entries of my table, overflow something?? so it cannot lock any more?
Please help.
Thanks,
Roxani
Hi,
yes there's a limit from ~ 2.000
so generalize your lock entry (e.g. per bukrs or werks)
A.
pls reward useful answers
thank you
Message was edited by: Andreas Mann
Similar Messages
-
Lock Entries (SM12) Monitoring with BPMon?
Hi all,
Is there a standard key figure in BPMon which facilitates monitoring of Lock Entries (visible in SM12) in a monitored system?
Or would this have to be monitored using an MTE in the monitored system, and using CCMS monitoring in Solution Manager? If so, would anyone know which MTE is correct for Lock Entries?
Any advice appreciated,
Thanks,
JohnJD
there is an CCMS MTE for update records which are older than x-days. I dont have a hands on system atm but if you just pullup RZ20 and open the "Technical CCMS Monitor template" and go from there to "All monitoring context", try to search for the term "update" or "record" or "lock". I am sure you'll fin dit
You can also include this MTE to your BPM
Nesimi -
SBWP - When delete items in Inbox the error is coming - Lock Entries (SM12)
Hi Friends,
Whenever delete workflow items from Inbox (txn : SBWP), I am getting the below error.
Requested object is currently blocked by user <XXXXX>
Diagnosis :
No lock can be granted by calling a function module, as enqueue another SAP transaction keeps blocking concerned.
Technical: C_ENQUEUE routine provides the following return codes:
COLLISION_OBJECT = EMMARAE
COLLISION_UNAME = CEMCONC
System activity
The enqueue function module triggers the exception. If this exception was not intercepted by the application program, the SAP transaction is automatically interrupted.
Procedure
Check the table blocking the user or transaction that maintains the requested block (Tools -> Administration ==> Monitors -> Entries blocking). Contact this user if necessary.
After this error, the item is deleted from the inbox. Then, when I go and check in SM12, there are 3 entries are created : 2 entries with Lock Mode as 'S' and one entry with Lock Mode 'E' in MARA table.
After refresh in RS12/SM12 tcodes, these 3 entries has gone.
Friends, can you kindly clarify why the above error message is coming while delete ? How to avoid this ?
Kind regards,
Jegathees P.An Z indexes created for the table CDHDR (Followed the note 150925)
-
Hi Experts,
Please help in finding which SAP Standard table can we find the lock entries(SM12 transaction).
Thanks!Prerequisites
You have generated the demo data for the SQL Tutorial.
Log on to the database instance DEMODB as user MONA.
Examples
You can use the system table LOCKS to determine the following database information, among other things:
● All locks that are currently held on table ROOM
SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
FROM DOMAIN.LOCKS
WHERE tablename = 'ROOM'
● All locks that the current user holds in that database session on table ROOM
SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
FROM DOMAIN.LOCKS, SYSINFO.SESSIONS
WHERE tablename = 'ROOM'
AND locks.session = sessions.sessionid
● All locks that are currently held on the table with the hexadecimal internal identification 000000000000035D
SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
FROM DOMAIN.LOCKS
WHERE tableid = X'000000000000035D'
If the current user is the database administrator (DBA user) or the database system administrator (SYSDBA user), then all currently held locks are shown.
Users that belong to other user classes only see the locks held by that one user.
Definition
The system table LOCKS describes the current lock entries and entries for lock requests.
Structure
LOCKS
SESSION
FIXED(10)
ID of the database session
TRANSCOUNT
CHAR(20)
Transaction identification in the database session
PROCESS
FIXED(10)
Process identification in the database instance
USERNAME
CHAR(32)
Name of the user
DATE
DATE(10)
Creation date of the lock
TIME
TIME(8)
Creation time of the lock
TERMID
CHAR(18)
User terminal identification
LASTWRITE
CHAR(10)
Elapsed time since the last SQL statement for data manipulation
LOCKMODE
CHAR(14)
Type of lock (NULL value | SHARE | EXCLUSIVE)
LOCKSTATE
CHAR(10)
Status of lock
APPLPROCESS
FIXED(10)
Process identification on the client hardware
APPLNODE
CHAR(64)
Client hardware identification
SCHEMANAME
CHAR(32)
Name of the schema of the table
OWNER
CHAR(32)
Name of the owner of the table
TABLENAME
CHAR(32)
Name of the table
TABLEID
CHAR(8) BYTE
ID of the table
ROWIDLENGTH
FIXED(4)
Length of the key of the locked row
ROWIDHEX
CHAR(64) BYTE
Start of the key of the locked row in hexadecimal notation
ROWID
CHAR(128)
Start of the key of the locked row
http://dev.mysql.com/doc/maxdb/en/c4/812640632cec01e10000000a155106/content.htm -
Lock entries for table SWWWIHEAD in SM12 Urgent
HI
From last few days, In SM12 there are lock entries coming for workitems of table SWWWIHEAD even though workitem is completed successfully. Time of lock entry shows it is time when approver started taking action on it.
Please let me know is there any impact of this on system and how it is happening and what we should do with these lock entries.
Appreciate your help.
Regards,
Shiv.Dear,
Actually we faced an issue related to this like the approver took action on it. after that the item got locked. the basis is telling there could be the RFC session from SAP Portal inbox which is not closed somehow. may be session is exited without properly logging out. in this case the item was still in his inbox and when the approver tries to open it, the error message says workitem is locked bye the same user id. The basis is telling the lock will be removed after the default stipulated time (in my case, its 8 Hrs ! ).
hope this helps.
with regards,
Sudhahar R. -
ITS Session produces lock entry in SM12
Hi
I'm new to the ITS technology.
I have to integrate a Dynpro into a WebDynpro.
Me was told to use the Iframe component in WebDynpro to integrate the "normal" Dynpro via ITS.
In a prototyp I have a WD-View, let's call it View1, where I can press a button to navigate to a second view (view2) where my Iframe is included. The Transaction is called automatically.
That works fine so far. The dynpro is visible in the webdynpro.
Now to my problem.
If I navigate back with the WD-Navigation button to the view1 and then with my button to the view2 again, the Transaction (that is called autom.) says that the data is already locked by me.
I assume that the first session is not closed with using the webdynpro button.
(A lock entry is listed in SM12)
How can I tell the ITS-Server explizit to end the session?
Thanks for your help!
regards, TomHello Tom,
what type of ITS service are you calling? It sounds as it isn't a SAP GUI for HTML (~webgui=1) service. What does the service looks like? Which ITS parameters are defined?
I wonder why the ITS service does not use the Distributed Session Management provided by many of the SAP clients. However, SAP GUI for HTML brings its own client session management with it. Though it is not supported by SAP, the parameter ~disconnectonclose (that is responsible for that client session management of the SAP GUI for HTML) also can be turned on for so called EWT or IAC services of the ITS. You can find more information in note 689291. Please attend to the notes!
With best regards,
TJ -
Hi Friends,
I have run two programs simultaneously updating same table.I want to chaek whether there is any lock that has occured.I have no authorization for SM12.Is there any table or other transaction to check whether the table is locked.Hi!
The programs should set lock entries before making a change and releasing the lock immediately afterwards. When this is the case, you could see locks in SM12, but more for information purpose - because the programs are doing well on their own.
If one (or both) programs don't use locks, then you won't see anything in SM12 and you might get a mess in the database - depends on the actual changes.
(IMHO) Locks aren't stored in a table, it's more organized like a global memory -> that's faster and locks don't need to be stored for a long time anyway.
Transaction would be SM12 - and anyway, any other transaction would check the same authority object...
Regards,
Christian -
i have used the FM Enqueue_____ and DEQUE____
i want to know in which table the lock entries are
entered, by sm12 i can know which is the locked entry
but i want to know the table in which entry is stored
pl. help me its urgent.
abhishek suppalHi,
it's a logical -not physical- lock
-> look TA: ST05 (option Enqueue trace)
Andreas -
Hi all,
In my sm21 log i found lock entry deleted manually. I didnt deleted any lock for this user and user too dont have sm12 in his profile.
I would like to know about this user. Is there any log file is there ican find deleted locks and who deleted that lock?
Thanks in advance
Time Type Nr Clt User TCode Priority Grp N Text
14:33:12 DIA 001 900 130106 J1IEX GE O Lock entry deleted manually: Transaction J1IEX
Details Page 2 Line 13 System Log: Local Analysis of ECCAPP2 1
Time Type Nr Clt User TCode Grp N Text
14:33:12 DIA 001 900 130106 J1IEX GE O Lock entry deleted manually: Transaction J1IEX
Lock entry deleted manually: Transaction J1IEX
Details
Recording at local and central time........................ 14.07.2011 14:33:12
Task...... Process User...... Terminal Session TCode Program Cl Problem cl Packag
22602 Dialog work process No. 001 130106 Shashi_S 1 J1IEX SAPLJ1IEX S Operation Trace SENQhi All,
i am also getting the same error "Lock entry deleted manually: Transaction J1IEX" daily. except me no one has authorization to SM12. i checked Stad no luck, COuld some one help me on this.
Note: there are no lock entrys in SM12.
12:43:21 DIA 021 100 <user Name> J1IE GE O Lock entry deleted manually: Transaction J1IEX
12:43:21 DIA 021 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCDTL E
12:43:21 DIA 021 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCHDR E
12:46:06 DIA 033 100 <user Name> J1IE GE O Lock entry deleted manually: Transaction J1IEX
12:46:06 DIA 033 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCDTL E
12:46:06 DIA 033 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCHDR E
12:46:27 DIA 022 100 <user Name> J1IE GE O Lock entry deleted manually: Transaction J1IEX
12:46:27 DIA 022 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCDTL E
12:46:27 DIA 022 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCHDR E
12:47:07 DIA 019 100 <user Name> J1IE GE O Lock entry deleted manually: Transaction J1IEX
12:47:07 DIA 019 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCDTL E
12:47:07 DIA 019 100 <user Name> J1IE GE O Lock entry deleted manually: J_1IEXCHDR E -
Unalbe to delete lock entry table using Dequeue function module
Friends,
I display a base ALV list with custom app. tool bar. When i click on a button, i submit another report which updates a z-table for that corresponding row. I create a lock object for this entry before submitting the report. After updating the table, I try to delete the lock object using dequeue function module in the called report, but though the subrc is 0, the lock entry is not getting deleted in SM12. The called report, after dequeue, again submits report 1 (the caller). So, when i try to do some operation for the same row which I first selected, it triggers Foreign_lock exception. When I completely go out of the base list, only then the entry is deleted. Can anyone tell me the reason? I have tried with parameters _SCOPE & _SYNCHRON, but same result.
Regards,
Sathish RHi,
The triggering of the dequeue is not in the proper position as it need to be placed.
Thats the only problem as per u have described the issue.
Place the deque as soon as the report is return the value.
I hope it may work ur issue. -
Hi Gurus,
I have an ID locking the Interactive Planning --> Demand Planning Area, this is not showing up in SM12,
but showing up from the menu --> Edit --> Lock Entries.
What do I do to unlock these?
Thanks
JSHello all,
Thanks for your time and response. But there has been an abrupt shutdown of the system, and there is nothing in SM04, SM12, SM66 SM50 running as suggested by all of you. And the locked planning areas are getting unlocked after certain period of time. This is a recurring problem happening to Planning areas.
I am trying to see if I have to patch my system, this is new dev installation SAP SCM version 5.1
Any ideas would be helpful.
Thanks
JS -
hi gurus
How to open the lock entries without using sm12 . Is ther any setting in plant level.
thxHello Mr Raju
This specific lock entries is comming with the mtl in batches.
How the remove the same without sm12.
Thanks
umesh -
Lock entries for FM - 'ALM_ME_READ_CATALOG_PROFILE'
Dear Friends
Whenever the following function modules are called it create lock entries in sm12. So it restricts transaction QS41 for edit Mode.
ALM_ME_READ_CATALOG_PROFILE
QM09_READ_CATALOG_PROFILE
I want these lock entires to be deleted automatically after it is called. I tried to remove lock entires using the following function module and it never worked.
Call function 'DEQUEUE_EQQPGR2'
exporting
mode_qpgr = 'X'
mandt = sy-mandt
katalogart = 'P'
codegruppe = 'PTRTY'
Kindly help me.
ThanksHi Meghana,
I am not sure about the FM. But the CRM table COMM_PCAT_ITM contains the relation between product catalog and the product. In this table the product guids are stored in the field 'OBJECT' and corresponding product catalog guids are in the field 'PARENT_CATALOG'
Hope this helps to debug further.
Thnaks,
Paul Kondaveeti -
Lock entries appearing again after deleting
Hi,
I am deleting some old lock entries in SM12 but i dont know how , deleted entries are appearing again back. Can you please suggest how to tackle this problem.
ThanksHello....
Just after deleting once it will rpompt are you really want to delete say yes..
and Also check the SM04 tcode whether this is still present then hoppe this will solve ...
Sas -
Maximum number of Lock Entries
Hi Guys,
I'm doing some WBS Settlements through CJ88/CJB1 . It might happen that this Txn may process thousands of WBS Elements at a time which means all those WBS Elements will be locked .
How to find out the maximum Lock entries in SAP ?
I want to avoid LOCK TABLE OVERFLOW Exception when processing all the WBS Elements .
I have gone through the txn RZ11 and found out that the enque/table_size as 4096 KB (ie 4MB) .
I'm not sure how to many entries make out this 4MB . Do anyone have an Idea ??
Thanks .
AnilWhere is the relation to ABAP development? Please ask again in forum "SAP Netweaver Administrator".
Thread locked.
Thomas
Maybe you are looking for
-
Different movement types in MM documents in SSR
Hello, How can I use different movement types in logistic documents for meter readings? I set up additional meter event for own consumption and I need to get logistic document with other movement type (as standard we running creating logistic documen
-
Can multiple users share Aperture Library over network
I'm considering moving over to Aperture because iPhoto is starting to show the strain under the number of RAW pictures I'm uploading. My current iPhoto library is stored on my NAS and is shared between my RMBP and MacMini. If I make the transition ov
-
How do I get my PS5 to update on a new computer?
When I attempt to update PS5 I get a " failed to install" message after the download is completed. When I installed it onto my new PC it said it had been activated. The message for each update said to`try again later`` Ihave tried this three times an
-
20" display not working properly
The display only works with a 90w brick instead of the 65w brick it came with. It was intermittent for a while and then it just gave me the light code of short, long, short, which says: "Make sure you are using the correct power adapter with the disp
-
Is anyone having trouble utilizing stored procedures in Oracle? Specifically selecting nextval and currval from dual? nextval doesn't actually execute, but kind of looks like it did minus legitimate values, and currval blows up with a bogus Oracle er