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]

Similar Messages

  • How to retrieve user name from a given Subject?

    I am in a situation where I need to retrieve user name from the Subject that is populated when user logs in. I have the active Subject and I do following to get the principals in the subject and iterate through them:
    Set principals = subject.getPrincipals();
    Iterator ite = principals.iterator();
    while (ite.hasNext()) {
    Principal prin = (Principal)ite.next();
    String name = prin.getName();
    But this contains all the principals, including user name, roles, password, etc. How do I programmatically determine which one is user name?

    Don't you have different principal types? I am making a jaas module and I have different principals for roles, groups etc. I think of principals as attributes, the type in the attribute name and the principal name is the attribute value.
    To get all the principals of the type SomePrincipal, you can use:
    Set principals = subject.getPrincipals(SomePrincipal.class)
    You can also take som principal an test wether it is an instance of som type:
    if (Principal p instanceof SomePrincipal){..}
    An other solution which might be better if you have many different attributes is to store both attribute name and value in the name of the principal.
    If "mark" is a username the principal name will be "username:mark" el.
    Then it will be easy to find the username.

  • Unable to get Windows User Name using Oracle Forms 6i, Jinitiator 1.3.1.17

    Hi,
    Requirement: Get Windows User Name using Oracle Web Forms 6i.
    Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
    Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
    Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
    I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
    Also, please let me know if there is any other workaround for this requirement.
    Thanks & Best Regards,
    Mo

    Hi,
    Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
    Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
    I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
    I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
    Thanks so much for your help.
    Thanks & Best Regards,
    Mo

  • How to check how many users is using SAP B1 system

    Hi, there
    I need know whether there are users are using SAP B1,
    if no user is using then can change Master data, oterwise can not change.
    Who knows the method, thanks for your share.
    Many thanks!
    Lanjun Wang

    Hi Lanjun,
    You question is very confusing. What do you meant by System SAP B1. Is it a R3 System, BW System, CRM System , EP 6.0 System?
    Thanks,
    Praveen

  • To find whether User name has SAP log in ID

    Dear all
            How to check up particular user name has SAP log in ID are not

    Hi,
    Go to transation SU01. Drill down on user. Enter the user name & press enter. Check the user id for selected user name & click on Display. If the user has user id in SAP, then system will show the details, otherwise messgae will appear stating that the user id does not exist.
    Regards,
    Prashant

  • I can't access my itunes account because my aol account is not active, how do i change my user name using gmail?

    I can't access my itunes account because my aol account is not active, how do i change my user name using gmail?
    I need to change my itunes user name to [email protected] instead of [email protected] AOL account is not active anymore.
    Thanks

    Chill out guys. Clare, I suggest that you try this link below. It might be possible taht the email you are using is not what your Apple ID should be:
    How to Recover Your Apple ID
    http://support.apple.com/kb/HE34
    Recovering a forgotten iTunes Store account name
    http://support.apple.com/kb/HT1920

  • How to get the CLIENT OS USER NAME using Apex

    Dear All,
    I know there are many other posts (some of them are very old) discuss about this issue. But unfortunately most of the posts endup with NO PROPER ANSWER. But still I believe that tehre has to be some way to do this. So this is my requirement.
    I am using custom authentication module and I want to get the CLIENT MACHINE OS USER NAME for that. But I do not want to do any authentication against the client user domain.
    How can I get this?
    * There are some other way to get this using VB Scripts. But thats not a real solution for this due to followings
    01. User has to manually allow to run VB scripts. So if user dissable that then we canot get the required info
    02. Its working only with specific browsers(Mainly in IE and also we can get that thing work after installing plugins to Firefox.). So this is also depends with the bvrowser and plugings.
    What I want to do is to get this info using a common way which is not depends with the browser or any thirdparty plugins.
    Thanks,
    Alex

    Its good that you did some searching in the forums before you posted the question.
    Most modern browsers would consider what you require as a security/privacy issue and prevents such information from being transmitted available(easily). IE might let you pull out this using a VB script or activex control. Browser specific addons/extension could work but they need some kind of installation to start with. Java could be a way to do it with all browsers, but the end user still has to grant access before it can do any such thing.
    Lets say you were able to pull out such information from an end user, what would be next, get his mail id from outlook ? , access his browsing history, steal credit card information or read cookies?
    Add to that , what if the end user accesses it using any other OS(linux,macintosh or even a smartphone) ? what about windows vista and windows 7 OS's , are you going to write code to handle all those cases too ?
    Here's a blog posting which explains using NTLM authentication with Apex(it still needs configuration from the end user)
    What I want to do is to get this info using a common way which is not depends with the browser or any thirdparty plugins.I guess if this is the question, then the answer would have to be no. I don't think you will be able to find a method that passes this information from the client side without any modification/configuration at their side

  • If after clearing history, I am still getting filled in suggestions in Firefox 3.6 user names using Mac OS 10.6, how can I eliminate the suggestions for users and searches?

    I made an error when I was filling in a user name. Firefox is continuing to offer this as a suggestion in a drop down menu after using Clear Recent History. I used Clear Recent History, tried restarting Firefox after clearing history, and reinstalled Firefox. I did a search on Google, Firefox and Apple to see if someone else has reported this problem. All gave the same information that I have already tried.
    Firefox 3.6.11
    Mac OSX 10.6

    In my case it seems that Firefox just doesn't "see" (or can't find?) the coupon printer application anymore after the FF update. (and yes, my add-ons are enabled - to answer the tech support people's first question).
    For me, the coupon printer doesn't even show up in my Firefox "Add-Ons" list anymore. Is that what people typically see when they're saying the coupon printer "doesn't work" with FF? The coupon printer was visible on the add-ons list before my FF update, and now it's totally Gone! It seems that Firefox just doesn't "see" (or can't find?) the coupon printer application anymore since the FF update.
    When I'm on the coupons.com site and I click "print coupons", it tells me I haven't installed the application. But it Is installed on my computer, I can see it in my folders, and it works on IE, so it's definitely there.
    BTW - I have uninstalled/reinstalled the coupon printer application. I have tried all the suggestions on the Mozilla help/forum sites, as well as the Coupons.com web site. I have closed and re-started Firefox after the installation. I have also shut down and restarted my pc after installation. I tried installing the application with Firefox open, and tried it again with Firefox closed. I've even cleared out all my cookies/history associated with Coupons.com.
    ... I can't think of anything else to try, except for the "solution" of using IE for coupons.
    If it Really is a problem on the Coupon.com end of things, do you think it's worth it if we bombard the coupons.com support team with messages saying they need to fix the problem? (or just a waste of time?) ;(

  • BAPI-VB, Unable to call method GetDetail of USER Object using SAP.BAPI.1

    Hi,
    I am trying to call SAP Methods using Excel VBA.
    In the below example, I am trying to get the user details.
    I can solve this, if I use SAP.Functions object, but not when I use SAP.BAPI.1 object.
    The Procedure GetUserDetails() works fine, but the 2nd one GetUserDetails2() fails?
    Can you tell what is the difference in calling SAP method with SAP.Functions and SAP.BAPI.1 ?
    Also how can I run the program GetDetails2() using SAP.BAPI.1
    Const CNT_STR_USR As String = "XXXXX"
    Const CNT_STR_PWD As String = "XXXXX"
    Const CNT_STR_APPLN_SRVR As String = "ides47"
    Const CNT_STR_SYSTEM As String = "IDS"
    Const CNT_STR_SYS_NUM As String = "00"
    Const CNT_STR_CLIENT As String = "800"
    Const CNT_STR_LOGON_LANG As String = "EN"
    Const CNT_STR_LOG_FILE As String = "C:sap_vb.txt"
    Const CNT_INT_LOG_LEVEL As Integer = 9
    'Works Fine
    Public Sub GetUserDetails()
    'Using SAP Functions
    Dim obSAPFn As Object
    Dim obFuncUsrDtl As Object
    Dim obFuncRtrn As Object
    Dim obFuncLogDtl As Object
    Dim sRetStatus As String * 1, sErrText As String, sUsrGroup As String * 12
    Dim iRetRowCount As Integer, iLoop As Integer
    Dim bErrFlag As Boolean
    'Set obSAPFn = New SAPFunctions
    Set obSAPFn = CreateObject("SAP.Functions")
    obSAPFn.Connection.ApplicationServer = CNT_STR_APPLN_SRVR
    obSAPFn.Connection.SystemNumber = CNT_STR_SYS_NUM
    obSAPFn.Connection.User = CNT_STR_USR
    obSAPFn.Connection.Password = CNT_STR_PWD
    obSAPFn.Connection.Language = CNT_STR_LOGON_LANG
    obSAPFn.Connection.Client = CNT_STR_CLIENT
    obSAPFn.LogLevel = CNT_INT_LOG_LEVEL
    obSAPFn.LogFileName = CNT_STR_LOG_FILE
    'Check For Connection
    If obSAPFn.Connection.Logon(0, True) = False Then
        MsgBox "R/3 connection failed"
    Exit Sub
    Else
        If obSAPFn.Connection.IsConnected Then
    '    MsgBox "Connected"
        Else
        MsgBox "Not COnnected"
        Exit Sub
        End If
    End If
    'Get User Details.
    Set obFuncUsrDtl = obSAPFn.Add("BAPI_USER_GET_DETAIL")
    obFuncUsrDtl.Exports("USERNAME") = CNT_STR_USR
    obFuncUsrDtl.Call
    Set obFuncRtrn = obFuncUsrDtl.Tables("RETURN")
    iRetRowCount = obFuncRtrn.RowCount
    bErrFlag = False
    For iLoop = 1 To iRetRowCount
        If obFuncRtrn(iLoop, "TYPE") = "E" Then
    '        ErrorUsuario = True
            sErrText = "E" & obFuncRtrn(iLoop, "ID") & obFuncRtrn(iLoop, "NUMBER") & _
                         " " & obFuncRtrn(iLoop, "MESSAGE")
            MsgBox sErrText
            bErrFlag = True
            Exit For
        End If
    Next
    If bErrFlag = False Then
    Set obFuncLogDtl = obFuncUsrDtl.Imports("LOGONDATA")
    sUsrGroup = obFuncLogDtl("CLASS")
    MsgBox sUsrGroup
    End If
    Set obFuncRtrn = Nothing
    Set obFuncLogDtl = Nothing
    Set obFuncUsrDtl = Nothing
    obSAPFn.Connection.LogOff
    Set obSAPFn = Nothing
    End Sub
    ' Does not work
    Public Sub GetUserDetails2()
    'Using BAPI Object
    Dim obSapBAPICtrl As Object 'BAPI control object
    'Dim obSAPConn As Object 'Connection object
    Dim obSAPUSER As Object ' To Get Details of USER Object
    Dim obLogondata As Object, obDefaults As Object, obAddress As Object, obCompany As Object
    Dim obSnc As Object, obParameter As Object, obProfiles As Object, obActivitygroups As Object
    Dim obReturn As Object, obAddComrem As Object, obAddRml As Object, obAddPag As Object
    Dim obAddUri As Object, obAddSsf As Object, obAddPrt As Object, obAddRfc As Object
    Dim obAddX400 As Object, obAddSmtp As Object, obAddTlx As Object, obAddTtx As Object
    Dim obAddTel As Object, obAddFax As Object, obParameter1 As Object
    Dim sRetStatus As String * 1, sTransId As String, sUsrGroup As String
    Dim iRetRowCount As Integer, iLoop As Integer
    Set obSapBAPICtrl = CreateObject("SAP.BAPI.1")
    obSapBAPICtrl.Connection.ApplicationServer = CNT_STR_APPLN_SRVR
    obSapBAPICtrl.Connection.SystemNumber = CNT_STR_SYS_NUM
    obSapBAPICtrl.Connection.User = CNT_STR_USR
    obSapBAPICtrl.Connection.Password = CNT_STR_PWD
    obSapBAPICtrl.Connection.Language = CNT_STR_LOGON_LANG
    obSapBAPICtrl.Connection.Client = CNT_STR_CLIENT
    obSapBAPICtrl.LogLevel = CNT_INT_LOG_LEVEL
    obSapBAPICtrl.LogFileName = CNT_STR_LOG_FILE
    'Don't show the logon details
    'Connect to SAP
    If obSapBAPICtrl.Connection.Logon(0, True) = False Then
        MsgBox "R/3 connection failed"
        Exit Sub
    Else
        If obSapBAPICtrl.Connection.IsConnected Then
    '    MsgBox "Connected"
        Else
        MsgBox "Not COnnected"
        Exit Sub
        End If
    End If
    ‘Could not find a way to pass the User Id?
    ‘ Is this the right way to pass the user Id for this Object?
    Set obSAPUSER = obSapBAPICtrl.GetSAPObject("USER", CNT_STR_USR)
    Set obLogondata = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Logondata")
    Set obDefaults = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Defaults")
    Set obAddress = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Address")
    Set obCompany = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Company")
    Set obSnc = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Snc")
    Set obParameter = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Parameter")
    Set obProfiles = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Profiles")
    Set obActivitygroups = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Activitygroups")
    Set obReturn = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Return")
    Set obAddComrem = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddComrem")
    Set obAddRml = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddRml")
    Set obAddPag = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddPag")
    Set obAddUri = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddUri")
    Set obAddSsf = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddSsf")
    Set obAddPrt = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddPrt")
    Set obAddRfc = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddRfc")
    Set obAddX400 = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddX400")
    Set obAddSmtp = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddSmtp")
    Set obAddTlx = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddTlx")
    Set obAddTtx = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddTtx")
    Set obAddTel = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddTel")
    Set obAddFax = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "AddFax")
    Set obParameter1 = obSapBAPICtrl.DimAs(obSAPUSER, "GetDetail", "Parameter1")
    sTransId = obSapBAPICtrl.CreateTransactionID()
    'obSapBAPICtrl.TransactionId = sTransId
    obSAPUSER.GetDetail Logondata:=obLogondata, Defaults:=obDefaults, Address:=obAddress, _
    Company:=obCompany, Snc:=obSnc, Parameter:=obParameter, Profiles:=obProfiles, _
    Activitygroups:=obActivitygroups, Return:=obReturn, AddComrem:=obAddComrem, _
    AddRml:=obAddRml, AddPag:=obAddPag, AddUri:=obAddUri, AddSsf:=obAddSsf, _
    AddPrt:=obAddPrt, AddRfc:=obAddRfc, AddX400:=obAddX400, AddSmtp:=obAddSmtp, _
    AddTlx:=obAddTlx, AddTtx:=obAddTtx, AddTel:=obAddTel, AddFax:=obAddFax, _
    Parameter1:=obParameter
    iRetRowCount = obReturn.RowCount
    If iRetRowCount > 0 Then
        For iLoop = 0 To iRetRowCount
            sRetStatus = obReturn(iLoop, "TYPE")
            If sRetStatus = "S" Then
            sUsrGroup = obLogondata("CLASS")
            MsgBox sUsrGroup
            End If
        Next
    End If
    Set obSAPUSER = Nothing
    obSapBAPICtrl.Connection.LogOff
    'Set obSAPConn = Nothing
    Set obSapBAPICtrl = Nothing
    End Sub
    Regards,
    Vikas

    The problem was occuring because, the structure Return was not holding any values.
    But the other tables which returned values were getting populated.
    Regards,
    Vikas

  • Retrieve user name inside oracle application

    Hi,
    I have a form which i installed in the oracle application. One of the fields needs to retrieve the name of the user which has logged into
    the application via WHEN-NEW-FORM-INSTANCE.
    :sponsor is my field (i omitted the block because its only one in the form,so it works like this)
    What i tried :
    :sponsor := user; this retrieves the logon name into my database (which is linked with the logon on the forms builder 6i) e.g. APPS
    :sponsor := GET_APPLICATION_PROPERTY('SSO_USRID'); this retrieves nothing
    :sponsor := GET_APPLICATION_PROPERTY('SSO_USRDN'); this retrieves nothing
    :sponsor := GET_APPLICATION_PROPERTY(USERNAME); this retrieves nothing
    :sponsor := GET_APPLICATION_PROPERTY(CONNECT_STRING); this retrieves my oracle application instance name e.g. TEST
    What i need is the actual user that has logged into the oracle application to access the responsibility that holds my form. This happens with
    the classic logon of Oracle Applications 11i (no SSO or anything like that).
    Thx guys!
    Iulian

    If you are in the eBusiness-suite, there is a package FND_USER where you somehow get the current username from. Ask your question in an eBusiness-suite related forum, maybe here OA Framework

  • User name on sap easy access screen

    Hi gurus,
    i m new to sap basis,
    i hav created a user i want to display name of that user on sap easy access screen. pls help
    also tell me name of transaction through which we can view the all created user in a client not only log in(al08)
    rgds
    Awnindra Dutt Tiwary

    > i hav created a user i want to display name of that user on sap easy access screen. pls help
    See the username? Where?
    > also tell me name of transaction through which we can view the all created user in a client not only log
    use SUIM.
    Markus

  • Do I need to install something in server to enable iPad user to use SAP?

    I know that at client side, mobile user just need to have SAP Business One mobile application installed in the iPad. But how about the server side, is it necessary for the Administrator to install something?
    If it is, what is to install & how to obtain it?
    If it is not, how does the iPad able connect to the database? SAP B1 is based on Windows & uses MS SQL Server, while iPad is not based on Windows.
    I would also appreciate if you provide link to useful resources, e.g. detailed documentation, iPad simulator.
    Thank you.
    Edited by: Sandy Robertus on Jun 9, 2011 12:36 PM

    Dear Sandy,
    To use the SAP Business One Mobile App you need to be running SAP Business One version 8.8 PL12 and B1 8.8 Integration Component or higher. SAP Business One version 8.81 is recommended, also to use the latest functions of the App.
    About further documentation - Are you a SAP Partner or Customer? All installation docu comes along with the software indeed.
    [Here |http://service.sap.com/~sapidp/011000358700000483052011E/B1_MobileApp_Guide.pdf]you can find the public Documentation for the App: The SAP Business One Mobile Application for iPhone and iPad
    regards, peter

  • Retrieving file name using web agent

    When uploading to the database using interMedia web agent and an HTML form, is the file name (as well as the file contents) passed to the agent?
    If so, how does one retrieve the file name on the server side?
    Thanks for insight.
    -John

    Hi John,
    OK, you got me thinking, so I just had to look :-) Turns out its not in the documentation as such. Its in the doc changes section at the end of the README. (Because, now I really think about it, I added the code after the docs were last updated).
    Simon

  • Retrieving System Name used in JCO connection ?

    Hi All,
    Do you know how to retrive the System Name paramer value used in JCO connection using Web Dynpro programe. If so can you please sen me how.
    I promise to award points for the correct answer.
    Thank you and Regards
    Maruti CR

    Hi Jennifer,
    Thank you for your reply. I am still trying to get the SAP system name for the model used. I trind to your your code but I am getting some compilation errors.
    Bapi_User_Get_Detail_Input iasmodel  = new Bapi_User_Get_Detail_Input();
    The code I used is
    Bapi_User_Get_Detail_Input iasmodel = (Bapi_User_Get_Detail_Input)WDModelFactory.getModelInstance(Bapi_User_Get_Detail_Input.class);
    IWDJCOClientConnection jcoClientConn = (IWDJCOClientConnection)iasmodel.modelInstance();
    I am getting compile errors..
    The type of model represented by class 'com.ias.Bapi_User_Get_Detail_Input' is not compatible for creation by WDModelFactory
    Can you please suggest?
    Thank you and Regards
    Maruti CR

  • Re: Retrieve user role using Java

    Dear all,
    I have defined a role, says "Operator" in the Sun one Server. I tried to write a Java program to retrieve the role for my web application, but not successful. It only displayed the attribtues shown in Custom Editor such as givenName, cn and etc. But the attribute "nsrole" was shown in Generic Editor which I cannot retrieve in the Java Program.
    How can I retrieve it using Java Program with using standard Java API only?
    Regards,
    Calvin

    That attribute is an operational attribute. You must specify it in the list of attributes to retrieve in your search command.

Maybe you are looking for

  • Steps to upgrade vsom from 6.3 to 7.2

    Hi All. one of our customer needs to upgrade his existing vsom and vsms from 6.3 to 7.2 and he has purchased the below licenses and he dont need any of the existing data. L-CPS-M-OM-SW7 L-CPS-M-MS-SW7 L-CPS-M-SASD-7. as this is the first time I am up

  • Iphone 3gs 4.3.3 internet problems

    After upgrading my iphone software to 4.3.3. my internet has stopped working. The message 'could not activate cellular data network because I am not subscribed to a cellular data service' comes up. How can I fix this?

  • Which is better,websphere or weblogic?

    Our company want to establish a network serving for PC ,wap ,pda and so on using j2ee.but I don��t know which is better Between Websphere application server and Weblogic. Who can tell me in detail?

  • Running CS4 on iMac. Nikon D5100.  Won't recognize .nef files.  Help???

    Currently I have CS4, 11.0.2 with Camera Raw 5.7.0.213 installed.  I've tried to install camera raw version 6.4 - which is what their chart says I need for the D5100, but I get an error message: "Updates could not be applied.  This patch is not appli

  • Talent Group and Support Team

    Hi. To my understanding only Talent Management Specialists (TMS) assigned as members of the support team for each  Talent Group shall be able to maintain the Talent Group. This is an important function we need so that TMS can't delete another TMS Tal