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,
John

JD
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

Similar Messages

  • 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

  • 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)

  • Lock entries standard table

    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:
    &#9679;     All locks that are currently held on table ROOM
    SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
      FROM DOMAIN.LOCKS
        WHERE tablename = 'ROOM'
    &#9679;     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
    &#9679;     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

    hi gurus
    How to open the lock entries without using sm12 . Is ther any setting in plant level.
    thx

    Hello Mr Raju
    This specific lock entries is comming with the mtl in batches.
    How the remove the same without sm12.
    Thanks
    umesh

  • Lock Entries are having the false time

    Hello!
    I've a problem in the lock table.
    When I look at the status screen there is standing the right time.
    But the lock entries are listed with a time which is 10 minutes in the future.
    Can somebody tell me where this field gets his values? The lock table is in the shared memory I think, but I can't understand why there is the false time.
    Thank you for your answers!
    Florian

    Hi,
    do you mean the time of my system?
    This time is correct.
    The system time of the ERP Server and my system is nearly the same and the time of the lock entries not.
    At our CRM system it is correct.
    And at our Test-Systems it is also correct.

  • 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, Tom

    Hello 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

  • Db_associate fails with : Lock table is out of available lock entries

    Hi
    Occasionally on startup my app needs to rebuild its secondary database, so I call db_associate with DB_CREATE set. If the primary db is large the associate fails with "Lock table is out of available lock entries". Both databases are hashes, so I have not configured any special lock sizes as I didn't think I needed to.
    What lock configuration does db_associate need to succeed?
    I am using version 4.7.25
    Thanks
    Ashley

    Hi Ashley,
    You should be sizing the locking subsystem with high enough values so the secondary database rebuilds successfully, then run the "db_stat -C" utility and see how many locks, lock objects and lockers did you need to perform the operation and reconfigure the locking subsystem with values slightly bigger than what you needed, so you make sure that you'll have enough resources for the next time you'll rebuild the secondary.
    "Lock table is out of available lock entries" means that the Berkeley DB locking subsystem has not been configured for enough locks. For more information, see the "Configuring locking: sizing the system" section of the Berkeley DB Reference Guide, included in your download package and also available at:
    http://download.oracle.com/docs/cd/E17076_01/html/programmer_reference/lock_max.html
    To see what locks are held in the database environment at any time, you can dump the lock table using the -Cl options:
    % db_stat -h [database environment directory] -Cl -N
    Additional documentation:
    db_stat: http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/db_stat.html
    set_lk_max_locks: http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/envset_lk_max_locks.html
    Bogdan Coman

  • About lock entries

    hi all,
    I have seen lock entries in sm12. tables are ATPENQ,VBAK. so what should i do?
    please help in this regard.
    regards
    praveen

    The purpose of lock management is to monitor the lock logic of your system. You can determine the locks that are currently set. Locks for which the backup flag is set (because they have already been transferred to the update task) are highlighted.
    This enables you to detect and rectify problems, for example, by deleting locks that are no longer required.
    You can display lock entries according to the following criteria
            Table in which rows are locked
             Lock entry argument
            Client
            User who set the lock
    This corresponds to the entries in the lock table.
    The lock entries are shown in different colors:
    Blue means that the locks have already been transferred to the update task, with the result that the backup flag is set. These locks are also rewritten to the lock table when the enqueue server is restarted.
    Black means that the lock (still) belongs to the dialog owner. The backup flag is not set.
    By choosing Edit - > Sort by, you can display the locks according to user, time, table, or host system (host).
    By double-clicking a lock entry, you can display detailed information, including the host name and number of the SAP System in which the lock was generated.
    What should you do first if a problem arises?                    
    Use the diagnosis functions:
    sm12  Extras - >Diagnosis and then
    sm12 Extras - >Diagnosis in update
    If a problem is reported, back up the trace files dev_w, dev_disp, dev_eq and check the Syslog. 
    Hope this would help you in understanding SAP lock management.
    Pls Reward points if useful.
    Regards
    Sree

  • Montioring lock entries

    Hello,
    I want to automate the lock entries in Sm12 , Please suggest me a suitable way to get my work done .
    My main motive is to monitor the entries which are 24 hour old.
    Thanks,
    Piyush

    Hi,
    You can find all locked entries using FM ENQUEUE_READ.
    All locked entries with details will be in return table ENQ.
    To get all locked entries more than 24 hrs, just get the date (ENQ-GTDATE)and time(ENQ-GTTIME) from ENQ table
    and use FM SD_DATETIME_DIFFERENCE to get the date and time difference.
    If return field datediff is GE 1, locked entry duration is more than 24 hrs old.
    Cheers,
    Vikram

  • 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 R

    Hi,
    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.

  • Other solution for locked entries in smq2

    Hello everyone. Good day!
    I have two entries in smq2 that are not moving. However, the status text indicates that they are running. 2 hours has elapsed since the entries started not to move. I have tried unlocking the queues and resetting the message causing the block. After resetting the message, the status text became Object Requested is Currently Locked by User. Thus, I deleted the locked entry in sm12. After deleting, I reset the entries again, then the status was changed to running but the entries are still not moving.
    It seems that the steps I performed above do not work. So, my next step is to look at sm37 if there is a failing job. But I found none. I also checked sm59 to see if there is a connection problem with our Java server. But the connection is fine.
    Do you have other ideas on how to solve this?
    Thanks in advance!

    Me too not sure, how to check in SMQ2.:-(
    We ca do this in SXMB_MONI. Here you will find your msg with green flag.
    Here there will be a column for queue name. If you click on this it will take you to the screenyou see from SMQ2. In SXMB_MONI, there will be a column which says PE/AE. If it is PE then the msg corresponds to a BPM. Click on PE to know about the steps completed in the BPM.
    Regards,
    Jai Shankar

  • How to delete lock entry ?

    Hi.
    We have many lock entry that created at yesterday.
    I want to delete it but It's too many.
    Is there any delete a lot of lock entry ?
    Regards, Arnold.

    Hi Arnold,
    Before deleing the lock entries you should take care of the following.
    Black locks are normal transaction locks. Blue locks are inherited by the update system and deleted with the corresponding update request. Blue locks are also saved in the file system and restored when the system is restarted.
    SM12 -> Select All -> Delete
    Regards,
    Naveen.

  • System  Blocks transactions through LOCK entries

    Hi Experts,
    I am try to create PO with reference to PR i have created PR and i am trying to create PO and i have entered cost center  but system is throwing error."Cost center XXXx/xxxx does not exist" . but i have checked the cost center validity period where as validity period is 01.04.2013 to 31.12.9999. even i checked the controlling area as well every thing is proper. later i observed lock entries in SM12 for  the EBAN,MARM.i felt issue is with lock entries because same cost  center i have entered in purchase requestion there it didn't throw any error, why system is stopping transactions with lock entries how to stop lock entries& is there any configuration to stop lock entries. anyone  guide me every day  i am facing the same issue please help me to avoid this.
    Thanks in advance
    Regards,
    Diwakar

    Hi
    thanks for response
    i have checked controlling area & company code every thing is perfect and i have checked validity period and status of cost center as well every thing is perfect. i seriously  don't understand
    why system is not allowing create PO and same cost center i have entered in purchase re question but system didn't throw any error.i have created PR with same cost center but when i am trying to create PO system is not allowing..
    Regards,
    Diwa

Maybe you are looking for

  • Adobe Acrobate Pro re-Install

    My old laptop, which had Adobe Acrobat Pro 9 installed, had a hard disk hard failure. I am trying to install from the original CD onto a new computer and the install has told me that I must deactivate on my old computer (which I cannot do because it

  • Internal Load Balancer status - how to get it?

    Hello, is there any possibility to get the info, whats the status of the internal load balancer? We would need to know, if e.g. one endpoint for forwarding is recognized as down. Thanks, Thomas

  • PO REFERENCE IN BILLING DOC

    HOW CAN WE PUT THE REFERENCE OF A PURCHASE ORDER IN A BILLING DOCUMENT

  • Installed Thunderbird but it only shows recent messages - why?

    After months of problems with Outlook I installed Thunderbird. It seems to work great, but this morning I went to search for an email...I couldn't find it. I then realised that it only shows recent emails in the inbox. I've read various things but ca

  • Which video camera works best with Premiere Pro CS6

    I'm a beginner in working with PP and need to purchase a video camera which will work seemlessly with Premiere Pro.  I don't want to go through a lot of conversion steps. I want to tape my kids sports, be able to take the raw video right from the cam