FM to know user name of locked table

Hi all,
I have created a lock object for a Z table.I want to know a FM which should give me locked by user name.
Thanks & Regards,
Rock.

PASS  CLIENT, GUNAME = YOUR OBJECT NAME( EX:TABLE NAME).
THE TABLE WILL CONTAIN USER NAME
CALL FUNCTION 'ENQUEUE_REPORT'
       EXPORTING
            GCLIENT = GCLIENT
            GUNAME  = GUNAME
            GNAME   = GNAME
            GTARG   = GTARG
       IMPORTING
            SUBRC   = ENQ-RC
       TABLES
            ENQ     = ENQL.

Similar Messages

  • I want to get all the user name form LOGIN table ... how help me ?

    hi all
    I have table in MS Access databse called Login with two coulmn (User, Password),
    I want to get all the User Name in a string[] called USER,
    (LIKE USER = {"AA","BB","CC",........"zz"};)
    can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
    so plz someone send me a code.
    Thanx
    Regards
    Satinder

    I made something like this as He pasted the the code above and u know this works for me atleast thanx
    kind regards
    satinderjit
    String User[] = new String[1000];
    try
    //Load Driver
    Class.forName(driver);
    // Make Connection
    connection=DriverManager.getConnection(url,user,password);
    // Create Statement
    statement = connection.createStatement();
    sql = "SELECT User FROM Login" ;
    // Create Resultset
    rs = statement.executeQuery(sql);
    int j=0;
    while(rs.next())
    User[j]= rs.getString("User");
    j=j+1;
    for(int i=0 ;i<J;i++)
    Form.C_Manager.addItem(User);
    statement.close();
    //rs.close();
    connection.close();
    catch(ClassNotFoundException cnfex) {
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Failed to load driver..."+
    "\n"+cnfex.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);
    catch(SQLException sqlex){
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Unable to connect to Database..."+
    "\n"+sqlex.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);
    catch(ArrayIndexOutOfBoundsException e){
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Unable to Load User Name..."+
    "\n"+e.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);

  • Email Help (Don't Know User Name)

    Hey Guys,
    When I purchased my Tour (9630) phone, the good people @ Futureshop helped me setup my "Gmail" email on it. It worked great until recently when I had to change my "Gmail" Password, and now I no longer receive "Gmail" emails on my phone.
    I searched and found out how to update the password on my phone, but it is asking for a User Name & Password. For the life of me I can't think of what the User Name is. I tried a couple different user names and tried the "Forgot Password" link but never got any response. Is there any other way to find out what your user name might be? I tried setting up a new user name but it says there is already one registered to my pin.
    I searched for a similar post on the forums, but didn't find anything.
    Thanks to anyone who responds,
    Sean M

    The BIS credentials do not always exist. The BIS account is what stores all of your email credentials so that BIS can check your email servers and then push to your BB what is needed. The BIS accounts are managed by the carriers -- not by RIM directly. Some carriers always create BIS credentials...others do not. Technically, the BIS credentials are not needed if you only access the Email Setup via the device -- since you are accessing from the device, it knows who you are. But, the carriers also host web-based access to their BIS, at which time BIS credentials must be created so as to enable their BIS system to identify you and show you your BIS information. Once credentials are created, they are thereafter required on the device as well...but it has a "remember me" check box so you only have to enter those credentials on the BB once.
    Hope that helps!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Do not remember my user name on locked screen

    Hi
    Cannot remember my user name on macbook Pro 17" ( first generation) but i remember my password.
    It all happened when i shut down my mac  !!
    tried my apple ID , didnt work, tried  several mutation of my name ..still no luck
    how  can I log in please?
    thanks

    Power on or restart your Mac.
    At the chime (or grey screen), hold down ⌘ and S on your keyboard (two fingers) to enter single-user mode.
    Type mount -uw / and press Enter.
    Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist and press Enter.
    Type ls /Users and press Enter. This lists all of the usernames on the computer. Look for yours and write it down.
    Type reboot and press Enter.
    Log in with that user name and the password you recall.

  • Want To Know The Name OF Company Table

    In Administration -> Choose Company, It gives me the list of all Company Name,Database Name,Version etc .
    I Want to know the Table Name which has all information about company name and all.
    Regards

    The db version is stored in table CINF (Version). Others information gave you members already. If you want have list of all dbs on the server like in login screen, you should use select from information schemas as
    select * from information_schema.tables where table_name = 'CINF'
    and youll receive all databases, where the CINF table is, then create tmp table (dbname, company, version fields) and in cursor go through all results from select * from information_schema.tables where table_name = 'CINF'
    make insert into this tmp table. At the end make select from this tmp table.

  • Name of the table with all installed add-ons

    Hi, I think my question may sounds weird, but I would like to know if someone know the  name of the table which contains all installed add-ons on a computer (I would like to know the datasource of the window 'Add-ons administration').
    Thanks in advance, François

    Hi there,
    I think the table structure goes as follows:
    Company DB:
    - OARI (addons assigned to that company).
    - ARI1 (users assigned to company addons).
    Sbo-Common DB:
    - SARI (list of registered addons).
    That might not be exact but I'm sure you could get it clarified by SAP if you need..
    Hope this helps.
    Regards,
    Andrew.

  • One account and two user names??? HOW??

    Hi,
    First of all, I own 5 Macs in my company, from iMac 24" to Macmini, the entire line. Use Macs since Classic model, so I'm not totally dumb... or may be I am
    It started with a problem syncing iCal and Contacts. The database files became corrupted. Checked the logs and it seemed an permissions problem. try to fixed but the problem returned.
    Of course I deleted iCal and contact files at Library, create new one and imported from backup - the same problem happened.
    Then I started to dig the problema and when I looked at my keychains I found that I have two user names "sharing" the same user account...how?? one is marcio and other is Marcio Esteves.
    I can't find any reference to this second user name apart from keychain. Tryied to delete the keychain and create a new one but the same... When trying to fix the keychain it show me this:
    Verification started
    Checking keychain configuration for marcio (user ID=502)
    Home directory is /Users/marcio
    Checked login keychain
    Checked default keychain
    Checked contents of ~/Library/Keychains/login.keychain
    No problems found
    Verification completed
    Verification started
    Checking keychain configuration for Marcio Esteves (user ID=502)
    Home directory is /Users/marcio
    Checked login keychain
    Checked default keychain
    Checked contents of ~/Library/Keychains/login.keychain
    No problems found
    Verification completed
    Of course I can format the HD and re-install from the scratch but I'm curious because, as far as I know, user names and accounts can not be duplicated.
    The only thing that occurs to me is when I bought this machine - MB pro 2.4 - I imported the account from my previous MB pro AFTER change user name from "marcio" to "Marcio Esteves", keeping the same home directory name as "marcio" (as still today).
    So, how can I fix it without formatting and installing everything again??

    Every account on a Mac has two names. These names are called different things depending on the version of the OS and whether you are looking at the System Preferences|Accounts panel or the Workgroup Manager on a server. The "Name" or "Full Name" and the "Short Name" or "Account Name". The short name is the typical unix username. and the full name is just that, your full name. The Mac allows you to use either of these in any of the GUI dialog boxes that ask for your user name and password. At the command line I think you can only use your short name. I see that in OS X 10.6, once you create an account, you cannot see the short name in the System Preferences|Accounts panel any longer.
    At a command line (in the Terminal application for example) you can type id or whoami to see your short name.
    I think it is probably normal for entries in your keychain to refer to both or either of these names.
    As for creating new accounts and copying files I think you should be able to do most of that when logged in as an admin user (which you don't normally do, right?).
    Does that help?

  • Obtaining the name of a table from it's data

    Hello,
    i have a strange need ... i would like to obtain the name of a table from it 's data !!!!
    Thank's in advance.

    ALTER TABLE t
    ADD (table_name VARCHAR2(30));
    then
    SELECT table_name FROM T;Though, as Martin said, I don't know how you get the data if you don't know the name of the table.

  • Find out the name of a table

    Hi Gurus,
    I would like to know the name of the table which is filled with the WPUBON Idoc types.
    The only sales data available to extract to BW is the data generated by the transaction WPUK, but the extractor MC43RK0CAS doesn't get any sales data to 2LIS_43_POSCAS.
    Best Regards,
    Patrício Silva

    Hi Cereal Cerial
    How are you. Hope everything is fine.
    I am also working on 2lis_43_poscas, 2lis_44_posrec data sources.
    I transfer these two datasources and activate thru LBWE still no success.
    I didnt find where we should generate setup tables for these data sources.
    Always 0 data records showing in RSA3.
    If u get any solutions for this, plz let me know.
    Kindly advise me on the procedure. And if you have a document about it it will be greatly appreciated.
    Advanced Thanks
    Chandra

  • Retrieving User name using SAP id

    Hi Experts,
        I want to retrieve my name using my SAP user id. Can anyone say in which table I can find.
    I searched usr01,02,...06 table where I didn't get my user name. But in all session, in title bar I am getting my name. From where it may be taken.
    Thanks and regards,
    Venkat

    Use USR21 and ADR6 tables.
    you can check the same here.
    [Retrieving User name and id|Table for Username & Email address]

  • I am locked out of my phone. Asking for a google user name and password?  I don't know what it is!

    I am locked out of my phone. Asking for a google user name and password?  I don't know what it is!

    http://techobar.blogspot.com/2012/11/unlocking-lock-pattern-after-too-many.html
    Or this site.
    http://about-google-android.blogspot.com/2013/04/how-to-unlock-android-phone-when-forgot.html

  • I dont know apple ipod touch id-user name and password, how do i create or purchase

    i dont know apple ipod touch id-user name and password, how do i create or purchase
                                             this is arockiarajfrompondicherry.

    What do you mean 'don't know apple iPod touch id-useer name and password, how do I create or purchase' ? What are you seeing on your iPod's screen, and what are you trying to do ?
    If your iPod is on the activation screen then you will need to type in the account id and password of the account that it's locked to : http://support.apple.com/kb/PH13695
    If you want to create a new iTunes account : iTunes: How to set up an Apple ID within iTunes.
    Or to create an account without giving credit card details : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method.

  • Same select (user, name, profile, role, table_name, privilege table)

    hello Everyone
    1.- i don't know how to merge the two qys to see in the same select (user, name, profile, role, table_name, privilege table)
    Im using the tables usuarios and view dba_users : See next qry
    SELECT Nvl(US.IDUSUARIO,DU.USERNAME) USUARIO,
    US.DESCRIPCION NAME,
    ACCOUNT_STATUS STATUS,
    DU.PROFILE,
    CREATED FECHA_CREACION
    FROM USUARIOS US,
    SYS.DBA_USERS DU
    WHERE DU.USERNAME = US.IDUSUARIO(+)
    UNION
    SELECT Nvl(US.IDUSUARIO,DU.USERNAME) USUARIO,
    US.DESCRIPCION NAME,
    ACCOUNT_STATUS STATUS,
    DU.PROFILE,
    CREATED FECHA_CREACION
    FROM USUARIOS US,
    SYS.DBA_USERS DU
    WHERE DU.USERNAME = UPPER(US.IDUSUARIO)
    ORDER BY NAME;
    this extract me, USER, REAL NAME, STATUS, PROFILE, CREATION_DATE
    JP01 Johan Pena OPEN DEFAULT 05-07-2010
    on the other hand:
    select * from role_tab_privs
    this extract me, ROLE, TABLE_NAME and PRIVILEGE
    DBA TABLE1 SELECT
    DBA TABLE1 INSERT
    DBA TABLE2 DELETE
    1.- i don't know how to merge the two qys to see in the same select (user, name, profile, role, table_name, privilege table)
    2.-i want something like this.
    USER, REAL NAME, STATUS, PROFILE, CREATION_DATE ROLE, TABLE_NAME PRIVILEGE
    JP01 Johan Pena OPEN DEFAULT 05-07-2010 DBA TABLE1 SELECT
    JP01 Johan Pena OPEN DEFAULT 05-07-2010 DBA TABLE1 DELETE
    Ect Ect. Ect.
    who can HELP ME.

    I have part understood your requirement and assumed the rest! Hence, I have used dba_role_privs in addition to the list of tables you used.
    Also, I think your LEFT OUTER JOIN on sys.dba_users is incorrect. I think you are trying to get all users from USUARIOS table for which roles / privileges exist in the database. If that is what you want the following query should help out. If not change the LEFT keyword in the MAIN query (NOT the one in WITH clause) to RIGHT but the results might be unpredictable.
    Note: Using ANSI standard keywords for JOIN allows you to use functions in the JOIN clause (such as UPPER(column name), which the Oracle propreitary notation does not allow and hence made you opt for the UNION option).
    WITH OS AS
            SELECT
                 DU.USERNAME
                ,DU.ACCOUNT_STATUS
                ,DU.PROFILE
                ,DU.CREATED
                ,DRP.GRANTED_ROLE
                ,RTP.TABLE_NAME
                ,RTP.PRIVILEGE
            FROM
                sys.dba_role_privs drp
            LEFT OUTER JOIN
                role_tab_privs     rtp
            ON
                ( drp.granted_role    = rtp.role    )
            LEFT OUTER JOIN
                sys.dba_users      du
            ON   
                ( du.username         = drp.grantee )
    SELECT
         NVL (US.IDUSUARIO, OS.USERNAME)    USUARIO
        ,US.DESCRIPCION                     NAME
        ,OS.ACCOUNT_STATUS                  STATUS
        ,OS.PROFILE                         PROFILE
        ,OS.CREATED                         FECHA_CREACION
        ,OS.GRANTED_ROLE                    ROLE
        ,OS.TABLE_NAME                      TABLE_NAME
        ,OS.PRIVILEGE                       PRIVILEGE
    FROM
        USUARIOS US
    LEFT OUTER JOIN
        OS -- temporary result set created using WITH clause above
    ON
        UPPER (US.USERNAME) = OS.USERNAME
    ORDER BY 2 ;Edited by: VishnuR on Jul 5, 2010 8:44 PM
    Edited by: VishnuR on Jul 5, 2010 8:47 PM

  • Link between User Name in user table and Personla number in HR

    Hi
    Could any one let me know the link between the User Name field in User table and Personal number in HR table. Pls let me know the table name which shows the relation between these two fields.
    Regards,
    Ram

    HI Ram
      The table which contains this data is PA0105. The value of field USRTY should be '0001'. For example if u want to get the UNAME related to an employee.
    SELECT usrid
      FROM pa0105
    WHERE pernr EQ p_pernr
          AND usrty EQ '0001'.
    Please award points if u found this helpful

  • I want to get all the User Name in a string[ ], but How..... don't know

    hi all
    I have table in MS Access databse called Login with two coulmn (User, Password),
    I want to get all the User Name in a string[] called USER,
    (LIKE USER = {"AA","BB","CC",........"zz"};)
    can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
    so plz someone send me a code.
    Thanx
    Regards
    Satinder

    Well, the biggest problem is that you don't know (probably) a head of time how many names are in the table.
    So i'd first stuff them into a managed array such as ArrayList
    So you'd
    (1) Iterate over the resultset
    (1.1) for each row call getString() on the user field
    (1.1) call add on the ArrayList to add the string
    (2) Call toArray on the ArrayList to convert it to a plain array
    (NOTE: you will have to pass a String[] {""} arg as a parm to
    toArray() to get the right type of array.)

Maybe you are looking for

  • ITunes and iPhoto no longer sharing

    We just replaced one Linksys 4-port router for another one almost identical. I did no configuration to the router, just plugged it in, reset it a few times, and it worked. I connect to my ISP via DHCP, so no settings required. Now, none of our iTunes

  • OS 10.9.4 running slowly and choppy

    Hi, My MacBook Pro is running badly, and I suspect it is a problem with OS 10.9.4, since many others seem to have posted these problems. The problem is this: Every 3 minutes or so, my mac will "freeze" for anything from 5-10 seconds, or more. The bea

  • Different calendars for route stages? Is it possible?

    HI, Is it possible to set up 2 different calendars for this same route? I made a route with 2 different route stages. Each of stages have different calendars. Unfortunatelly system is not checking those calendars..... System always take route calenda

  • Is it possible to control IP devices from within Muse?

    I want to create a simple iPad app for my own use that will send IP commands wirelessly to devices on a LAN like video projectors. So simply explained these devices have a unique IP port and IP addresses that will accept ASCII strings to call inbuilt

  • How I attatch a Datafile with higher SCN in to a Lower SCN Database

    I have Five Datafile. I am working in Oracle 8 Database. One of my datafile Scn is Higher than the other four datafiles. Because that higher SCN Datafile contain the actual Data. I have no backup of that one. Once the database crash then I copy all t