How to execute query after login?

Hi Gurus,
I'm developing nowadays a small system,that shows every employee his data( attendance time,vacations,execuses..etc),I just want to execute query (pop up data) once the employee logged in,as I get his login name and sysdate and execute the query.
how could this happen? do I need a process ? what is it?
How to get the system date?
thanks in advance
Pardon me,am just new here and still my terms for Developer 2000.

You can do it with a process (call it onload) or with a simple sql query mapped to a region in the home page of your application.
hope this helps

Similar Messages

  • How to change an after login page?

    Does anyone knows how to change an after login page from a default page 1 to, let's say page 200?

    Jessica,
    The URL to run your application is http://apex.oracle.com/pls/otn/f?p=23533.
    If you use this, page 3 is the first page shown after login.
    Using the URL you gave runs the Application Builder, not your application. If you use the Builder's Run Application icon to run your application, the page in your application that you are requesting is page 1 (or whatever is in the application's Home URL attribute). But running your application this way is something you do in a development environment only
    Your basic question has to do with how end users would get to a particular after-login page. End users do not have access to the Application Builder.
    Scott

  • Error while executing query after migration

    I have migrated a  query to 7. While executing the report following error occurs
    When I attempt to open a query, (I get past the login and query selection screens) I get the following error:
    "Creation of item TEXTELEMENT_xx Failed" (20 or so lines)
    After which the variable entry screen pops up, but no data is displayed when the query returns due to the creation of the elements failing.
    Excel 2007 Office SP2. SAP GUI 710
    Please suggest.
    Regards,
    Raj.

    Hi Raj,
    I also faced this problem with Excel 2007 BI
    I was able to resolve the problem with the following
    This problem is because changes to excel in the 2007
    first try reinstalling the GUI components If it works with the reinstallation then its fine
    if not try Installing FEP 900 (Latest patch for BEX Suite) and GUI 7.10 patch 13
    this definitely solves your problem
    Thank you

  • How to execute query to store the result in the target table column ?

    Hi
    Source: Oracle
    Target: Oracle
    ODI: 11g
    I have an interface which loads the data from source table to target. Some of the columns in the target tables are automatically mapped with source table. Some of the column remain un-mapped. Those who remain un-mapped, I want to load the values in that column by executing an query. So can anybody tell me where I should mention that query whose result would become the value of the specific column.
    -Thanks,
    Shrinivas

    Actually I select the column from the target table then in the Property Inspector-->Mapping properties-->Implementation
    tab I have written the query which retrieve the value for that column. Is the right place to write the query? How can do this ?
    -Shrinivas

  • How to Execute Query Bdoc

    Hi all
    I have created one Query Bdoc. I want to execute that Bdoc. How can i execuate. I want to know what are the parameters are passed and get result.?
    My problem I have created one combo engine. while executing mobile sales, it can't load the datas from Bdoc.? where i have to check?
    anyone help me

    Hi,
    if you want to start it in the code you can use create a business query on using the query bdoc.
    if you have a business query you can write the following code:
    IN BO:
    Dim bq as Businessquery
    Dim bcol as BusinessCollection
    dim bo as Businessobject
    bq = gFactory.newBusinessQuery("your businessquery")
    bq.setattribute (Attributename, Value)
    bcol = bq.query
    for each bo in bcol
      'this is a loop over all results
    Next
    Or you can use directly the qBdoc using the object ListEngine. Search for this in the Code of you MSA using Mobile Application Studio!
    rg,
    markus
    You can check the bcol in the debuger

  • Can't execute query after upgrading to 7.0

    Hi
    After upgrading from 3.5 to 7.01 some users can't execute queries. After opening the query in BEx Analyser (3.5 version) nothing happens, just a 'blank' excel screen. And then I again can try to open the query.
    If they execute the same query by a workbook there is no problems.
    I made a copy of one of the users and then no problems.
    Any hint or solutions?

    Dear All,
    I am facing the same issue: I am not able to run BEx3.5- queries in Excel 2010 (I can log on, select the query but then nothing happens...), with 7.0- queries everything works fine. For another user with exactly the same profile, the issue doesn't occur.
    Were you able to fix the issue, and if yes, what needs to be done?
    Regards,
    Harald

  • In Report How To Execute Query Two Times in One Layout

    hi
    All
    In My Report i have creating on main Query and then query run two type with Defrent Parameter how is possible in Oracle Report 6i
    example
    my Query is
    For Example First time query run defrent parameter and again run some other parameter in same layout help me
    select decode(art_mkt,'1',art_brc,art_mkt) art_mkt,
    &f1 art_prd,
    sum(nvl(art_amt,0)) art_amt,
         sum(nvl(art_net,0)) art_net,
    nvl(substr(art_vou_ser,2,1),' ') art_mfg_type,
    nvl(substr(art_vou_ser,3,1),' ') art_src_code
    from art
    where art_rec_ty = 58
    and art_ml in (:art_ml1,:art_ml2)
    and art_dt between to_date(:start_dt,'dd-mm-yyyy')
    and to_date(:end_dt,'dd-mm-yyyy')
    and art_vou_dt between to_date(:dt1,'dd-mm-yyyy')
    and to_date(:dt2,'dd-mm-yyyy')
    group by decode(art_mkt,'1',art_brc,art_mkt),
    substr(art_vou_ser,2,1),
    substr(art_vou_ser,3,1),
    &g1
    order by decode(art_mkt,'1',art_brc,art_mkt),
    substr(art_vou_ser,2,1),
    substr(art_vou_ser,3,1),
    &g1

    That would be a great question in the [url http://forums.oracle.com/forums/forum.jspa?forumID=84]Reports Forum wouldn't it ;)
    Tony

  • How to Execute Query

    Hi
    All
    This is My Data
    SQL> select * from dt;
    DPT CD AMT
    sro c 100
    sro d 200
    sro c 1000
    sro d 400
    This is My Out Put But I Want Only One Row
    SQL>
    1 select dpt, decode(cd,'c',sum(amt),0),decode(cd,'d',sum(amt),0) from dt
    2* group by dpt,cd
    SQL> /
    DPT DECODE(CD,'C',SUM(AMT),0) DECODE(CD,'D',SUM(AMT),0)
    sro 1100 0
    sro 0 600
    Misss
    Right Out Put Is
    sro 1100 600
    How To Right A Query I got a Above OutPut
    Thx.

    SQL>
    SQL> Create Table t As
      2  (
      3  Select 'sro' dpt, 'c' Id, 100 amt From dual Union All
      4  Select 'sro', 'd', 200 From dual Union All
      5  Select 'sro', 'c',1000 From dual Union All
      6  Select 'sro', 'd', 400 From dual
      7  )
      8  /
    Table created
    SQL>
    SQL> Select dpt,
      2         Max(col1) col1,
      3         Max(col2) col2
      4  From
      5  (
      6  select dpt, Id,decode(Id,'c',sum(amt),0) col1, decode(Id,'d',sum(amt),0) col2 from t
      7  group by dpt,Id
      8  )
      9  Group By dpt;
    DPT       COL1       COL2
    sro       1100        600
    SQL>

  • How to execute code after JSF startup?

    Hello,
    I need to execute some initialization code after JSF startup, so I cannot do the usual ServletContextListener trick, as that runs before JSF is completely initialized. Any ideas?
    Kind regards,
    Ulrich

    I can think of one way to do this (which might be a bit cumbersome for what you are trying to do) : use the Spring framework's web integration classes.
    You can specifiy a context listener in your web.xml :
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    That way, Spring will load an ApplicationContext, and in that context you can specify a Spring bean that will be instantiated at application startup, which will perform whatever logic you need to do.
    More info here :
    http://static.springframework.org/spring/docs/2.0.x/reference/webintegration.html

  • How can execute query be delayed.

    Hi:
    I have an interesting little problem. In our application, we have a screen that our users have been trained to press and hold the key to execute the query in a block. When our users do this the forms performs an average of 12 queries for second. In a lot of cases our users hold the key for as long as 20 seconds resulting in well over 200 queries. To make things more interesting the application is used in our call center where approximately 50 people are answering the phone. Since they are all trained the same, this can add up at time to a lot of queries.
    I was wondering if anybody has implemented a mechanism or algorithm by which under these conditions one can make the execute_query function to only execute once per lets say 5 seconds, thus reducing the number of queries significantly.
    Any help would be appreciated.
    Thanks,
    Thomas

    How do I catch the user letting go of the KEY-EXEQRY?You don't need to. When the user is holding the key down, the keyboard is continuously repeating the keystroke (like holding down any alphabetic key). The forms runtime catches the repeated strokes, and checks the timer. If it is still running, the forms runtime throws away the keystroke and picks up the next one...until the timer expires.
    Then it re-starts the timer and performs a query.
    Then checks for the next keystroke.
    When the user releases the key, the forms runtime no longer finds any keystrokes to process, so does not do another query. ...unless the user presses (or holds down) the key again.

  • How to execute query only when user submits request in af:query

    Hi,
    I'm using an <af:query> based on a named view criteria. The view criteria contains a bind variable. When the web page is initially rendered the query is executed and the result is displayed in an <af:table>.
    Instead, I want the user to trigger the query by pressing the Search button in the <af:query> form.
    Is there a way to configure such a behavior without coding?
    Sorry, if this is a faq, but I didn't find a suitable answer for my problem.
    Any hints are welcome,
    Markus

    Hi Frank,
    it is not that easy, I'm afraid. In 10g apps, I used a combination of two iterators. One Find-iteratior and one iterator for the resultset. The resultset iterator had the refresh condition set to ${adfContext.postback}. But with 11g, it does not work. The result is rendered when the page comes up.
    What has changed from 10g to 11g? I have discovered the fact, the table does a second (asynch) request to get the resultset from the server when attribute contentDelivery="lazy". Changing the attribute to contentDelivery="immediate" the page comes up with an empty table and the user can enter the query criteria. The solution works fine as long as you stay on the search page. If you navigate to an 'Edit result' page and then back to the search page, the table is empty again (thanks to the postback condition). To solve the problem you have to work with a second flag in the refresh condition which indicates that the user has triggered a query. This is the background for my last posting (' Can I set an <af:setActionListener> on the search button of a <af:query>?', Re: Can I set an <af:setActionListener> on the search button of a <af:query
    Any other recommendations?
    Thanks,
    Markus

  • [SOLVED] Execute script after login

    Hi,
    I want to execute a script after I logged in, but it fails. There is no problem, when I do this manually.
    My ~/.xsession:
    #!/bin/sh
    ~/bin/select-monitor.sh
    I tried to paste this in .xinitrc, also, but it fails, too.
    What can I do?
    EDIT: Okay, this has solved my problem:
    http://i3wm.org/docs/userguide.html#_au … i3_startup
    Greets
    Steffo
    Last edited by Steffo (2013-01-19 10:52:29)

    /etc/pam.d/common-auth exists only to be included in other, service-specific PAM files, so one can easily change auth mechanisms for all/majority services at once. You don't have it, so probably you have fully separate PAM files, without common include; so you should just apply those common-auth advices to all services you are going to modify. As always with PAM -- BE CAUTIOUS. Especially if your machine sits a few hundred km away

  • How to execute query (select or update) without VO and EO

    hi
    i want to make simple select and updates in my processformrequest just to make some verifications in the database. how can i do it without using any view object and entity object ?
    thanks
    Dan

    You can use createPreparedStatement, createStatement api in OADBTransaction to issue a select statement. But as updated by Suvarna, shooting direct queries to DB is not recommended.

  • How to execute a cvs command using System Call?

    hi all,
    how to execute a cvs login command using system call ?
    thanks,
    dam

    To anyone that reached this post and still dont have a hint, try this small sample - it logs on CVS using installed CVSNT and execute a fake update:
    package testeCVS;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.PrintWriter;
    public class execCMD
        String password="yourPassword";
        String directory="C:\\CVS\\yourPathToProject";
        //send commands to CVS and shows the resulting screen
        public int sendCMD(String[] command) throws IOException, InterruptedException
            ProcessBuilder pb = new ProcessBuilder(command);
            pb.directory(new File(directory));
            pb.redirectErrorStream(true); // merge stdout and stderr
            Process p = pb.start();
            InputStreamReader isr = new  InputStreamReader(p.getInputStream());
            BufferedReader br = new BufferedReader(isr);
            String lineRead;
            StringBuilder buffer=new StringBuilder();
            System.out.println("Return of shell:");
            while ((lineRead = br.readLine()) != null)
                buffer.append(lineRead + "\n");
            System.out.println(buffer.toString());
            return p.waitFor();
        //send commands to CVS, send the password after the prompt and show the resulting screen
        public int sendDialogCMD(String[] command) throws IOException, InterruptedException
            ProcessBuilder pb = new ProcessBuilder(command);
            pb.directory(new File(directory));
            pb.redirectErrorStream(true); // merge stdout and stderr
            Process p = pb.start();
            PrintWriter writer = new PrintWriter( new OutputStreamWriter( p.getOutputStream() ));
            writer.println( password );
            writer.flush();
            InputStreamReader isr = new  InputStreamReader(p.getInputStream());
            BufferedReader br = new BufferedReader(isr);
            String lineRead;
            StringBuilder buffer=new StringBuilder();
            System.out.println("Return of shell:");
            while ((lineRead = br.readLine()) != null)
                buffer.append(lineRead + "\n");
            System.out.println(buffer.toString());
            return  p.waitFor();
        public static void main(String a[]) throws IOException, InterruptedException
            execCMD e=new execCMD();
            String[] command = new String[5];
            command[0] = "cvs";
            command[1] = "-q";
            command[2] = "-d";
            command[3] = ":pserver:yourUserID@localhost:2402/path/of/yourProject"; //in this case using CVS port 2402
            command[4] = "login";
            System.out.println("exit value=" + e.sendDialogCMD(command));
            command = new String[8];
            command[0] = "cvs";
            command[1] = "-q";
            command[2] = "-d";
            command[3] = ":pserver:yourUserID@localhost:2402/path/of/yourProject";
            command[4] = "-n";
            command[5] = "-q";
            command[6] = "update";
            command[7] = "-dA";
            System.out.println("exit value=" + e.sendCMD(command));
    }It is possible to send the password on the same command, but I had problems when the password had the character '@' because CVSNT took it as the separator between the username and server name. In that case the command is: ":pserver:yourUserID:yourPassword@localhost:2402/path/of/yourProject"

  • Execute query with in workbook

    How to execute query with in workbook??
    Regards,
    Vivek
    Please search the forum
    Edited by: Pravender on Apr 26, 2011 1:03 PM

    Hi Vivek,
    Click on Addin Tab in Analyzer, Select the workbook from open workbook icon.
    Once the workbook opened, click on variables icon. Then variables popup screen will come. Input the variables and click ok.
    Hope this will help you...
    Thanks,
    Chenna.

Maybe you are looking for

  • Webdynpro - Object could not be found in cache, key is null

    Folks I am getting this marvelous exception for which I am not able to find any not in SAP Service Portal as well. Any insights shared will be highly appreciated. [EXCEPTION] com.sap.tc.webdynpro.services.sal.util.cache.ResourceNotFoundException: Obj

  • Inserting into two tables using JDBC Receiver Adapter

    I've defined following type for Receiver JDBC to save data in two different tables Name          Category     Type          Occurrence ReceiverDB_DT     Complex Type           STATEMENT     Element                    1..unbounded TABLE_NAME     Eleme

  • Why can't I open forms in reader on my ipad?

    WHy won't reader open interactive PDF forms. I get the please wait message... Your PDF viewer may not be able to display this type of document. im using an ipad with version 11.3.2

  • We are upgrading EHP 3 on ECC 6.0, but we received the following error:

    The installation was stopped, since an error occurred during the phase DDIC_ACTIVATION, which the Add-On Installation Tool is unable to resolve without your input. After you have corrected the cause of the error, continue with the import by choosing

  • Can't transfer book to device - Mac Adobe Digital Edition for kobo

    Everytime I try to transfer a book in my library (downloaded from the public library) to my ereader it has an error and unexpectedly shuts down. Help? Process:         Adobe Digital Editions [365] Path:            /Applications/Adobe Digital Editions