Query pop up

Hello experts
is it possible to write a query and scedule it to run each 15 minutes(for example) and if this query comes up with results, then to pop up a window to the user with the results otherwise just no window to be displayed?
if it is possible, then may i assign this query to specific user?
Edited by: Fasolis Vasilios on Dec 1, 2011 11:17 AM

Hi,
For This You Need The concept of Alert Managment
Go To
Administration------->Alert Management
In Alert Management Screen Attach you query and then set the time in minutes
Thanks
Shafi

Similar Messages

  • Query:Pop up on login for incomplete high priority tasks in sap inbox

    Hi All,
    I am having requirement to display pop up for incomplete high priority in sap inbox on loging in sap.
    I wil be thankful if you can guide to fulfill this requirement.
    Thanks.

    Hi,
    To get the High priority work items you can use the table SWWWIHEAD.
    using this table you can get the Priority, Status, and agent of the work item. Using this you can build the logic to
    display the pop up with this details.
    Thanks,
    Viji.

  • Positioning-problem-when-scrolling-down-webpage with j query pop up calendar

    i have posted this again since the previous has been answered and beside, try to simplify the problem
    I am trying a very simple code here by have so many break lines so i can scroll down to the page.  when i scroll down, click on the text box, the pop up calendar dosen't appear next to the text box, i appears all the way on the top.  is there the way to make the calendar appeas next to the text box.
    <link rel="stylesheet" href="css/jquery-ui.css" />
    <script src="scripts/jquery-1.9.0.js"></script>
    <script src="scripts/jquery-ui.js"></script>
    <script>
        $(function() {
           $("#datepicker").datepicker({ minDate: 0 });
    </script>
    <cfoutput> #repeatstring("<br>",100)# </cfoutput>
    <cfform>
    <cfinput type="text" value=""  id="datepicker" name="sale_date"  />
    </cfform>
    thanks

    tried this but didn't work when scroll down to the bottom of the page.
    <script>
        $(function() {
         $('.datetime').datepicker({
         dateFormat: 'm/d/yy',
         beforeShow: function (input, inst) {
             var offset = $(input).offset();
             var height = $(input).height();
             window.setTimeout(function () {
                 inst.dpDiv.css({ top: (offset.top + height + 4) + 'px', left: offset.left + 'px' })
             }, 1);
    </script>

  • Raise message in Query

    Hi Experts
    My customer want the ability to select any date upto 12 month window on one of the query.
    To achieve this I have implemented the customer exit code in EXIT_SAPLRRS0_001 and also created customer exit variable on calendar day.
    After executing the query in BEx designer, the query pop-up with the variable screen and then I have entred the date range for more than 12 months. When i click on check button I am getting blank screen insted of Error message as per the coding.
    DATA:lc_diff TYPE i, "Difference between two dates
         lc_datefrom TYPE d,
         lc_dateto TYPE d.
    CONSTANTS: c_365(3) TYPE n VALUE '365'.
    *Step 1 is used for defaulting values into the Variables
    *Previous data declaration is made use of where possible
    *though it does not conform to the current naming standards
    CASE i_vnam.
      WHEN 'ZV_DAT365'
        IF i_step EQ 1.
          CLEAR w_e_t_range.
          w_e_t_range-low  = sy-datum.
          w_e_t_range-high = sy-datum.
          w_e_t_range-sign = 'I'.
          w_e_t_range-opt = 'BT'.
          APPEND w_e_t_range TO e_t_range.
        ENDIF.
    ENDCASE.
    *Step 3 is used for checking user inputs. In this step 'I_VNAM' is blank,
    *hence CASE statement to check variable name cannot be used.
    IF i_step EQ 3. "No 3 is SAP system defined value for I_STEP
    *365 Days variable
      READ TABLE i_t_var_range
           WITH KEY vnam = 'ZV_DAT365'
           ASSIGNING <w_i_s_var_range>.
      IF sy-subrc EQ 0.
        lc_datefrom = <w_i_s_var_range>-low.
        lc_dateto = <w_i_s_var_range>-high.
      Calculate the length of user input date range
        lc_diff = lc_dateto - lc_datefrom.
      If this date range is more than 365 days,then error message must be issued.
        IF lc_diff GT c_365.
          MESSAGE e001(00) WITH 'Days in the date range should be less than 365.'(001).
        ENDIF.
      ENDIF.
    ENDIF.
    Please advise.
    Many Thanks in Advance.
    Regards
    RK

    Replace this code with the below mentioned code:
    IF lc_diff GT c_365.
    MESSAGE e001(00) WITH 'Days in the date range should be less than 365.'(001).
    ENDIF.
    IF lc_diff GT c_365.
                              CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                               EXPORTING
                               i_class  = 'RSBBS'
                               i_type   = 'I'
                               i_number = '000'
                               i_msgv1  = ' Days in the date range should '
                               I_MSGV2  = 'be less than 365".
                               raise no_replacement.
    ENDIF.
    -Neelesh

  • 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

  • More Problems with grid filter

    I'm not sure why I'm asking this, I know my chances of getting the answer I'm looking
    for is slim to none but I'll give it a try anyway. I have modified my submitInsert
    method in a pageflow that was generated from a RowSet Control. Now after inserting
    a record if I try to filter on a row the "Filter" button in the query pop up box
    calls the submitInsert method and generates an error because there is no primary
    key rather than calling the begin method like it should. What I would like to
    know is how that "Filter" button knows what action method to call and how I can
    override that? I can see in /resources/grid/filter.jsp where that button gets
    setup:
    <input type="submit" name="btnFilter" value="<%= filterButtonTitle %>" onfocus="CheckFocus(true);"
    onblur="CheckFocus(false);"/>
    but I don't understand how it knows what action method to call??

    never mind. My jsp was missing the parameterMap tags.
    "John Hundley" <[email protected]> wrote:
    >
    I'm not sure why I'm asking this, I know my chances of getting the answer
    I'm looking
    for is slim to none but I'll give it a try anyway. I have modified my
    submitInsert
    method in a pageflow that was generated from a RowSet Control. Now after
    inserting
    a record if I try to filter on a row the "Filter" button in the query
    pop up box
    calls the submitInsert method and generates an error because there is
    no primary
    key rather than calling the begin method like it should. What I would
    like to
    know is how that "Filter" button knows what action method to call and
    how I can
    override that? I can see in /resources/grid/filter.jsp where that button
    gets
    setup:
    <input type="submit" name="btnFilter" value="<%= filterButtonTitle %>"
    onfocus="CheckFocus(true);"
    onblur="CheckFocus(false);"/>
    but I don't understand how it knows what action method to call??

  • [Newbie] Model2 JSP + JDBC + JSTL forEach

    Hi,
    This is my first post.
    I'm running into a bit of brain failure over decoupling my JSP view page from the specifics of the JDBC the model uses.
    I want to avoid the easy route of:
    Controller
    - interogates request as default main listing page.
    - runs a JDBC query
    - pops the ResultSet in the request
    - forwards to the mainlisting.jsp view
    JSP View
    - Uses a scriplet to iterate and display the contents of the results set as an HTML table.
    For a start I don't want to pass a ResultSet to the view page. I'd like to keep it completely ignorant of whether the application is using JDBC, XML or an EJB for it's data tier.
    My first smart? idea was to write an adapter for ResultSet that provides a standard List (or similar) interface, taking data from the ResultSet and returning 'domain' value objects instead of Rows.
    This presents a secondary problem however. In order to provide a List of beans around the result set I either need to copy the whole result set into an ArrayList or Vector on creation, or implement the entire List interface myself (<yawn>).
    So I figured if it's that hard, it can't be the correct way.
    Ultimately I'm after some type of Bean collection I can populate (or wrap around) a ResultSet, so that the following JSP will display the list.
    <ul>
    <c:forEach items="${theListOfItems}" var="item">
    <li><c:out value="${item.foo}" /> - <c:out value="${item.bar}" /></li>
    </c:forEach>
    </ul>
    Any pointers?
    Cheers
    Paul

    I'm quite pleased I was on the right track and I even accepted defeat in finding a pipelining way to iterating over the beans attached to the underlying result set and .. as you suggest .. loading it all into beans on creation.
    I ended up with this:
    package uk.co.cmm.tvrecorder.webapp;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.Date;
    @SuppressWarnings("serial")
    public class RecordingList extends ArrayList<Recording> {
         public RecordingList(ResultSet res) throws SQLException {
              while( res.next() ) {
                   Recording rec = new Recording();
                   rec.setId(res.getInt("id"));
                   rec.setChannel(res.getString("chan"));
                   rec.setProgName(res.getString("prog"));
                   rec.setPrio(res.getInt("prio"));
                   // Date-Times are stored as Unix long ints
                   // Why?  Legacy database - allows numerical comparison in legacy dvb recorder shell component.
                   // Possible future change to SQL DateTime but not just now.
                   Date d = new Date(res.getLong("start")*1000);
                   rec.setStart(d);
                   d = new Date(res.getLong("stop")*1000);
                   rec.setStop(d);
                   this.add(rec);
    }Which then allowed me to have:
    <table>
    <tr><th>Programme</th><th>Channel</th><th>Date</th><th>Start</th><th>Stop</th><th>Prio</th></tr>
    <c:forEach items="${recordings}" var="item">
         <c:choose>
                     <!-- when is running now -->
              <c:when test="${(now ge item.start) and (now lt item.stop)}">
                   <c:set var="style" value="background-color:red;" />
              </c:when>
              <c:otherwise>
                   <c:set var="style" value="background-color:white;" />
              </c:otherwise>
         </c:choose>
         <tr style="<c:out value="${style}" />">
              <td><c:out value="${item.progName}" /></td>
              <td><c:out value="${item.channel}" /></td>
              <td><fmt:formatDate type="date" dateStyle="FULL" value="${item.start}"  /></td>          
              <td><fmt:formatDate type="time" value="${item.start}" /></td>          
              <td><fmt:formatDate type="time" timeStyle="LONG" value="${item.stop }" /></td>          
              <td><c:out value="${item.prio}" /></td>     
         </tr>
    </c:forEach>That's that sorted, I think.... NEXT!
    Is this the correct way to put a var into an HTML attribute?
         <tr style="<c:out value="${style}" />">Cheers
    Paul

  • Multiple line selection for RRI

    Is it possible to select multiple lines  from 1 query and do a RRI to the receiver query. Eg : Select multiple POs and then go to PO details query which shows PO details of multiple POs.
    Also when you do a RRI from 1 q to other , does the filter criteria of 2nd query pop up to the user ?
    thanks in advance ,
    LH

    Hi Lakshmi,
    Yes, it is possible to select multiple lines from one query. It means as you said, if you select multiple PO's i.e., Po's belong to a customer. If 10 PO's belong to single customer, then if you select that customer and Goto RRI in the report, you will get the details of all those 10 PO's in the RRI report. This is done in RSBBS tcode>After creating RRI>Assignment details-->Map the required fields of sender to the reciever queries according to the need.
    When you use RRI, the reciver query, i.e., the second query will contain the filter selection as usual in the normal report when executed.
    Hope this helps u...
    Regards,
    KK.

  • This is not difficult, but 6i makes it so

    Hi guys -
    I am producing a pseudo-matrix report (meaning that it has the look and feel of a matrix, but is actually a simple group left report) in 6i. The report is a statistical summary of certain kinds of employees based on job category and gender. In the report footer, I want to add a breakdown of Males and Females and the percentages they make up of the job categories. I was able to count everything correctly in one query utilizing 3 inline views and subsequently dragging the values up one level per subquery. However, when I try to implement the values into the report, I cannot because they are not in the correct "group". This is highly frustrating because they don't even need to be in a group at all, but nothing I have done seems to be working. I tried adding a second query, popping out the inline views and building a new query and this did not work. I tried making the values their own group and that didn't work either. I tried enlarging the group frame to encapsulate the footer and that destroyed my report. So, are there any suggestions out there that can help me get around this absolutely assanine problem? Thanks in advance.

    Something I usually did when I ran into such problems is that, in the afterpform I inserted in a temporary table all the data needed in the report. Then, the report querries got the data from the temporary table. And I have several querries on the same data that has already been filtered into the temporary table.
    This goes well if you don't have huge amounts of data to show in your report.

  • Webserver processing terminated

    Dear all,
    I have a template ID (from web Application designer) which I call up from a portal using a standard URL. The problem is I call up the template and the Query pops with variable screen. As soon as I enter variables, the processing stops and the message is 'web application processing terminated' with message numer BRAIN 278.
    I have checked with OSS notes and could find two notes but no so relevant info. I am on BW 3.5 with patch level 10.
    If anyone has encoutered this, please let me know.
    Note: This used to work before and this problem has cropped up recently. I am tring to figure out what has happened in the meantime.
    Kind Regards,
    Shravan

    Is the Portal system and the BW system in the same domain?
    Make sure the ICM profile parameter icm/host_name_full is set to the domain in which the BW system belongs.
    Also in the portal system make sure the BW system is configured with the fully qualified URL, the WAS Host Name should be <servername>.<domainname>:<port>
    Thanks.

  • SQL Select Performance - Approached to fetch data from big table

    Hi
    I just wanted to know view on different approached to fetch data from a table which has 40 billion records and which joined to another table which has 1 million record.
    e.g.
    I have two tables TableA and TableB
    TableA has 40 Billion records has 6 columns
         TableA has partitions on Date
         TableA has required indexes
    TableB has 1 Milluion record and has 10 columns
         Table A has indexes
    Now I have written query like
    select distinct TableA.column1,TableA.column2,TableB.columnA
    FROM TableA join TableB
    ON TableA.Column1=TableB.Column2
    WHERE TableA.DateColumn between StartDate and EndDate
    for a given date range it will fetch 5 billion of records which takes around 40 minutes.
    I just wanted to know what all tuning approaches I can follow. What would be the best approach to make record retrieval faster in such a scenario.
    Just wanted to know your vies/experience in such a scenario

    Sufficiently large array fetchsize
    and,
    possibly using parallel query,
    pop into my mind.
    I would be interested though in the business requirement that asks for you to write a program that gets 5 billion (!) rows out of the database...

  • Abort characteristic error in reprot.

    Hi ,
    The query thorough out of BEX with error
    1) : ABORT CHARACTERISTIC 0MAT_PLANT__0CO_AREA is not available in the infocube.
    2) ABORT CHARACTERISTIC 0MAT_PLANT__0PROFIT_CTR  is not available in the infocube.
    But I checked in the info cube ->change for the strucutre and navigational attributes.
    These two characteristics are available int he cube .
    But the query pop up the above error.
    Request your help to solve this problem.

    I checked in char 0mat_plant and I can see that controling area and profit center are linked as nav attributed to the compounding obj.
    when I try opening query desingner it gave me the  error :
    Error : The following objects were not found when accessing server.
    1) Info objects : 0mat_plant__0co_area
    2) Info objects : 0mat_plant__0proft_ctr
    Affected items :
    Controling area
    Profit center

  • Itunes will not import my cd's

    Every time I insert a cd a gracenote query pops up. My firewall is allowing itunes to have full access to the internet so I don't know what to do.

    It cannot.  Your iPod is a format that is neither readable or writeable by a PC.  The only way to make it possible is to use some sort of third party software such as XPlay.
    http://www.mediafour.com/products/xplay
    B-rock

  • Csa policy to give time limited webbrowser access when not on lan

    Hi There
    Has anyone done a policy for allowing users to use a webbrowser for a specific amount of time, when they are off the internal lan ? I have done a policy that classifies webbrowsers when they connect on any tcp port in a system state that off-lan (done by dns suffix check), my problem is that i wan't to secure the webbrowser until the user has logged in to whatever hotspot page he needs to, in order to create a vpn connection, and then be classified as "on-lan". But i can't restrict what addresses this browser can reach, since this is very different from hotel to airport to generic hotspot, so i wan't to restrict the time the user has to login, after which he has to reboot or login to vpn to do anything network related. I have a policy that does all that, except for the time period, only thing the user has to do is close his browser and start it again, and then my dynamic appl. rule gives them another 5 minutes....which is not acceptable. Anyone done this ?

    Hello all
    I have the same issue.
    What I tried is to change the query response from allow to ?terminate?.
    No when the user answers (his only choice is terminate) the browser windows closes and the user can?t open it again. That?s what I want, but he cannot login to some hotspots.
    Then I created I first query with an ?allow? and after 5 minutes a second with ?terminate?. Now the user first selects allow and has then 5 minutes to login to some hotspots and after 5 minutes the second query pops up and he is asked to terminate the web browser. He that can only select ?terminate? and the web browser closes. The problem is that this time, even though this is a ?terminate?, he can open the web browser again and continue to surf without any further queries.
    I haven?t further analyzed this issue, but I think this has to do with the processes and not with the application itself.
    Any ideas are welcome.

  • Runtime error 2147467259 (80004005) Method Position of objectcommandbarfail

    Hi,
    While I tried to open the query pop up screen, it is giving one pop screen with the following message
    Runtime error 2147467259 (80004005)
    Method Position of objectcommandbarfailed
    So Plz suggest me how to overcome this runtime error.

    Hi Venkata,
    You most likely will solve this issue by re-installing the BW 7.0 AddOn (FEP).
    You can check also if you meet the requisites at SAP note 1013139.
    Kind Regards,
    Márcio

Maybe you are looking for

  • How can I add drop shadow to a vehicle that changes direction ?

    Hi, Flash CS5 Is it possible to add drop shadow to plan views of vehicles (vehicles are png images as MovieClips) such that as the vehicles change direction along roads (also png images) the shadow is always cast to north west ot the vehicle ? Buildi

  • Computer Doesnt Remember iTunes authorisation

    I have an iPod Mini. I have purchased music from the music store and it plays on my computer. I plug in my Mini and it updates and plays no problem. However if I restart my computer iTunes forgets the authorisation of the purchased music and I have t

  • Iphoto sync with iMac and macbook

    How I can Sync my iPhoto Library from my iMac with my MacBookAir? On my Mac Book i would have the latest 15 Events or selectet Events like on the iPhone.

  • New Visio stencils posted

    The following Visio stencils have recently been posted or submitted for posting to the Cisco Visio download page http://www.cisco.com/en/US/products/hw/prod_cat_visios.html Wireless Security-Cisco ASA 55xx Security-Cisco ISE Security-Cisco IronPort B

  • Inventory Valuation Difference for Finished Goods

    Dear Experts, I have a following query below when the FG Inventory valuation differences are posted Finished goods price control is set as u201CSu201D Eg: In Jan 2010 stock value 1000 ( 100*10) Feb 2010 , opening stk of 1000 ( 100 units * 10 per piec