Locks list for a user session

Hello,
Is there a function module or class/method which will give me the list of all locks of a user in the current session and not across all sessions (like transaction SM12). Function modules like ENQUE_READ and ENQUE_READ2 provides the lock list for a user across all sessions but not in the seesion in which the FM is being executed.
Please let me know if you have any information in this regard.
Thanks & Regards,
Saurabh

Hi saurabh,
Dont post duplicate thread . Its against the rule of engagement.
Locks list for a user session
If you have got the answer in the previous thraed then close this thread.
Regards,
Sujit

Similar Messages

  • FindGroups - Error while getting group list for login user

    Hi All,
    I am using below code snippet to search a group in OIM but it gives me "Error while getting group list for login user" error message.
    tcResultSet rsetAss = null;
    tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
    HashMap mapGrp = new HashMap();
    mapGrp.put("Groups.Group Name","DEF_GROUP");
    rsetAss = groupIntf.findGroups(mapGrp);     
    And i am ruuning this code using xelsysadm logon.
    com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);     
    Any guess?
    Thanks & Regards
    Inbaa.

    Here it is Rajiv,
    public class GetUserApprover {
    private String defGroup = "DEF_GROUP";
    public tcUtilityFactory getUtilFactory()
    tcUtilityFactory utilFactory = null;
    try
         logger.debug("Initializing the utilFactory");
         com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    catch(Exception ex)
         logger.info("Error while getting the utilFactory" + ex.getMessage());
         System.out.println(ex.getMessage());
    return utilFactory;
    public String getGroupKey(String defGroup){
              String groupKey = null;
              tcUtilityFactory utilFactory = getUtilFactory();
              if(utilFactory != null)
         System.out.println("utilFactory not null. Searching for group:" +defGroup );
                   try
              tcResultSet rsetAss = null;
              tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
              HashMap mapGrp = new HashMap();
              mapGrp.put("Groups.Group Name","DEF_OWNER_GROUP");
              System.out.println("Finding Group....");
              rsetAss = groupIntf.findGroups(mapGrp);          
              System.out.println("RowCount-->" +rsetAss.getRowCount() );
              rsetAss.goToRow(0);
              groupKey = rsetAss.getStringValue("Groups.Key");
         System.out.println("GroupKey-->" + groupKey);
         catch(Exception e){
              System.out.println("Error" + e.getMessage());
              return (java.lang.Object)groupKey;
    }

  • E52 bug list for advanced users

    I wanted to start the compilation of a bug list for advanced users. Here is my first suggestion:
    1. SMS Functionality: 
    When trying to send SMS to a distribution list, the phone interface will ask you to choose between number and email addresses, even though the phone does understand that this is a SMS and not an email ("Text Message" appering on top)
    This happens even when the contact has one phone number only (and an email address) in the phonebook
    This does not happen when you use PC Suite to do the same task
    2. Mail for Exchange client:
    I will not go through the many -most already reported- bugs and general instability of the client. However, I will mention two that I have not seen reported anywhere so far:
    When forwarding emails, only the header (From/To/Date/Subject) is forwarded. The rest of the text, as well as possible atachments are not forwarded. This is happening -to my epxerience- every time you try to forward an email
    The client doesn't provide information (like the previous, installable client for devices such as E51, E71, etc.) as to when was the last time that sync took place, while it also doesn't show a real-time progress like the previous one. These two functionalities were very useful for controlling the Mail for Exchange process and understanding proactively if there was an issue. I consider these a must for any Business user (going through the log files to understand the same thing is obviously utterly impractical)
    The client doesn't synchronise the "Deleted Items" folder from the mail server but only locally (which means it includes emails that were deleted only from the device itself).
    The synchronization of the folders other than "Inbox" should be happening ad-hoc whenever the user is accessing these folders and requesting a sunchronization. Otherwise, we see the phenomenon of extremely lengthy synchronizations
    3.  Screen/Display:
    It would be nice, when using the smallest font, to also accordingly compress the menu choices, in order to be able to fit more on the screen. Otherwise, with the present implementation, the fonts get smaller, but the relevant menu icons are not, resulting in an assymetrical look
    4. Ovi suite:
    As a general comment, I would like to mention that -apart from totally unknown NOKIA policy with regards to Ovi vis-a-vis PC Suite- it is not appropriate for Ovi to contain less functionality than PC Suite (I am referring to SMS presentation, etc.). In general, I find Ovi much clunkier and more clumsy than PC Suite which has actually evolved well over the years as the absolute PC phone tool (and still a differentiator for Nokia). So, NOKIA, please do not screw up PC Suite for something that may be "hype" accoridng to you, but is used as a tool by many of your customers.
    5. Log:
    As in previous phones/firmware versions, when setting the Log to 30 days, only 7 or ten days are actually retained. Maybe related to phone memory, but in any case it is a nuissance
    6. SMS/VMs/Missed calls notifications:
    This is not a bug, but at least personally, I preffered the way the SMS/VMs/Missed calls notifications were displayed in the previous devices (E51, etc.), just below the active stand-by applications "ribbon", instead of at the bottom of the screen. The new implementation makes it harder to access these items than before (at least for me)
    I appeal to NOKIA to consider and fix these issues in the next firmware release(s).
    Timos Tsokanis

    @Timos , great compilation. I hope Nokia will work to resolve these quickly.
    I have been using phone since last 2-3 days and find few things in Email client really annoying.
    Also I want to understand few settings in Email client (version 2.1.0). They have made settings too complicated.
    1)Any folder except Inbox doesn't show unread email count in brackets next to folder names.
    i.e. If i delete or move 2 emails which I have not read to any folder(Deleted etc) , then deleted folder should be like Deleted(2). But right now it doesnt show anything. Strange.
    I have checked with E72 and this bug is not there.
    2) I have Gmail, Hotmail and Ovi mail as part of Nokia Messaging. But only Gmail and Hotmail actually show up when I open Messaging. All 3 show up if I open Email.
    3)What does "Download Notification" under Global settings do? Notification icon control?
    4) Why my Name field in Mailbox setting is picked from account at email.nokia.com, also even though secure connection is Yes under server settings in email.nokia.com, for same email its No in email client.
    5) Why I am not allowed to change settings in "What to sync" , e.g. Hide email older than
    6) what do settings "synchronise new updates" , "timed sync" do? No explaining in help.
    7) Setting ->Gmail(or any other)->Account settings->Account Info, why number is blank? Also please make this work with destinations support. Also connectivity setting should be in global settings.
    Best Regards,
    Suyog

  • Individuall shopping lists for each User - SRM-MDM 3.0

    Hello everybody,
    I want to implement a SAP SRM-MDM scenario with SRM-MDM 3.0. The SRM-MDM 3.0 has the poissiblity to create shopping carts for every 'MDM User'. But that's not enough for our users.
    Is it possible to create different shopping lists for each user?
    I already use the setting: sl_user with the attribute SY-UNAME but it doesn't work
    10                                    http://...:50100/SRM-MDM/SRM_MDM     URL
    19     sl_user          SY-UNAME               SAP-Feld
    20     username          User1               Festwert
    30     password          <blank>                                        Festwert
    40     server          s27sr7               Festwert
    50     catalog          SR7_MDM3_Catalog_4_Produktiv_2     Festwert
    60     uilanguage          SY-LANGU               SAP-Feld
    70     datalanguage     SY-LANGU               SAP-Feld
    I hope anybody can help me.
    Regards,
    Andi

    @everybody: Thanks for your fast reply!
    @Girish: Yes, I think we have the same problem
    @Padhi: It is not a prictically solution to create every SAP SRM User (3.000) in the SAP SRM-MDM Catalog. In comparison to other catalog systems (e.g. heiler) this have to be a standard feature
    @Kanth: That's correct, you can activate the shopping list option for the MDM User. But the MDM User only defines the rights and masks. For the MDM it is not necessary to login with your SAP / SAP SRM Username.
    Note [1153525|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1153525] describe the long-needed function in SRM-MDM. But it seems, that this feature only work in SRM-MDM 2.0.
    Maybe anybody know anything else about this problem... I'm thankful about every hint!
    Regards,
    Andreas

  • Do I can create a page who is locked just for selected user?

    Do I can create a page who is locked just for selected user?

    The manner how you put files on the server is unimportant.
    It's the Webserver (usually Apache) itself that does the protecting.
    So either use the control panel where you host your website, or use the method explained on the page I linked to.
    Should look like this (on the left) :
    Your visitor will see this :
    http://home.wyodor.net/protect/
    Use : root/root
    Inside it looks like this :

  • Grant read permission on List for Anonymous user for public facing site in Sharepoint 2013 Online

    I have a public facing SP site ( SP online 2013 with Office 365 ). There are certain app parts added to it which read data from a
    custom list created on that site. By default anonymous users do not have read permissions list. I want users to see the list data without login in . I tried modifying the settings for anonymous users , however I am unable to do it as the "anonymous user"
    permissions cannot be checked by me.
    How do I provide read permissions to anonymous users?
    Thanks in advance

    once you make the web site online anonymous users get the read access to list.
    You can add the list view webpart and show the details to anonymous users. In the below link i have added the announcement list view webpart to a page.
    https://velegandla-public.sharepoint.com/Pages/Page.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to get permission of a sharepoint list for a user using REST api

    Hi there,
    I have a requirement where i need to check the access permission of a user against a List or Library only using REST api from my remote salesforce app. [I already have access token and I am able to view list, add item etc..]
    Say for example, I have to send the list name and user name, and get the result as Read, Write, Contribute(Manage), None. I need to display what permission does that user have for that List.
    How do I achieve this. Please help me.
    Thanks in advance.

    Hi,
    For High and low bits, we can create a new SP.BasePermissions object to use like below:
    function success(data){
    var permissions = new SP.BasePermissions();
    permissions.set(SP.PermissionKind.manageLists);
    var hasPermission = permissions.hasPermissions(data.d.EffectiveBasePermissions.High, data.d.EffectiveBasePermissions.Low);
    Here is a detailed article for your reference:
    http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Can you retrieve a task list for a user without specifying that user's connection settings?

    Hi
    I would like to know if it is possible to obtain a list of workspace tasks for a user of my choice. In the following code, taken from the relevant quickstart, I am able to retrieve a list of tasks for "administrator" because it is the "administrator" settings specified in the connection properties when obtaining an instance of ServiceClientFactory. If I wanted to obtain a list of tasks for user "greg", for example, is there a way I can do this without having to specify the settings for "greg" in the connection properties? I tried to invoke the setUserId() method of the TaskFilter interface but no tasks are returned for user "greg" in that scenario. The aforesaid user has 3 tasks assigned to him. If I specify the user name and password for "greg" in connection settings, I am able to retrieve his list of tasks successfully. However, this is undesirable because I want to be able to retrieve a list of tasks for any user of my choice, by passing a parameter. Is that possible? Code follows:
    //Start of code
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
    import com.adobe.idp.taskmanager.dsc.client.TaskManagerClientFactory;
    import com.adobe.idp.taskmanager.dsc.client.TaskManagerQueryService;
    import com.adobe.idp.taskmanager.dsc.client.query.StatusFilter;
    import com.adobe.idp.taskmanager.dsc.client.query.TaskFilter;
    import com.adobe.idp.taskmanager.dsc.client.query.TaskRow;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Properties;
    public class RetrieveTaskInfo {
        public static void main(String[] args) {
            try {
                //Set connection properties required to invoke LiveCycle                                                                                                                        
                Properties connectionProps = new Properties();
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);          
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
                //Create a ServiceClientFactory object
                ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
                //Create a TaskManagerQueryService object    
                TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(myFactory);
                //Define search criteria by performing a search on 
                //Assigned tasks (tasks assigned to the user specified
                //in connection properties) 
                TaskFilter filter = queryManager.newTaskFilter();
                StatusFilter sf = filter.newStatusFilter(); 
                sf.addStatus(StatusFilter.assigned); 
                filter.setStatusFiltering(sf);
                //Perform the search
                List result = queryManager.taskList(filter); 
                //Create an Iterator object and iterate through
                //the List object
                Iterator iter = result.iterator();
                while (iter.hasNext()) {
                    TaskRow myTask = (TaskRow)iter.next();
                    //Get the task identifier value
                    long taskId = myTask.getTaskId();
                    //Get the status of the task
                    long taskStatus = myTask.getTaskStatus();
                    //Get the name of process on which this task is based
                    String processName = myTask.getProcessName();
                    //Get the task description
                    String taskDes = myTask.getDescription();
                    System.out.println("The task identifier is " + taskId + "\n" +
                            "The status of the task is " + taskStatus + "\n" +
                            "The name of the process on which the task is based is " + processName + "\n" +
                            "The task description is " + taskDes);
            } catch(Exception e) {
                e.printStackTrace();
    //End of code
    Thanks
    Darren

    Paul,
    Thanks very much, I never tried just asking for the parameter I was looking at the entire list coming back from a query with no filters. Using the DBMS_LDAP package you can in fact get their GUID.
    I understand your concern for the use of the field and for other reasons have moved to a different identifier to tie OID accounts to our internal application user accounts.
    Thanks very much, I'm still glad to know how to do get at the info.

  • Mac user locks files for Windows users on NFS shares

    Hi Everyone,
    We run a mostly Windows environment here at my school and have two AD servers which also do our file shares for AD users. Every user has a network drive mapped to L on Windows, and this is mounted on the dock of our Mac users (all Macs are bound to the AD for auth and the OD for management). We also have shared folders for different groups of people, such as admissions or art (where the issue is). Most of these divisions are only Windows, so file sharing isn't and issue - but this is not the case in our Art department.
    We have a shared folder (T on Windows) setup for users of the Art department with mostly Office docs in it. Windows users can write to the share just fine, just as the Mac users can. The issue comes up once a Mac user edits and saves the file (all to the share) - Windows users are now locked out of the file because the permissions are reset. What can we do to fix this issue? It's obnoxious having to go and reset the permissions after every edit from a Mac user.
    Thanks,
    -MRCUR

    We also have that same problem. We don't actually solved the issue but we what we do did is just unlock the files once and even they are edited or opened in windows or mac, it does not lock the file. We use windows pc and connect to the drives and just simply right clicking the file then properties a button will show in the properties window saying "unlock". After we did that, those files was never locked out again.

  • Fetching accessible record type list for any user

    How to get list of standard record types being accessible for any user role?
    One solution - We know the entire list of standard record types, so we can keep trying to access each record type and if we get access violation exception, then skip that record type. This solution is NOT a good idea as it will be poor in performance and may become insufficient in future version of OCOD (which may have more standard record type than the count present today).
    Is there any direct API available? or any generic solution?

    Hello,
    this is the forum for the tool {forum:id=260}. Please mark this question as answered, so others know that they can ignore it.
    Then post again in {forum:id=75}
    Regards
    Marcus

  • Job list for particular user entered in Job Step

    Hello Gurus,
    please, how can I found out which jobs run under particular user's authority?
    I don't need the job list for user which I can enter on input screen in SM37 into field "User". I need the list of jobs, in which particular user is entered in jobs' step. During the setting up of the job in SM36 there can be entered different user, under whose authority the job runs, and this user can be different from author of the job visible in SM37. I need the list of jobs where particular user was entered in jobs' step in SM36.
    Thank you very much,
    Ondrej

    Hello Jens,
    great, thank you a lot for your solution.
    Ondrej
    Edited by: Ondrej Hladek on Dec 9, 2008 10:24 AM

  • How to hide list for particular users in SharePoint 2010

    Hello Experts,
    How to hide/Show Custom list to a particular user or group in SharePoint 2010
    Thanks in advance.
    Thanks & Regards, Abasaheb Dubal.

    All the lists in SharePoint inherits permission from its site. To hide a list from a user or a group what you can do is break permission inheritance at the particular list level.
    1) Go to List and then click List Settings from the Ribbon.
    2) Under permissions and management click Permissions for this list
    3) Click Stop Inheriting Permission from the Ribbon
    4) Remove User or Group that you do not want to share that list with.
    Amit

  • Lock Transaction for Specifi Users

    Dear All,
    Good Day,
    We are planning to lock the transaction for specific user who doesnot use the transaction more than 3 months.
    Please suggest me what will be the procedure.
    Thanks in advance,.
    Best Regards,
    Suresh Kumar K

    Hi Suresh,
    Your idea of restricting users in using t-code is good practice. But as of now there is nothing like you can restrict user by locking t-code only for tht user/users alone.
    1. You can lock the T-code but this will affect entire system.
    2, You can remove t-code from the role, but this affect other user and if you wanted to make another role for only this user it will start getting to be tedious job, since you have to delete some roles create some other and alos user may use some t-code once every quarter for some of quarter end results and you have to seperate these t-code from others which was not possible, this will not workout so easily.
    The only option could be probably if user doesnot login for more than 3months just lock him.
    Regards...

  • Need to download Global address List for Kiosk user while configuring Outlook using POP3 setting

    Hi,
    We have configured Kiosk User in Outlook using POP3 setting but we are not able to see the GAL in the Outlook Client.
    Kindly whether there is options to download the GAL using LDAP query in Exchange Online.
    An answer would be of great help.
    Regards,
    Manoj Issac

    Hi Manoj,
    POP3 was designed to support offline mail processing. With POP3 protocol in Exchange, client user can send and receive message from Exchange server. But POP3 doesn't offer advanced collaboration features such as calendaring, contacts, Address
    Book(GAL) and tasks.
    Therefore, the POP3 client can’t access address book. It is recommended to use MAPI protocol to connect to the Exchange server. For external user, the users can also use Outlook Anywhere or OWA to access the mailbox with better Exchange features
    experience.
    Regards,
    Winnie Liang
    TechNet Community Support

  • How to get failed tasks list for a user in OIM.

    Hi All,
    Can anybody please suggest me a way to get list of task that got failed(when a user trying to provision to a resource) in OIM using java code.
    Thanks in Advance.
    SP.

    Use the code snippet below to get the task status. Based on this you can filter rejected tasks.
    userintf = (tcUserOperationsIntf) ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    provintf = (tcProvisioningOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcProvisioningOperationsIntf");
    long userKey=100;
    tcResultSet userresultSet = userintf.getObjects(userKey);
    for(int i=0;i<userresultSet.getRowCount();i++)
         userresultSet.goToRow(i);
         long processKey = userresultSet.getLongValue("Process Instance.Key");
         tcResultSet provresultSet = provintf.getProcessDetail(processKey);
         for(int j=0; i<provresultSet.getRowCount();j++)
              provresultSet.goToRow(j);
              String taskName = provresultSet.getStringValue("Process Definition.Tasks.Task Name");
              String taskStatus = provresultSet.getStringValue("Process Instance.Task Details.Status");
    Let me know if you have any queries...

Maybe you are looking for

  • Changing Exchange Rate for MIGO using BADI

    Hi all, While processing <b>IMPORTS GR</b>..... How can I change the Exchange Rate by using <b>BADI</b> Regards Rajkumar

  • Create a between filter using months names ...

    Hi, I need to create a dashboard filter using month names in a between statement for examples: From: January - To August the problem is when I do this the Obiee server made a filter by alphabetic order, so for the example the result will be nothing (

  • SAP notes using SNOTE

    Hi, I have applied one SAP note in my development system using tcode SNOTE. While applying the note, system also installed all the prerequisite notes. But while activating the objects, it gives error as for some objects that "Access key" is required

  • I cannot down load the latest version of itunes to my Ipad 2

    I cannot sync my ipad with my PC it asks me to update to Itunes 10.5 on the ipad but it will not install and states that Safari cannot carry out this function Can anyone help ??????

  • Skin file not loading

    Hello, I've just started learning and developing with ADF and WCP, and something came up. I have my skin file and my page template. While I was developing my page template, everything was fine, but when I finished, the css file stopped loading... I h