How to get userid from username

Hi All,
How can I get userid from username?
Thanks,
Anup Garg

Hi Anup,
Userids are stored in Infotype PA0105 ( table ) and  field USRID.
PERNR  is the Employee Number.
To know the Employee name check Infotype PA0002 ( table ) and fields
NACHN     Last Name
NACH2     Second Name
VORNA     First Name
CNAME     Complete Name
Best regards,
raam

Similar Messages

  • Problems in getting userid from Appscontext object

    Hi,
    Just a novice on OA ..Need a way to get userid .Currently i initiate an appsContext object using a DBC filepath. and then call getUserID() on the initialized object but I get it as -1 .
    WebAppsContext app = new WebAppsContext("dbc file name along with the path");
    app.getUserID(); // Gets me -1
    As a cross check on the appsContext object app I acquired a jdbc connection from the appscontext object and fired a dummy query , which did worked implying the object app has been initialized.
    Hopin for a quick resolution or an alternate way of doin this,.

    Hi .
    sorry i hadnt made my reqmt clear ...
    the thing is i m hitting a servlet from OA. And in this servlet i need to fetch userid so that i can query on fnd_users for getting the logged in user description , letz say i get user desc as abc ..so as to display welcome abc on top of the my custom page.
    as itz a normal servlet ..i dont have pagecontext object ..just the usual servlet stuff like httpRequest . So how to get userid / user desc in this case...
    any alternate way .. does an OA exception trace has userid info that can be extracted....
    just a quest ..does AppsContext.getUserID() return -1 if itz initialized thru DBC filepath ?
    Regards,
    Ashley.

  • How to get userId and ResponsibilityId of EBS Application

    Hi all,
    We are using oracle.apps.fnd package to get the userId and ResponsibilityId of EBS Application. By using this api we are getting -1 for both userId and resposibilityId, but want the corrrect values for these two Ids.
    Can anyone please tell us how to get userId and ResponsibilityId of EBS Application using oracle.apps.fnd package?
    Thanks,
    Eswari

    Hi Kumar,
    Thanks for your answer. I tried using pageContext, but it didn't work.
    I forgot to mention the version of EBS Application. We are using 12i.
    To use FND_GLOBAL package first we should initialise by passing userId and respId which we want. Can we get these details from this api oracle.apps.fnd of 12i Instance.
    Thanks,
    Eswari
    Edited by: user593578 on Jul 31, 2009 4:35 PM
    Edited by: user593578 on Jul 31, 2009 5:18 PM

  • How to get the windows username in jsx

    Hello,
    I have a JSX script in "My Documents\Adobe Scripts" to make it trusted script. I have another text file I need to read from JSX. Since the location depends on logged in user, I need to find the windows username. If anyone know how to get the windows username from jsx please reply.
    Thank you very much.
    Regards
    Nima.

    Hey,
    You can get username like this:
    var myUsername = $.getenv('username');
    You could also get My Documents folder like this:
    var myDocFolder = Folder.myDocuments;
    Hope that helps.
    Marijan (tomaxxi)
    http://tomaxxi.com/

  • How to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    how to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    Make sure Settings > iCloud > Photos > iCloud Photo Library (Beta) = "Off"
    Then sync your iPhone using iTunes and make sure your sync settings for photos are set correctly in iTunes.

  • I got a new computer and don't know how to get music from ipod touch to itunes library

    I recently got a new computer and don't know how to get music from my ipod touch to show on my itunes library. 

    You need to transfer the iTunes folder from the old computer to the new one.
    iTunes: How to move your music to a new computer (Mac or Windows):
      http://support.apple.com/kb/HT4527

  • I have a new MacAir and don't know how to get info from my USB stick and my SD photo card.  Can anyone help me please?

    I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card.  Can anyone help, please?

    Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
    Matt

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

  • How to get file from server while click on link

    Hi,
    i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
    following is the Destination url that i gave for the item.
    /u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
    please tell me how to get file from server while click on link.

    Ok I got your requirement now.
    If you are getting file names from view attribute then you should not be adding destination URI property for the link.
    Instead you can use OADataBoundValueViewObject API.
    Try below code in your controller processRequest method:
    I am assuming that you are using classic table.
    Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    Regards,
    Sandeep M.

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • How to get FILENAME from FILE PATH

    does anyone know how to get filename from a file path for example
    FILE PATH: C:\Project\uploadbean\web\uploads\Button.txt
    returns
    FILENAME: Button.txt

    @BalusC
    ust for a reference cause i'm new in JSP This has nothing to do with JSP, but with basic knowledge of an essential API. I have given you the link to the File API. Are you saying that you refused to read the API documentation, which clearly explains you how to use the File and shows which methods are all available to you undereach the straightforward getName() method, and expecting that the others may chew the answers for you? Loser.

  • How to get data from PDF form?

    PDF forms can send data in url like GET or POST method. Is it possible to get data from url, like in PHP http://sever/file.php?item1=value1&item2=value2&item3=value3
    In APEX url have specific construction and I don't know how to get value of items (1...3)
    Please let me help to find simple method of geting data from URL.
    Best Regards,
    Mark

    The APEX URL syntax is detailed here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BCEDJBEH
    How to get it from PDF is another matter...
    I'm working on an app that downloads PDFs with a Large amount of data as a blob, takes that blob and changes it to XML, then goes through the xml to validate each section of data and then add it into the schema that my apex app is referencing....
    I didn't write the original code but I do know that it isn't a quick thing to implement and includes using some uploading some java jar files to your schema and writing some custom java code.
    Someone else may be able to help with grabbing PDF data into the URL for the amounts of data you want to pass to apex.
    Gus..
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
    Edited by: Gussay on Sep 21, 2009 5:52 PM

  • How to get Position from EmployeeInfo in DIAPI

    I am using DIAPI(JCO) for SAP B1. According to one or my reuirement i am in need of Position from the EmployeesInfo. But there  seems no option or method for getting position from that. Can anyone guide me how to get that from EmployeesInfo ? Any help is appreciated..

    Looking at the DI API properties vs. DB fields mapping documentation in the SAP Business One developer area (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c5f5dbcc-0a01-0010-5d82-f25f2bee715e)
    it seems that this field is not exposed (yet).
    I.e. you could only run a SQL statement to get this information.
    Sorry,
    Frank

  • How to get songs from computer to iphone

    how to get songs from computer (I tunes) to iphone?

    Have you read the User Guide? http://support.apple.com/manuals/#iphone
    Syncing iPad, iPhone, or iPod touch with iTunes
    Syncing music to iPod or iPhone

  • How to get videos from touch, in full resolution?

    How to get videos from touch, in full resolution?
    I tried email, but that compresses them.

    Import them as you would from any digital camera.
    http://manuals.info.apple.com/enUS/iPod_touch_iOS4.1_UserGuide.pdf

Maybe you are looking for

  • AppleTV (2nd Gen) sound dropping from iTunes (as remote AirTunes speaker)

    Setup: - iTunes 10.0.1(22) on Mac mini (1st Gen Intel),Mac OS X 10.5.8, 1.000baseT - FritzBox DSL & WLAN router - AppleTV (2nd Gen) Accessing any content (sound, video, pictures) thru AppleTV from Mac mini works fine. Everything play well, no hickups

  • RHEL 5.7 support for BOE XI 3.1 SP3

    Hi All, The supported platform guide for BOE XI 3.1 SP3 says its supports RHEL 5.0 I would like to know does it also work with 5.7 version? Thanks, Swapnil Hoderkar

  • Editing RAW (*ORF) in Photoshop10

    Hi i have photoshop elements 10 and cant edit RAW files in the ORF format, although my camera (EPL5 Olympus) is in the list. I tried to download and install a recent RAW plugin, but this didn't help. Tips are very welcome!

  • Black line on the scr

    Hallo, I've got ome problem with my ZEN V Plus. Today has appeared an horizontal black line in the lower side of the screen. I've tried resetting, re-installing the firmware, formatting the player with no results. Anybody knows a solution for this tr

  • Reassign target schema to another run-time repository

    I like to assign a target schema to another runtime repository (of course in the same database). In the target schema contains already deployed objects, so drop an recreating of the target schema is not really a good option. thanks, Guido Hemeleers