Refresh characteristic texts in query result without logoff in Bex 7.0

Dear Experts,
I'm using a query in BEx 7.0 and switched off all caching parameters in RSRT. For instantly reloading values from Cube/DSO this is working fine.
Some of my characteristics are shown as key + text in query result. Unfortulately these texts are not updated during the query reloads. I do not want the user to logoff / logon the report to get the updated texts.
Interestingly, after a refresh the texts for those characteristics are updated immediately for all filter items, but not in the result area.
Could you give me a hint, how I will be able to refresh those characteristic texts as same as the values in the infoprovider? E.g. using VBA makros or by customizing of specific workbook settings?
Thanks for your help!
Kind regards,
Tim
Edited by: Tim Kley on Apr 19, 2010 2:42 PM

Hi,
what have you achieved so far concerning this.
My post from today was also going in this topic.
In Bex update after attribute change run
The setting of this paramter I mentioned there could maybe help in your case.
   transaction "RS_FRONTEND_INIT" add the parameter "ANA_ENHANCE_REFRESH" with value "X"
   o Open the analyzer and connect to system to open WB
   o Click on the refresh button
   o New functionallity "Full Refresh Of Active Queries" is now available.
Best regards Harry

Similar Messages

  • Characteristic texts from Query in APD

    Hello Comiunity,
    In BI 7.0 Iu2019ve created an Query. This Query shows (long) texts for characteristic. When I use the Query in BEx Web Analyzer and BEx Analyzer these texts are displayed correctly.
    Now I have to use the Query as a source in an analysis process in the APD. Result of this analysis process is a CSV file. It seems like the APD doesnu2019t work with the texts for the characteristic. In the result CSV file only the keys of the charactersisics are show u2013 not the texts.
    How can I use characteristics texts in APD? At moment I join the text tables of the characteristics. But is there a more elegant solution for this problem?
    Kind Regards,
    Andreas

    Hi Andreas,
    unfortunately not. APD does only consider the keys (internal presentation) and ignores all kinds of query output properties (display like text, scaling key figures etc.).
    Apparantly, you want to persist the query result in a way which is close to the Bex output, right? I would guess that APD is not suitable for that.
    Cheers!
    Thomas

  • Newbie: accessing sql:query results without forEach

    hey. im new in using jstl, and jsp for that matter..
    im querying my database and i want to access a specific row in my result ""array"" (usually row 0). most of the times my results only have 1 row anw.
    everywhere i looked online had the <c:forEach> example.
    how can I access row 0 in my results without using <c:forEach>, as that could return more than 1 results??
    tnx and sorry for the stupid question

    hey. im new in using jstl, and jsp for that matter..
    im querying my database and i want to access a specific row in my result ""array"" (usually row 0). most of the times my results only have 1 row anw.
    everywhere i looked online had the <c:forEach> example.
    how can I access row 0 in my results without using <c:forEach>, as that could return more than 1 results??
    tnx and sorry for the stupid question

  • Show blank texts instead of key or 'not assigned' in query-result

    Hi,
    is there a way / workaround to
    1. suppress # / 'not assigned' in query results?
    or
    2. show blank texts (if maintained) instead of the key
        (when showing texts for a characteristic in a query all characteristics with blank texts - none or ' ' -
         will show the key instead of the blan text) ?
    Thanks,
    Christoph

    Hi Christoph,
    there have been several posts concerning this topic. As Saad told there is no direct way within SAP standard to reach this aim.
    Depending on the Front-End Tools you are using these posts may help:
    Not assigned and # in BEX 7.0 WAD
    how to set field to blank if the data is # or unassigned
    Brgds,
    Marcel

  • How to output a query results into a text file

    How to output a query results into a text file instead of outputing it to the screen..
    is there a way for us to write a SQL query which specifies to output the query results to a text file.
    Pls let me know how to do it
    Thanking u in advance
    regards
    Muraly

    Muraly,
    If you are using SQL*Plus 8.1.6 or later, you can also spool output to a file in HTML format, eg
    SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON
    SPOOL c:\temp\report.html
    SELECT DEPARTMENT_NAME, CITY
    FROM EMP_DETAILS_VIEW
    WHERE SALARY>12000;
    SPOOL OFF
    SET MARKUP HTML ENTMAP OFF
    In iSQL*Plus 9.0.1 (the browser-based interface to SQL*Plus) onwards, you can also send the HTML output to a new web browser window, or an html file -- much easier than the command line method.
    Alison

  • How to get query result in comma dilimited text or excel file?

    Does anybody know how to get query results in comma delimited
    text file or excel file, I tried spool abc.txt, but the result
    showed some ------ lines
    Thanks

    Try doing this in your sql scripts
    set heading off
    set pagesize 0
    set linesize 4000
    set feedback off
    set verify off
    set trimespace on
    set colsep ","
    spool output.txt
    select * from dual (or whatever you are querying
    spool off
    There may be a couple other set statement that you could add but
    this should get you started in the right direction

  • How to upload the web query result  to CSV/Text file

    Hi,
    Kindly help me on the following.
    1)       I have info-provider (IP), which has info-objects "company code" and "supplier".
    2)       I built a query by putting company-code with a variable in free-charateristics and supplier-code in row.
    3)       When I run this query, it will ask company-code as input and the result will be filtered using company-code.
    4)       For this query, I created a web-template and assigned data-provider to display the data on the web.
    5)       The user wants to enter input company-code='1000' and write the data in a CSV file in a specific directory. i.e, by clicking the execute button (after entering company code) , the result should go to the CSV or text file. i.e. the application should automatically generate the file with query results.
    Note: The user should not use context menu to EXPORT TO CSV OR EXCEL file.
    Please let me know, if there is any tutorial. Thanks a lot advance help.
    Regards
    Kandasamy

    1. SELECT INTO
    Below method will create table when data is inserted from one table to another table. Its useful when you need exactly same datatype as source table.
    Use AdventureWorks2008R2;
    Go
    ---Insert data using SELECT INTO
    SELECT AddressLine1, City
    INTO BothellAddresses
    FROM Person.Address
    where City = 'Bothell';
    GO
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    2. INSERT INTO SELECT
    Below method will need table to be created prior to inserting data. Its really useful when table is already created and you want insert data from
    another table.
    Use AdventureWorks2008R2;
    Go
    ---Create Table
    CREATE TABLE BothellAddresses (AddressLine1 NVARCHAR(60), City NVARCHAR(30))
    ---Insert into above table using SELECT
    INSERT INTO BothellAddresses(AddressLine1, City)
    SELECT AddressLine1, City
    FROM Person.Address
    where City = 'Bothell';
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • Set Text Item To SQL Query Result

    I am trying to set a text item to a SQL query result. Something like the following:
    (I am trying to accomplish this in the SOURCE portion, set to 'SQL Query' source type, of the text item properties)
    SELECT empno FROM emp WHERE empno = :SEARCH_EMPNO;
    This only displays as the literal text when the application renders and not the value from the SQL query.
    I apologize if this has already been posted but I could not find what I am looking for. I have seen posts that reference a pre-region computation but do not know the exact steps to accomplish the results I want.
    Thanks in advance for anyone's time to help me with my issue.
    Kyle

    Scott,
    The literal that displayed (I have fixed it) was the actual SQL statement: SELECT empno FROM emp WHERE empno = :SEARCH_EMPNO;
    I have resolved the issue, using SQL Query as the "Source Type" and Always, replacing any existing value in session state as the "Source Used" for the properties of the item.
    What I was trying to accomplish is a search text item that would return the data for that record in a table into other text items, for each column in that record, for update; based on the search text item as a unique SQL query search for that record.
    Thank you for your quick reply!
    Kyle

  • Using CTRL + F not working to find any text within the query result

    Hi friends,
    I am trying to use find option to find any text within the result section of a query but when I do CTRL+F  the find window appears and I can input the text that I wanted. But when I press Enter it is not giving me any result though the entered text
    is in the query result. I am using Sql Server 2012 Management studio. Any Body please help me. There is a job that I have to search certain things after running a script and now I am doing copy paste to excel and doing searching from there. 

    Prashant,
    Looks like you are trying to do in SSMS, and it is because the result set is in Grid view , if you want to use CTL + F then your result should be in Text format, try to do using CTL + T ( To get result in Text) and then use CTL + F to find any
    text.
    Thanks
    Manish
    Please click Mark as Answer if my post solved your problem and click
    Vote as Helpful if this post was useful.

  • Using the client result cache without the query result cache

    I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
    This is done using a result_cache hint in the query.
    select /*+ result_cache */ * from table
    As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
    The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
    Thanks.

    e3a934c9-c4c2-4c80-b032-d61d415efd4f wrote:
    I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
    This is done using a result_cache hint in the query.
    select /*+ result_cache */ * from table 
    As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
    The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
    Thanks.
    You haven't provided ANY information about how you configured the result cache. Different parameters are used for configuring the client versus the server result cache so you need to post what, if anything, you configured.
    Post the code you executed when you set the 'client_result_cache_lag' and 'client_result_cache_size' parameters so we can see what values you used. Also post the results of querying those parameters after you set them that show that they really are set.
    You also need to post your app code that shows that you are using the OCI statements are used when you want to use client side result cacheing.
    See the OCI dev guide
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#sthref1491
    Statement Caching in OCI
    Statement caching refers to the feature that provides and manages a cache of statements for each session. In the server, it means that cursors are ready to be used without the need to parse the statement again. Statement caching can be used with connection pooling and with session pooling, and will improve performance and scalability. It can be used without session pooling as well. The OCI calls that implement statement caching are:
      OCIStmtPrepare2()
      OCIStmtRelease()

  • How to force Work Item Query Policy to refresh its cached query results?

    I have enabled the Work Item Query Policy on my TFS project.  It works as expected, except when using Visual Studio 2013 with the following sequence of steps:
    User selects Check in Pending Changes from the Source Control Explorer
    User enters in the ID of the work item to be associated to the changeset
    User clicks the Check In button
    Work Item Query Policy displays message ' Work item ##### was not found in the results of stored query...'
    User realizes his mistake, and modifies (and saves) the work item so that it is returned in in the query result set
    User clicks the Check In button again expecting the TFS policy to accept the association
    Work Item Query Policy still displays message ' Work item ##### was not found in the results of stored query...'
    Removing the Work Item and re-associating it does not make a difference.  The only workaround that I have found is to close Visual Studio and reopen it.  Does any one have a better solution than this?

    Our setup is different from the one you are using:
    - User is using VS 2013 Update 4.
    - We are running TFS 2010 SP1
    The test case that you described is different from the one that is causing my problem (that scenario works fine for me as well).  I am trying to associate the check in to the same work item both times; whereas, you are associating it to a different
    work item the second time.  I can consistently reproduce the error using the following steps:
    1) Create a query that returns All Bugs in Active state, and set it as the query for the Work Item Query Policy
    2) Create and save a new Bug
    3) Run the query to confirm that the new bug does not appear in the result set
    4) Checkout a file, modify it, save it
    5) Check in the file and associate it to the bug from step 2)
    - the Work Item Query Policy will issue an error message saying that the work item cannot be found in the associated query
    6) Change the state of the bug to Active, and save
    7) Refresh the query to confirm that the bug now appears in the result set
    8) Check in the file again
    - error message from step 5) will not go away

  • Saving query results to text file

    Hi experts,
    I would like to save a query results to text file.
    The query has desined to the correct structure and I wish the query results will be saved automaticly to text file every time the query is running.
    The query should cintain some sql code that will save the query to text file instead of show the query results.
    What function of SQL should I add to query to achieve that goal. (The query is a long one).
    Thanks in advance,
    Joseph

    If you are talking about Query Manager, it is not difficult to do.  No matter how long your query coding is, just go to the start point of your query.  Then press CtrlShiftEnd to select all the TEXTs.  CtrlC and CtrlV will copy the text (query codes) to text file easily.
    Thanks,
    Gordon

  • Input text query results based on input text

    <input type="text" name="textfield2" />
    hello
    i have this input text and i also have a query that contains
    where field = '#form.input#'
    it is still not displaying the results .
    is there a book or a article on how to do this.
    i just needed to have a input box /text where a user can
    enter a alphanumeric and outputs the query result.
    how do you do this?
    would you guys like to see the code??

    The tag is an Input tad, the input's type is text, it's name
    is
    textfield2. Your query should have something like field =
    '#form.textfield2#'
    From the documentation:
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001252.htm
    jermainestudent wrote:
    > <input type="text" name="textfield2" />
    >
    >
    >
    > hello
    > i have this input text and i also have a query that
    contains where field =
    > '#form.input#'
    >
    >
    > it is still not displaying the results .
    > is there a book or a article on how to do this.
    >
    > i just needed to have a input box /text where a user can
    enter a alphanumeric
    > and outputs the query result.
    >
    > how do you do this?
    >
    > would you guys like to see the code??
    >

  • Saving Workbooks without query results in NW2004s BEx SP10

    Hi All,
    We are currently setting up all of our workbooks, but cannot find the setting which deletes all the query results in the workbook which we had in BW3.5.
    Use to be in Tools > All Queries in Workbook > Delete Results.
    Noticed another post about this, but could not find the answer.
    Any help appreciated.
    Thanks
    Matt

    Put in an OSS note about this. The feature may be returned to BI7 in the future. It has not been carried through from BW3.5.
    You should be warey though and ensure that your sensitive workbooks have the data manually deleted out of them as you can find the workbook with the find utility pretty easily and view the data which has been previously saved. With correct permissions in place you cannot reload fresh data though.

  • Refresh browser causes to increment results

    Hi,
    I have a servlet that is using a database to query results from a survey. The survey has 3 questions and each one of them has 4 possible answers. The query runs fine and displays in the web browser, but once I do a refresh some of the data increments its value at a constant rate.
    Here is the code:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.StringTokenizer;
    public class Survey extends HttpServlet {
    private Connection con = null;
    private Statement stmt = null;
    private String url = "jdbc:odbc:survey";
    private String table = "results";
    private int numQues = 3;
    private int [] numAns = {4,4,4};
    private int num = 0;
    public void init() throws ServletException {
    try {
    // loading the jdbc-odbc bridge
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // making a connection
    con = DriverManager.getConnection(url,"anonymous","guest");
    } catch (Exception e) {
    e.printStackTrace();
    con = null;
    public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException {
    String [] results = new String[numQues];
    for (int i=0;i<numQues;i++) {
    results = req.getParameter("q"+i);
    // test if the user has answered all the question
    String resultsDb = "";
    for (int i=0;i<numQues;i++) {
    if (i+1!=numQues) {
    resultsDb += "'" + results + "',";
    else {
    resultsDb += "'" + results + "'";
    boolean success = insertIntoDb(resultsDb);
    // print a thank you message
    res.setContentType("text/html");
    PrintWriter output = res.getWriter();
    StringBuffer buffer = new StringBuffer();
    buffer.append("<HTML>");
    buffer.append("<HEAD>");
    buffer.append("</HEAD>");
    buffer.append("<BODY BGCOLOR=\"#FFFFFF\">");
    buffer.append("<P>");
    if (success) {
    buffer.append("Thank you for participating!");
    else {
    buffer.append("An error has occurred. Please press the back button of your browser");
    buffer.append(" and try again.");
    buffer.append("</P>");
    buffer.append("</BODY>");
    buffer.append("</HTML>");
    output.println(buffer.toString());
    output.close();
    public void doGet(HttpServletRequest req, HttpServletResponse res)
    throws IOException {
    // get info from file
    res.setContentType("text/html");
    PrintWriter output = res.getWriter();
    StringBuffer buffer = new StringBuffer();
    buffer.append("<HTML>");
    buffer.append("<HEAD>");
    buffer.append("</HEAD>");
    buffer.append("<BODY BGCOLOR=\"#FFFFFF\">");
    buffer.append("<P>");
    try {
    stmt = con.createStatement();
    // find the number of participation
    for (int i=0;i<1;i++) {
    String query = "SELECT q" + i + " FROM " + table;
    ResultSet rs = stmt.executeQuery(query);
    while (rs.next()) {
    rs.getInt("q"+i);
    num++;
    // loop thru each question
    for (int i=0;i<numQues;i++) {
    int [] results = new int[num];
    String query = "SELECT q" + i + " FROM " + table;
    ResultSet rs = stmt.executeQuery(query);
    int j=0;
    while (rs.next()) {
    results[j]=rs.getInt("q"+i);
    j++;
    //call method
    int[] total = percent(results,4);
    buffer.append("Question" + i + ":<BR>");
    for (int k=0;k<4;k++) {
    buffer.append(" > Answer " + k + ":" + total[k]);
    buffer.append("<BR>");
    buffer.append("\n");
    } catch (SQLException ex) {
    ex.printStackTrace();
    // display the results
    buffer.append("</P>");
    buffer.append("</BODY>");
    buffer.append("</HTML>");
    output.println(buffer.toString());
    output.close();
    public void destroy() {
    try {
    con.close();
    } catch (Exception e) {
    System.err.println("Problem closing the database");
    public boolean insertIntoDb(String results) {
    String query = "INSERT INTO " + table + " VALUES (" + results + ");";
    try {
    stmt = con.createStatement();
    stmt.execute(query);
    stmt.close();
    } catch (Exception e) {
    System.err.println("ERROR: Problems with adding new entry");
    e.printStackTrace();
    return false;
    return true;
    public int [] percent(int [] array, int numOptions) {
    System.out.println("==============================================");
    int [] total = new int[numOptions];
    // initialize array
    for (int i=0;i<total.length;i++) {
    total=0;
    for (int j=0;j<numOptions;j++) {
    for (int i=0;i<array.length;i++) {
    System.out.println("j="+j+"\t"+"i="+i+"\ttotal[j]="+total[j]);
    if (array==j) {
    total[j]++;
    System.out.println("==============================================");
    return total;
    Thanks!

    Hi,
    I do encounter similar problem. The root cause was that URL at the location bar of the browser still pointing to the same servlet (which handle the HTTP POST/GET request to update the database) after the result was returned by the servicing servlet.
    For example, in your case the "Survey" servlet URL.
    The scenario is like this.
    1.Browser (HTML form) ---HTTP post ---> Survey Servlet (service & update database)
    2.Survey Servlet -- (Result in HTML via HttpServletResponse)---> Browser (display the result)
    Note that after step 2, the browser's location bar value still pointing to the Survey Servlet URL (used in the HTML form's action value). So if the refresh is performed here, the same action will be repeated, as the result, 2 identical records have been created in your database table instead of one.
    A way to work around this is to split the servlet in to two, one performing the update of database and one responsible to display the result.
    Thing become as follow:
    1.Browser (HTML form) ---HTTP post ---> Survey Servlet (service & update database)
    2.Survey Servlet -- (Redirect the Http request)---> Display Result ServletBrowser
    3.Display Result Servlet --(Acknowledgement in HTML via HttpServletResponse) ---> Browser (display the result)
    Note that now the browser's location bar will point to the Display Result Servlet. Refresh action will be posted to Display Result Servlet which will not create duplication of database update activity.
    to redirect the request to another servlet, use the res.sendRedirect(url); where res is the HttpServletResponse object and url is the effective url of calling the target servlet.
    Hope that this help.

Maybe you are looking for

  • MC.9 report is showing -ve value when MRP controller selected

    Hi Expert, I'm confuse about the -ve value in MC.9. If i run by using Plant as the selection parameter for month 02.2010, then sorted by valuatted stock value(ascending), it will not show me the -ve value for all materials. But if i run the report by

  • Problem in loading applet

    Hi... i m facing problem in loading my applet, my root directory (Chat) is placed in webapps. i m copying my classes in WEB-INF/classes & then in a package, named 'chat'.... which includes all my beans & applets... i m using JApplet component from sw

  • Dynamic creation & selction of rows

    Hi, I am using JSP to dynamically populate & display the database records in a HTML table. I want to select a particular data row using a checkbox. I can create checkbox like below <% while(resultset.next()){ %> <TR> <TD> <input name="ck1" type="chec

  • Icloud useless if apple software wonky?

    After replacing my phone twice, running diagnostics at the Apple store, two restore from icloud and now restore as new phone - all trying to solve strange unpredictable iphone behaviour Apple Genius tells me that I should be using a non-Apple cloud b

  • Infoty 0017 End Date shall it be 31.12.9999 or the actual trip end date

    Hi experts, While makinga an entry with  31.12.9999 in IT0017 & tring to maintain the expense sheet in ESS system does not allow us to maintain it. But while changing the date to actual end date of the trip system allows us to go ahead. Please let me