Want to get user ID in oracle forms

Hi All,
I'm working with oracle 11g and E-BS R 12.1.2 . I created a custom form using oracle form builder and attached to E-BS. I want the user ID current logged in user. I used this command FND_PROFILE.VALUE('USER_ID') but it doesn't work.
How can I get the user_id of the current user.
Thanks & Regards,
Mack

SQL> select FND_PROFILE.VALUE('USER_ID') from dual;
FND_PROFILE.VALUE('USER_ID')
SQL> begin fnd_global.apps_initialize(1229, 20604, 260); end;
  2  /
PL/SQL procedure successfully completed
SQL> select FND_PROFILE.VALUE('USER_ID') from dual;
FND_PROFILE.VALUE('USER_ID')
1229
SQL>

Similar Messages

  • Want to scan an image from oracle forms -- Is it possible??

    Hi all,
    I want to scan an image from oracle forms through a scanner. I have not found any help on this topic. Pls help with example or code or with demmo form.
    BR
    Tarik.
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM

    A colleague of me did it like this:
    * the scanner is connected to a network document server.
    * the document server sends(ftp) the image to the oracle XDB
    * a form shows the scanned documents(using a view on the ftp directory in XDB using path_view)
    * in this form the user can move the scanned document(s) to a (blob field) in a table.
    Hope this helps a bit...
    Edited by: poelger on Sep 9, 2008 10:08 AM

  • Where I can get the version of Oracle Forms 11.1.1.1

    Friends.
    Someone can help me get this version of Oracle Forms 11.1.1.1.
    In the Oracle site exists only version 11.1.1.2 and 11.1.1.3
    Thanks

    That's right, look for this version of Oracle Forms 11.1.1.1, someone knows where I can download.
    Thanks

  • 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

  • Getting user details in a form

    Hello,
    I am trying to get a form to display the email address of the Administrator who is entering data into the Form.
    The form is tied to an Admin Role, so many different users can summon the form up.
    What XPRESS code would extract the email address of the User object who is logged in and entering the data into the (say) Create New User form.
    Regards, GMN

    Are you sure of this?
    I want to display the email address of the User logged in ON THE USERS FORM when he creates a new user or edits a user.
    i.e. I have a FORM say MyTabbedUserForm which is used by the admin user. Lets say this Form is used by several administrators Admin1 Admin2 Admin3 all these 3 have MyTabbedUserForm set as their 'User Form'
    What I want is to display in a label on MyTabbedUserForm the email address of Admin1 if it is Admin1 who logged into the admin interface and is creating a new user, or the email address of Admin2 if it is Admin2 who logged into the admin interface and is creating a new user and so on.
    <ref>WF_CASE_OWNER</ref> doesnt cut it as the Form has no workflow.
    Maybe a better question to ask, if how do I determine the accountId of the User logged in?
    It must be possible as I can see on the admin interface the text "Logged in as: xyz"
    If I knew the accountId of the user logged in, then I can get the email etc etc..
    Can anyone really help?
    thanks

  • Getting Error when running oracle form 10g

    Hi all, i have a problem when i run oracle form 10g.
    in the applet show like this :
    Loading http://abc:8889/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0
    Loading http://abc:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://abc:8889/forms/java/jacob.jar from JAR cache
    Loading http://abc:8889/forms/java/printtext.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.TextFieldItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Can anybody help me how to solve this problem ?
    Thanks,
    Iwan

    Loading http://abc:8889/forms/java/printtext.jar from JAR cache
    This tells me you are using a 3rd party or locally developed Java Bean to perform some type of print function. Is this correct?
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.Does your printtext.jar Java Bean need to open an HTTP connection in order to print?
    Have you been able to print in the past using this Java Bean? Where did you get the Java Bean?
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0Your form appears to be using WebUtil. Has it been successfully configured?
    Honestly, you need to list the following minimum information when you post a question; it gives us all or most of the information we need to help you and it eliminates the need for us to ask for this information. Please always include:
    * Forms Version (eg; 10.1.2.0.0 not 10g)
    * Java Version
    * Client OS version
    * What you were doing when the error occured.
    Craig...

  • Unable to get User Information in infopath form hosted on sharepoint online(2013)

    Im trying to retrieve user information (department, Manager, Work E- Mail, Etc..) into an infopath form hosted in sharepoint online using "/_vti_bin/UserProfileService.asmx"
    web service. But it returns me an error when im opening the form as :
    An error occurred while
    trying to connect
    to a
    web service. Error ID 5566
    Any idea about how to get those  information into a form which hosted in Office365 environment?
    Thanks.

    I believe this is a known issue:http://support.microsoft.com/kb/2674193/en-us

  • How to restrict/allow users to access oracle forms/reports through SSO

    Dear All,
    I am new to oracle application server and need to know how can we manage the access rights for oracle forms using OID/SSO.

    Anyone can answer.

  • Has anybody read the Windows user from an Oracle Form?

    Hi
    Has anybody read the Windows Login from an Oracle Form?
    Regards,
    Néstor Boscán

    in 6i, u can use d2kwutil
    in 9i/10g use webutil. Search in this forum and u can see the previous posting.
    Rajesh

  • How to get machine IP in Oracle Forms 10g.

    I am using Oracle 10g form builder
    i need to get the client machine IP into a +(display Item)+ using webutil, i tried to used several codes but always am getting a null (empty) value in the box
    also i used sys_context package but i got the application server address only!!
    can anyone kindly help me in How to get the client client machine IP in Forms 10g.
    FYI* i had reviced webutil configuration after installation of 10g and i test the libarary in reading and writing image
    Kindly help me asap
    you can also reply to [email protected]
    Adel

    This is from online help about FRM-40735:
    Cause: Application design error. The current trigger raised an exception (other than FORM_TRIGGER_FAILURE), but it did not handle the exception. Action: Rewrite the trigger text to handle the exception.
    So, check your code.
    I have a form in which I use statement I gave you and everything is ok.
    Hope it helps you,
    Fabrizio

  • How to use Item Type User Area in Oracle Forms 6i

    Hi, People.
    Please, give the link - How can I use User Area programmatically. Thx.
    Message was edited by:
    user625002

    http://www.oracle.com/technology/documentation/6i_forms.html

  • How to Implement User Area in Oracle Forms 6i

    Hi,
    Could anyone please let me know how to implement Item Type *"User Area"* ?
    How to add User Area in layout Editor?,
    Thanks and Regards,
    Manasa

    Hi,
    Please post your question in the appropriate forum.
    Forms
    Forms
    Thanks,
    Hussein

  • Can I get user id in oracle reports 6i

    Hello,
    I am using fnd_global.user_id but it's returning the 1st value from fnd_user table instead of the current user id who had logged in, can any one help me.
    Regards,
    Dinesh.

    We cannot guess what fnd_global.user_id does.
    Current user is USER, like in
    select user from dual

  • Oracle.forms PACKAGE?

    Hello experts,
    i want to get the info on oracle.forms java classes and function in frmall.jar in forms10g.
    please send me the link where i can read and create the program in java by using the oracle.forms classes.
    thanks
    yash

    Good luck finding this documentation. I'm pretty sure Oracle has not published this documentation to the public - at least I have never found it! :) If you happen to come across it, please share! ;)
    Craig...

  • OIM 11g, Get users from table and insert them into Approval Task

    Hi All,
    I have OIM 11.1.1.5.4 in Solaris 10 and I have an Oracle Table configured as Trusted Source.
    I am using Database_App_Tables_9.1.0.5.0 connector.
    I want Reconciliate new users from a Oracle Table as follow:
    1. I ran the scheduled job
    2. The new users reconciled Must get into an Approval Task before of insert them into USR Table.
    3. The Administrator User Approved o Rejected the new users.
    4. The new users that were approval Must insert them into USR Table.
    Is there any form of implement this?, Can you guide me please?.
    Thanks for your Help.

    Through your Schedule Task, generate "*Create User*" (Request Type) request and assign approval workflow for such requests.
    After completion of approval ONLY, users will get created into OIM 11g.

Maybe you are looking for