How to use user id of the logged user (in Application) in the Valueset

Hi All,
I want to Create a Table Value Set.
i want to Filter the values in value set based on the User id by which user has logged in Application.
How to get user id and how it can be used in Table Value set Query.
Please guide me...
Waiting 4 ur response.
Thanks
Sheetal

Hi Sheetal,
You can call the function fnd_global.user_id to get the current user identifier of the logged in user.
Regards,
J.
SELECT fnd_global.user_id
FROM   dual

Similar Messages

  • I just installe Lion and when I get to the log in screen it shows the two users but when I try to select either of them nothing happens. How can I fix this so I can log in.

    I just installe Lion and when I get to the log in screen it shows the two users but when I try to select either of them nothing happens. How can I fix this so I can log in.

    Can you select them with "Arrow left" or "arrow right" key on your keyboard?

  • Getting the logged user type

    hi all,
    how do we get usertype to check whether the logged user is a customer type or administrator type in istore.
    Please help me out.
    Thanks
    Mark

    You can use below built in methods to identify the user type.
    1) RequestCtx.userIsStoreAdmin()
    2) RequestCtx.userIsInternalUser()
    3) RequestCtx.userIsAnonymous()
    4) RequestCtx.userIsSalesRep()
    5) RequestCtx.userIsBusinessCustomer()
    6) RequestCtx.userIsUnapprovedBusinessCustomer()
    7) RequestCtx.userIsPartner()
    8) RequestCtx.userIsIndividualCustomer()
    Hope this will be helpful.

  • How to get "Current" Room RoomID for logged user ?

    Hi everyone
    Does someone here knows how to get the <i>current</i> <b>RoomID</b> of the Room the user has <u>'open'</u> from a java WebDynpro view ?
    I know I can get the list of rooms for the logged user, but I don't know how to get the <u>open/current</u> room for that user, for querying the roomid in the wdp view after that...
    Thanks
    Best regards
    Manuel
    ps. Sorry for my english, I hope you all understand me...

    Hi,
    I have the same problem, has you solved it? How?
    Thanks in advance,
    Regards,

  • An unexpected error occurred processing your request. Check the logs for details and correct the problem.

    Hi All,
    I am configuring RSS Viewer webpart to SP 2013. 
    But i am getting an error "An unexpected error occurred processing your request. Check the logs for details and correct the problem."
    I looked for solution of this error. i got to know, we need to set proxy server in web.config file.
    So, in order to resolve this i put the following set of code in web.config and save the file
    <system.net>
        <defaultProxy>
          <proxy usesystemdefault="True" proxyaddress="http://myproxyserver" bypassonlocal="True" />      
        </defaultProxy>
      </system.net>
    But, still i am getting the error. 
    What could be the problem now. 
    Any help is much appreciated. 
    Thanks,
    Rakesh

    Hi Rakesh,
    According to your description, my understanding is that you got an error when you used RSS viewer web part in SharePoint 2013.
    The RSS viewer web part uses authentication delegation and is using the current user's credentials to access the proxy. However, the RSS viewer only supports anonymous and Kerberos authentication. So if you are using NTLM authentication, the RSS viewer will
    not be able to authenticate the user through the proxy. More information, please refer to the link:
    http://kalsing.blogspot.com/2007/11/troubleshooting-rss-viewer-web-part.html
    Also see:
    http://blogs.technet.com/b/sharepointdse/archive/2007/04/13/fun-with-rss.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • I can not download any files using Safari ? when I choose to download application file the URL include the file name and stop responding. Any help??

    I can not download any files using Safari ? when I choose to download application file the URL include the file name and stop responding. Any help??

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in Mac OS X 10.7 or later, then you can’t enable the Guest account. The Guest login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • The transaction log for database 'WSS_Content' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

    Hi all,
    Observing the below error in event logs once in every day at 3:30 AM on the on SQL Server Machine, it is being used for TFS 2010.
    The transaction log for database 'WSS_Content' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
    Kindly advice me here on what to do?
    Thanks in advance

    First thing to check is, what is happening at 3:30am to cause the log to fill up?  Is there any maintenance tasks being run against the DB, such as index re-organizations or rebuilds?  If so, take a look at what the job is doing, maybe it could
    be tuned (ex:  A Maintenance Plan with a rebuild indexes task will rebuild *every* index whether it needs it or not.  Look at using something that checks how fragmented an index is, and then intelligently determines what, if anything, to do to that
    index.)
    Basically, the error is telling you that SQL is trying to do something in the DB, and has filled up the log (either because it's not getting backed up often enough, or the transaction in question is running *very* long, or your log is set to not auto-grow)
    So, a couple possible solutions:
    Increase the frequency of Transaction Log backups of WSS_Content (only works if the DB is in Full Recovery)
    If you've got the disk space, turn on auto-growth for the TLog (or just manually grow it larger) {This will work for both Full and Simple Recovery}
    It would be nice to know what's causing the space to not be re-used, but with this occuring at 3:30am, you'll either need to set up an Agent job to run around that time and record its results, or manually run something like "select log_reuse_wait_desc from
    sys.databases where name = 'WSS_Content';"  Me, I prefer to be soundly sleeping at 3:30am and would set up an Agent job to run from say about 3:00am to 3:45am once per minute (maybe even more frequently.)
    DON'T shrink the log, though.  SQL will idealy grow the log as large as it needs it (if autogrowth is enabled) and no more.  If you shrink the file, SQL will just have to re-grow it later again, which can affect performance.
    Jason A.

  • Having trouble displaying the Logged in Customer details.  The customer is able to register himself

    Having trouble displaying the Logged in Customer details.  The customer is able to register himself to my site but when he enters his username and password I don't know how to display the welcome username message and switch the login link to logout. Even afte the customer is logged in it still shows login. Please look at the image for more details.

    Thanks Sidney, that worked........I tried to change the css style of make the log out link to stay in same horizontal line as the Logged in but I can't.(Please see the image) Is it the module that is designed to work this way???
    And one more .....is there a way where I can change the message "No one logged in" to say LogIn.
    Thank you

  • The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait

    Every time I get this error, at different points of testing inserts and deletions on my table:
    The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
    Why do I keep getting this?  All I'm doing is deleting several hundred thousand records and inserting them into a couple of tables.  i shouldn't have to truncate my log every time or my application bombs out!
    sys.databases only gives me this info for log_reuse_wait_desc which does nothing for me:
    LOG_BACKUP

    sp_helpdb BizTalkDTADb
    ALTER DATABASE BiztalkDTADb
    SET RECOVERY SIMPLE;
    GO
    DBCC SHRINKFILE (BiztalkDTADb_log, 1);
    GO
    sp_helpdb BizTalkDTADb
    GO
    ALTER DATABASE BiztalkDTADb
    SET RECOVERY FULL
    GO

  • How to execute a transaction with a different user from the logged user?

    Hello Experts!
    I'm trying to find out a solution about this scenario: our users need to release a Purchase Order (ME28) and/or a Service Entry Sheet (ML85) in SAP from a WEB based application through TIBCO, but the requirement is to execute this operation with the same SAP User name of the user (with his authorization) and not with the TIBCO user that is logged to SAP.
    Is there someone that could suggest me a real time solution and how to develop it? I really appreciate your contribute and I'm at your disposal for any further information.
    Thank you very much!
    Alessandro

    Hi Rob!
    Thank you for your help, but I can't apply this solution, because we need to execute the transaction with a specific user name and not a generic user, besides our user have different authorization, for example the user Mr. Rossi can release only his Purchase Order but not the PO of another user Mr. Bianchi. Moreover we need to see the PO released/modified from a specif user name. So this is our constraint.
    Bye Ale.

  • How to use your own database with your users to authenticate in a Web app?

    Hello, everybody!
    I'm starting to write my first web application and I'm going to use JSF, JPA and EJB3 in this application. One of the first things that I have to do on it is the authentication part where I'll have a page with a user name and a password for the user to login. So, as I'm new to all this in Java (I've already implemented this on .NET in the past), I was studying the Java EE 5 Tutorial, especifically the section "Example: Using Form-Based Authentication with a JSP Page". But I saw that the users that the sample application uses come from the file realm on the Application Server. The users are created there and assigned a name, a password and a group. After the users are in the Application Server we can simply uses forms authentication declaratively in the deployment descriptor (web.xml).
    But the problem is that this doesn't work to me as I already have my own database with my users, so I want to use it instead of having to create the users on the Application Server.
    So, I'm asking you how to do that. Of course I'm not expecting that you place the code here to me as I know that such a thing could be complicated. Instead, I'm asking if you know about some tutorial, article, book or something that teaches how to do what I want. But I would like to see theses examples using JSF and/or EJB3 because these are the technologies that I'm using to develop. It's a pity that the Java EE 5 Tutorial doesn't have an example using a custom database as I know that this situation is very common in the majority of web sites.
    Thank you very much.
    Marcos

    From memory, it goes like this... You just create a
    raw jdbc connection on your user database using a
    special "login" DB user account, which has
    permissions only to an "authenticate" stored query,
    which accepts two arguments: username & password, and
    returns a boolean 0 or 1 rows found.When I implemented this in .NET's ASP.NET I had the same solution. I had an special user created in the database that I used to log in. When the real user entered his username and password I was already logged in and I had just to check his username and password agains the right table in my database.
    But that was only possible bacause when I connected to the database using my hidden user, I used the rights APIs in ASP.NET that coordinate the authentication process. This means that before login in, no one could access any resources (pages, atc...). So what I'm saying is that I can't manager this manually in Java. Java has to have some API or whatever to allow me to control the login process programmatically, while letting the Application Server control the access to the resources.

  • How to use migration assistant without creating dual user accounts

    I want to use migration assistant to transfer apps, software & files on my macbook pro to my new macbook air. How can I do this without creating two user accounts for myself on the m-book air -- my account from the m-book pro & the one that the air makes me create as soon as I do start-up? Can I just use the same name & password for both? or will that make things go badly awry?
    Thanks!

    If you have not booted the MBA for the first time and gone through the Setup Assistant, then I would use the Setup Assistant to make the transfer before you even create another user account. However, if you've already created the new user account on the MBA, then create a new admine one with a different username than the account you will migrate. Log into this new account, delete the first account you made, then use Migration Assistant to transfer your account from the MBP.

  • How to use Log4J in EP for log info

    HI Frndz ..
    As per my requirment i have to give a report of all login users log information. In Java we have  Log4J.jar as per miine it is the best API for generating Log information .
    Actualy am trying to place this code and JAR file in com.sap.portal,runtime.logon.par but am not getting any needful output.
    Colud anyonr suggest me how can  we get the Log data usiing Log4J in Portal.
    Thanks in Advance
    Regards
    Rajesh

    Hi Rajesh,
    please check the below link it might be helpful to you.
    Use Class Log4j for logging java application
    Regards
    Narendra

  • How to use single JSP page for multiple users.

    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.

    SuneelGoodatJava wrote:
    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.HTTP is a request/response protocol. You can't do what you're suggesting without "pushing" what you type to all the other users. That's not the way HTTP works. Maybe an applet and servlet.
    %

  • How to use AT LINE-SELECTION and AT USER-COMMAND in one report????

    Dear all,
    I have a problem in reports I want to use AT USER-COMMAND.and AT LINE-SELECTION.both in the one report.
    But as soon as I use SET PF-STATUS my AT LINE-SELECTION event stop workingand only AT USER-COMMAND is working.
    How can I use both of them in one report for your reference I am giving my test program below.
    REPORT ZTEST111 .
    SET PF-STATUS '100'.
    DO 10 TIMES.
    WRITE:/ SY-INDEX.
    HIDE SY-INDEX.
    ENDDO.
    START-OF-SELECTION.
    AT LINE-SELECTION.
    MESSAGE I002(SY) WITH SY-INDEX.
    AT USER-COMMAND.
    MESSAGE I002(SY) WITH 'USER COMMAND'.
    END-OF-SELECTION.
    Thanks in advance
    Sachin Gautam

    hi
    Syntax
    AT USER-COMMAND.
    Effect
    This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
    Note
    Self-defined function codes are all those that include character combinations, except for the following:
    The function codes PICK and PF## ("##" stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PF##.
    All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
    The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
    Table 1
    Function code Function
    %CTX Call a context menu
    %EX Exit
    %PC Save to file
    %PRI Print
    %SC Search for ...
    %SC+ Find next
    %SL Search in office
    %ST Save to report tree
    Table 2
    Function code Function
    BACK Back
    P- Scroll to previous page
    P-- Scroll to first page
    P+ Scroll to next page
    P++ Scroll to last page
    PFILE name Store list lines in a text file named abap.lst in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
    PL- Scroll to first line of the page
    PL-n Scroll n lines back
    PL+ Scroll to last line of the page
    PL+n Scroll n lines up
    PNOP No effect
    PP- Scroll back one page
    PP-n Scroll n pages back
    PP+ Scroll one page forward
    PP+n Scroll n pages forwad
    PPn Scroll to beginning of page n
    PRI, PRINT Print
    PS-- Scroll to first column
    PS++ Scroll to last column
    PS- Scroll one column to the left
    PS-n Scroll n columns to the left
    PS+ Scroll one column to the right
    PS+n Scroll n columns to the right
    PSn Scroll to column n
    PZn Scroll to line n
    RW Cancel

Maybe you are looking for

  • Safe to delete file ??

    C:\Resource\Python25\python25.zip Is it ok to delete the above file from the phone memory ? It is eating up about 1 mb of my precious internal memory.  I know that "Python for S60" is an important resource for the phone but this is a .zip file and pr

  • MM FI - AUTOMATIC ACCOUNT ASSIGNMENT

    Hi All I have a doubt with regards to the valuation grouping code. SAP says that "when the valuation grouping code is deactivated, all the valuation areas which use the same chart of accounts would be treated identically in terms of account assignmen

  • ABAP Query SUB-TOTALS by Month

    Hi, I am making an ABAP Query and I am trying to create sub-totals per month. EX.          Quantity         Date                     1           01/01/2008                     2           01/02/2008 sub-total        3                     1          0

  • GR in MIGO not updated in Inbound Delivery

    Experts, I did as below. Create a PO-> Create IBD (VL31N)->MIGO (GR against IBD)--> TR and TO Auto Created> TO Confirmed---> Putaway completed in WM. So far so good:) My problem is, nothing is updated in Inbound Delivery(also in doc flow).  I can sti

  • How do I import and use the Keynote themes that I've downloaded?

    I'm sure this is a stupid question, but I searched this forum & didn't immediately find the answer I needed. I've downloaded some Keynote themes (they have a .kth extension). How do I import these into Keynote 08 so that Keynote will recognize and us