Current Session Lock Entries

Hi,
I want to read the locked objects, which are locked in other sessions other than the current session.
I don't need current session locking entries.
I tried with fm ENQUEUE_READ but it is giving all locked entries including current sesstion.
Any info on this.
Thanks
aRs

Hi,
I am facing the same sitauation but SM30 does lock by considering parallal sessions by same user.But it uses VIEW_ENQUEUE to check the locks.
So SAP does tracks locks by sessions.I hope i am right here in saying this.
Manish.
Message was edited by:
        Manish Verma

Similar Messages

  • Translucent impromptu possible "hacker" message interrupts current session, locks MacBook Pro screen and demands that I restart by holding down the power button of my LapTop to turn it off first. Any thought? Could this be another way to mess with us?

    I was listening to a YouTube video on the history of X15 rocket airplanes. All of sudden, out of the blue a translucent back message drops top down, stops the video, locks up my MacBook Pro screen and demands that I restart my lapTop by first holding down my power switch, then turn the lapTop back on. This has never happened to me before. The message was in black & white, and in about 6 languages: English, French, Spanish, Dutch, Japanese, Chinese. Does any one recognize what this might be?
    The Computer turned back on just fine as if nothing had Now I am freeking out that they could be reading my key strokes or something. Could they have used this tactic to install malicious software on my computer by first taking away my ability to do anything about it being that I am not a software engineer? Can any one think of anything simillar? I reported this as a bug to APPLE the regular way, then cleared my Safari cookies, then run software update which returned nothing new as in " your software is up to date at this time."
    Can any one please help?
    A-NmN. 

    Hi stedman1,
    Thank you so much. This seems to make sense to me now. I was freaking out a bit that some hacker could be messing with my MacBook Pro. I will be monitoring this issue from now on as it has never happened before. 
    A-NmN.

  • 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

  • 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:
    ●     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

  • Getting an error in KPI Modeler as "{"customMessage":"failed to detect the sap language of the current session language","status":500}"

    Hi Experts,
    We have installed UISKPI01 in SAP NetWeaver Gateway System for Fiori Analytical Apps (KPI modeler is necessary to model the KPI) but while trying to create and Save the Group, we are Getting an error in KPI Modeler as "{"customMessage":"failed to detect the sap language of the current session language","status":500}". Similarly, when we are trying to edit the existing KPI template and assigning the Variants and Evaluations, we are facing the same error as failed to detect the sap language of the current session language","status":500.
    Any idea on above error?
    Thanking you,
    ~ Mahendra

    Hello Mahendra,
    Check if you have entries in the T002 table of SAP_SSB schema.
    If not follow the steps mentioned in the admin guide of SAP Smart business to populate data.
    This should resolve this issue.
    Note: My assumption is that, you are accessing the KPI modeler in English Language.
    Thanks,
    Debasish

  • Acrobat Std v9.5 browser session locks up past 2nd page

    I updated to v9.5 Acrobat Std. yesterday (from v9.45 --> 9.46 -->9.47 to 9.50). 
    I opened a PDF linked inside a webpage to a new tab (using 32 bit IE9). The webpage PDF opens fine. But when I scroll to the second page (which is black), the browser session locks up (including all open tabs). I have to use Task Manager to kill the particular non-responsive IE9 session (i.e., other, independent IE9 browser sessions do NOT lockup, and do remain running when I kill the errant session ...just guessing, but the non-locked up sessions may be an artifact of independent memory spaces from using W7 64 bit).
    I tried this several times, opening a new browser session each time, trying to view the document past the first page (and if I do not scroll to the second page, the session does not lock up), and the lockup happened each time (i.e., the error is duplicable).
    Testing, I opened another new session, clicked on the PDF link and chose to Save As, and placed the document on my desktop. It downloaded almost instantly, and opened just fine (and I was able to read the entire 7 pages of mixed texts & charts).
    I did not experience this problem with Acrobat v9.45, ever ...and yes, I use that feature often (so I would have known if there had been an issue). I never really tested the issue under Acrobat v.9.46/9.47 (I didn't open those versions at all ...I was doing Adobe updates manually as per my usual routine, and generally follow the sequential order "just in case").
    ...and if no one can point me to a solution, then I suppose I'll have to try removing the update (if that's possible), or deleting Acrobat 9 (after deactivating the license - I read within this forum that you can do that, if you need to uninstall for some reason) and re-installing Acrobat 9.0 from scratch (I'd really rather not do that, but if that's what it takes).
    NOTE: I do not have Adobe Reader installed. My OS is Windows 7 Pro (64 bit) w/8GB of RAM, and Intel Core 2 Quad. My preferred browser is IE9. All software and OS patches are current [to-the-version]. I'm an experienced user (20 years plus as a systems administrator); and non-gamer (i.e., malware free). This is a work box (primarily used for client remote support).
    Cross posted from the Adobe Reader discussion forum (as I didn't get any responses there).

    In reference to this change in the Custom Reports... Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
    What is the customer confusion we are trying to stop here? I've got even more confused customers at the moment because all of a sudden they can't find the export to excel option but know it exists if they log in on a PC?
    Mark

  • XFCE session locked

    Hi all,
    this goes to a problem with XFCE as the new GNOME desktop did not suit my needs.
    XFCE was run fine until a recent update of GNOME packages but it may also be due to incorrect shutdown. Now there's a locked XFCE session (GDM in use) which I cannot terminate or unlock.
    Which steps do I need to undertake to kill the session and/or screensaver manually from terminal?
    Kind regards,
    scoona

    You did help me until now, thanks. Alas, the error is still here. /var/lock is clean except firewall entry, which is fine. A reboot didn't kill the session/lock situation. The session directory in .config (homedir) is empty.
    Two other details may be important:
    - Starting gdm from command line displays the login screen fine, but the pointer changes to a watch and reflects my user as logged in.
    - Logging in as user after init 3 immediately starts up X, which is not intended as I don't like autologin. I dunno the reason for this one.
    I've changed inittab to use gdm instead of xdm but this does not help.
    Any remarks please?

  • Lock entry in RPM

    Hi,
    How can I check lock entries in RPM?
    Is there any function module through which I can identify the user who has currently locked a particular review object?
    When I am clicking on particular review then the system is showing a message that an user has processed the particular review.I want to get the user through programming.Is there any way out?
    Thanks in advance,
    Sourav

    seems you are not using the call correctly.
        CALL FUNCTION 'ENQUEUE_ENQ_CGPL_PROJECT'
          EXPORTING
            mode_cgpl_project_enq = 'E'
            application           = 'PPM'
            external_id           = <id>
            _scope                = <scope>
          EXCEPTIONS
            foreign_lock          = 1
            system_failure        = 2.
    above call will set sy-subrc to 1 if exclusive lock has already been set.
    Edited by: Alok Kumar on Aug 11, 2011 9:57 AM

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

  • Lock entries in RPM

    Hi,
    How can I check lock entries in RPM?
    Is there any function module through which I can identify the user who has currently locked a particular review object?
    When I am clicking on particular review then the system is showing a message that an user has processed the particular review.I want to get the user through programming.Is there any way out?
    Thanks in advance,
    Sourav

    seems you are not using the call correctly.
        CALL FUNCTION 'ENQUEUE_ENQ_CGPL_PROJECT'
          EXPORTING
            mode_cgpl_project_enq = 'E'
            application           = 'PPM'
            external_id           = <id>
            _scope                = <scope>
          EXCEPTIONS
            foreign_lock          = 1
            system_failure        = 2.
    above call will set sy-subrc to 1 if exclusive lock has already been set.
    Edited by: Alok Kumar on Aug 11, 2011 9:57 AM

  • 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

  • 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

  • How to retrieve the owner of a session lock ?

    Hi,
    I'm building a custom application in Java using CMSDK 9.0.3.1.0. I'm using many session locks, and I'd like to know which DirectoryUser put a session lock on a given object.
    There's an 'LOCKEDFORSESSION_ATTRIBUTE' attribute holding the session id associated to the lock, but I found nowhere in the javadoc a way to get all the sessions opened on the server.
    Does anybody know if there's a way to do this ?
    Thanks for your help,
    Roger

    oracle.ifs.server.S_LibraryService has a method getSessionManagers() which returns oracle.ifs.management.domain.SessionManagerInterface[]. For each LibrarySession connected to this particular LibraryService, there will exist an an associated SessionManager that is essentially a non-published read-only administration API for an iFS session.
    oracle.ifs.server.SessionManager (which implements the SessionManagerInterface) has a method getId() that returns the id of the associated librarysession.
    It also has the following 2 methods that should be useful:
         * Gets the name of the DIRECTORYUSER for which this session
         * was authenticated.
         * @return                    the user name
         * @exception IfsException if the operation fails
         * @nopub
         public String getAuthenticatedUserName()
              throws IfsException
              return m_AuthenticatedUserName;
         * Gets the current DIRECTORYUSER for this session.
         * <p>
         * This is the same as the authenticated user, unless a
         * "feign user" operation has been performed.
         * @return                    the user name
         * @exception IfsException if the operation fails
         * @nopub
         public String getUserName()
              throws IfsException
              return m_UserName;
          LockObject lo = ....
          AttributeValue value = lo.getAttributeByUpperCaseName(LockObject.LOCKEDFORSESSION_ATTRIBUTE);
          long sessionid = (value.isNullValue() ? 0L : value.getLong(m_Session));
          SessionManagerInterface[] sessionMgrs =
            [XXXXX.]getSessionManagers();
          // for every session in the current service...
          for( int k = 0; k < sessionMgrs.length; k++ )
            if (sessionMgrs[k].getId() == sessionid)
          }Matt.

  • Multiple lock entries in VB22 (sales deal) while only one in VK12

    Hi All,
    When a user edits a sales deal with several condition records, lock table has several entries with the exact same description
    Name                        Table Name                    Key
    UK_KCHANDIK                 Table Lock Structure          A922
    If the sales deal has 20 condition records (each for a different material), then there are 20 lock entries of this type; this causes lock table overflow as most sales deal in production system have several entries.
    However if the same condition records are being edited directly, i.e. in transaction VK12, even though so many condition records are being edited, there is only one lock created for the table A922.
    Searching both SAP Notes and SDN forums for 2 days didn't provide any solution. Can anyone suggest how we can make lock entries of VB22 transaction more generic, i.e. at a table level rather than material level as happening currently?
    Thanks & Regards,
    Kris
    SAP SD

    It looks like something which may have a note released by SAP but we couldn't find any.
    An issue is being raised with SAP but it looks like it will take a while. In the meantime, I am wondering if someone has come across this situation before and who may have a fix / note as a ready reference.
    Thanks,
    Krish.

  • Lock entry deleted manually

    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 SENQ

    hi 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

Maybe you are looking for