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

Similar Messages

  • E-recruiting - lock entry in SM12 table 'plogi'

    Hi,
    When we create an activity in E-recruiting, on a candidacy or an application, a lock is created for that candidacy or application, in SM12 for table 'PLOGI'. After leaving the application, the lock remains in SM12. We have to delete the lock to 'free' the candidate, or candidacy or application. Or we have to wait until the user leaves the portal session to unlock the entry.
    We have had an upgrade of our system to 7.01 Netweaver. Before the upgrade, these entries were always unlocked in SM12, without delay.
    Has someone had the same problem? And does anyone know a solution?
    kind regards,
    Ruth

    Hello Ruth,
    are you using the new business function for recruiter / admin requiring sap portal? are you on an up to date support package (at least e-rec EHP 4 SP 6)?
    Rgds.
    Roman

  • PFAL Lock Entries

    Hi,
    I have noticed that transaction PFAL is producing a number of lock entries in SM12. For example running PFAL for object type P and message type HRMD_A is producing two lock entries (PLOGI + PREL) per object. Anyone who knows why these locks are set and if it is possible to remove them?
    Thanks!
    /Elvez

    Hi,
    the locks removing from "standard" after ending PFAL, aren't they?
    If yes you shouldn't remove them by your own during run of PFAL..
    Regards
    Bernd

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

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

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

  • 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

  • Does locked documents in sm12 can cause system to slow down in reading

    hi experts,
    When I check locked entries in sm12, i found some locked entries which are already past 8 hours and sometimes more. Do those entries contribute to the system's slow performance? When should I delete those entries? I hesitate to delete locked entries and kick users out of the system because they maybe editting some documents and have'nt saved them yet.
    Thank you in advance for your response.

    Hello,
    System Lock mechanism doesn't slow down system. But sometime it's required to delete the entries of hanged uses login processes, which can be done through SM04/AL08 as described by GURUS.
    But sometime though you try to delete from these T-Code the process doesn't get delted, then you can proceed for the below mnetioned two steps:
    1. SM50 and delete the corresponding process through PROCESS > CANCEL WITHOUT CORE
                                                                                    PROCESS > RESTART AFTER ERROR -> NO
    2. If you have access to OS level, then the same can be deleted by following command:
                                                                                    kill -9 <process no.>
    In case any issue, please feel free to revert.
    Reagrds,
    Nilutpal

  • 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

  • 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

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

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • How do I change the color of a button in swing?

    I'm using swing to create an interface and it's made up mainly of buttons. Gray isn't exactly the prettiest of colors and I'd love if I could change the color. Cheers, elmicko

  • DVD Menu/motion background issue

    Every time I try to add a motion background to my DVD menu, the photoshop menu gets stretched horizontally. It looks fine when you add the video but when you preview and render it or burn it to DVD it stretches the menu. see screen shot. 

  • Using RTTI in table type any

    Hello, i have table type any and i want to know in the loop for every field which type he have ,for instance for field type Date8. what i the best way to do so , i guess that I need to use for instance cl_abap_elemdescr=>get_data_type_kind( <lv_field

  • Output to wmv

    I cannot find a choice for output to windows media player 9 (or any other wmv( is there a location to download this? Website I am posting to will not accept any of the qt files compressor creates.

  • Hiding a menu off screen et al.

    I want to have a full screen(browser) movie, that is able to load 5 or 6 other movies into it. I need a menu, that is not visible, but when called, 'slides' onto the screen from the left or right, and when closed, slides back off the screen. I just h