Overall result in Query designer displaying ' * ' for one kf when executing

Hello
I have a got a kf in which value ' * ' is getting displayed when i have done display overall results for one of my chars. Now what i am hoping is that this can be because there are too many records in the display and the total is too huge and that is the reason it is disaplying * in it. Please can somone guide me if there is some setting that can be done

Hi Tom,
This is because you have different unit or currency in the data record and you can not sum it if they are different unit/Currency therefore system is showing you *.
You can try NODIM(KF) and see if it is adding or try currency or unit conversion at query level so that all records in the query have same unit/currency.
Regards,
Kams

Similar Messages

  • ADF how to display a processing page when executing large queries

    ADF how to display a processing page when executing large queries
    The ADF application that I have written currently has the following structure:
    DataPage (search.jsp) that contains a form that the user enters their search criteria --> forward action (doSearch) --> DataAction (validate) that validates the inputted values --> forward action (success) --> DataAction (performSearch) that has a refresh method dragged on it, and an action that manually sets the itterator for the collection to -1 --> forward action (success) --> DataPage (results.jsp) that displays the results of the then (hopefully) populated collection.
    I am not using a database, I am using a java collection to hold the data and the refresh method executes a query against an Autonomy Server that retrieves results in XML format.
    The problem that I am experiencing is that sometimes a user may submit a query that is very large and this creates problems because the browser times out whilst waiting for results to be displayed, and as a result a JBO-29000 null pointer error is displayed.
    I have previously got round this using Java Servlets where by when a processing servlet is called, it automatically redirects the browser to a processing page with an animation on it so that the user knows something is being processed. The processing page then recalls the servlet every 3seconds to see if the processing has been completed and if it has the forward to the appropriate results page.
    Unfortunately I can not stop users entering large queries as the system requires users to be able to search in excess of 5 million documents on a regular basis.
    I'd appreciate any help/suggestions that you may have regarding this matter as soon as possible so I can make the necessary amendments to the application prior to its pilot in a few weeks time.

    Hi Steve,
    After a few attempts - yes I have a hit a few snags.
    I'll send you a copy of the example application that I am working on but this is what I have done so far.
    I've taken a standard application that populates a simple java collection (not database driven) with the following structure:
    DataPage --> DataAction (refresh Collection) -->DataPage
    I have then added this code to the (refreshCollectionAction) DataAction
    protected void invokeCustomMethod(DataActionContext ctx)
    super.invokeCustomMethod(ctx);
    HttpSession session = ctx.getHttpServletRequest().getSession();
    Thread nominalSearch = (Thread)session.getAttribute("nominalSearch") ;
    if (nominalSearch == null)
    synchronized(this)
    //create new instance of the thread
    nominalSearch = new ns(ctx);
    } //end of sychronized wrapper
    session.setAttribute("nominalSearch", nominalSearch);
    session.setAttribute("action", "nominalSearch");
    nominalSearch.start();
    System.err.println("started thread calling loading page");
    ctx.setActionForward("loading.jsp");
    else
    if (nominalSearch.isAlive())
    System.err.println("trying to call loading page");
    ctx.setActionForward("loading.jsp");
    else
    System.err.println("trying to call results page");
    ctx.setActionForward("success");
    Created another class called ns.java:
    package view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.model.generic.DCRowSetIteratorImpl;
    public class ns extends Thread
    private DataActionContext ctx;
    public ns(DataActionContext ctx)
    this.ctx = ctx;
    public void run()
    System.err.println("START");
    DCIteratorBinding b = ctx.getBindingContainer().findIteratorBinding("currentNominalCollectionIterator");
    ((DCRowSetIteratorImpl)b.getRowSetIterator()).rebuildIteratorUpto(-1);
    //b.executeQuery();
    System.err.println("END");
    and added a loading.jsp page that calls a new dataAction called processing every second. The processing dataAction has the following code within it:
    package view;
    import javax.servlet.http.HttpSession;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    public class ProcessingAction extends DataForwardAction
    protected void invokeCustomMethod(DataActionContext actionContext)
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.invokeCustomMethod(actionContext);
    HttpSession session = actionContext.getHttpServletRequest().getSession();
    String action = (String)session.getAttribute("action");
    if (action.equalsIgnoreCase("nominalSearch"))
    actionContext.setActionForward("refreshCollection.do");
    I'd appreciate any help or guidance that you may have on this as I really need to implement a generic loading page that can be called by a number of actions within my application as soon as possible.
    Thanks in advance for your help
    David.

  • Only overall result need tp be displayed after query execution

    Hello Everyone,
                                        I am requirement on query analysis " OVERALL RESULTS".  The scenario is explained below.
                                I am dealing with  BW HR Reporting. Now if i execute the query  from 2008. 01 to 2008 03. The Result will be displayed for 2008.01, 2008.02, 2008.03. and atlast the overall result. The requirement is , after executing the query for the calday 2008.01. to 2008.03 , i need to get  only the OVERALL RESULT". The details of the individauls months will be taken care at the jump target level.
                               Can somebody give th inputs from your end, so that only the overall results will be displayed.
                               Appreciate your immediate response. Thanks in advance.
    Regards,
    pradeep

    Hi
    How about suppress results on the characteristic properties
    Regards

  • Result Source Query Builder Filter for Content Sources

    I have several content sources that I want to add to a result source as a property filter. It works fine if I just have one but when I add multiple content sources it does not give me all the results. Is there a way to add more than one content source
    filter to one result source.

    Hi SpGurlz,
    How did you set the filter with content source in the query builder for the result source?
    I tested with more than one content source as filter in the query builder for the result source in my environment, and all the corresponding results were displayed fine.
    The query text for the result source was set like this: {searchTerms} contentsource:file1 contentsource:file2.
    Remember to add a space between the “{searchTerms}”, “contentsource:file1” and “contentsource:file2”.
    You can provide the query text of your result source here and I will help to check the logic.
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Show only overall result in query

    Hi Experts,
    I have a problem with a web template that I cannot seem to resolve.  I have a query with calculated key figures and the overall result is calculated as an average so that I can determine percentages etc.  It is only the overall result that my customer wants to see.  However if I remove the sales doc characteristic then the overall result is also lost.  The query needs sales doc to get the correct result, but then the user has to scroll to the bottom each time to see what he wants to see.
    So my question is, how can I make the query/web template display only the overall result line without taking out sales doc and losing each line?
    Many thanks in advance.
    Sean.

    Hi Sean,
    From what I could understand ,you can try the following.
    Since you want the average of a calculated key figure with respect to Sales doc  ,u can set the property of the calculated key figure as aggregation = average.
    and referance characteristic as 'sales Doc'
    Hope this helps.
    Varada

  • Using Query Designer both for 3.5 and 7.0

    Hi all,
    <u>Is it possible to use different Query Designer versions (3.5 and 7.0) parallelly on the same machine ?</u>
    I have customer A using BW 3.5 and new customer B who will use 7.0.
    I need to install Query Designer 7.0 and create reports for customer B.
    But I still need to maintain customer A's queries and they were created via QDesigner 3.5.
    Since I'll just have QDesigner 7.0 finally, if I use it to edit these 3.5 queries, they won't be editable again via 3.5 Query Designer.   Which means they'll seems as corrupt for the customer, since they can't open them with their own query designer (3.5)
    I need to reach all queries for all customer systems via their own version of Query Designer.
    I wonder what's SAP solution to handle this situation.

    Hello Rozz,
    You can run both the query Designers on Bi7.0 System.
    But, you can not access the same query using the both query designers.
    Regards,
    BVC

  • Hibernet query returns null for XMLTYPE data when I use oracle type4 driver

    Hi,
    I am using Oracle type-4 driver, My hibernet query returns null for data type XMLTYPE. But when I use BEA type -4 driver its working fine. Please help me to retrive XMLTYPE data using oracle-4 driver through hibernet query.
    Thanks in advance.
    regards,
    Amaresh

    Hi,
    I am using Oracle type-4 driver, My hibernet query returns null for data type XMLTYPE. But when I use BEA type -4 driver its working fine. Please help me to retrive XMLTYPE data using oracle-4 driver through hibernet query.
    Thanks in advance.
    regards,
    Amaresh

  • Student subscription for one year when graduating this summer?

    Hi,
    I am thinking about buying subscription for Creative Cloud for students and by doing this, I will agree to sign up for one year.
    Since I will graduate this summer, I only have 7 months back of my studies, and this leads me to my question: Can I buy a student license for one year, even though I have only 7 months ? Or do I have to pay full price for the suite for the whole year?
    Furthermore: Am I allowed to use the student license for commercial use?
    Best,
    Louise

    Hi ShearLine,
    The Creative Cloud subscription is not OS specific as it's licensed via your Adobe ID.
    You can purchase a single subscription and use it on 2 machines irrespective of it being Windows or Mac.
    Regards,
    Rave

  • ESS Portal - Timesheet not displaying for one user

    Hello, I have a user who has always been able to access their timesheet via the ESS Portal but now when he clicks on the link for his timesheet all that returns is a blank web page.  There are no errors, and it's not a browser issue because no one else is experiencing this issue and we've tried various browsers, all with the same result. 
    We have single sign on set up for the ESS Portal, and there is a role assigned to the user in core for them to access their timesheet via the portal. 
    This role has not been changed, and if it was, it would seem that all users would have been affected.
    Does anyone know what I can check on the backend (HR master data, payroll, etc.) that would effect the timesheet for a specific user?
    As well, is there anything I should check on the portal for this user which would affect the timesheet being displayed? 
    Thank you.

    1. Review if his timesheet is being generated in the back-end (transaction PT61). If the time statement is generated in this transaction, the problem lies in the portal display.
    2. If the time statement is not generated in this transaction, run transaction PT_ERL00 to review if there are any time evaluation errors for this employee. This report will show all error messages generated for each personnel number.
    3. After reviewing errors, grab hold of a time management consultant and have him/her run time evaluation for this employee. Repeat from step 1 again.

  • BEx Query Designer - Display only Resultrows

    Hi,
    I have a Question, is it possible only to display the yellow result rows of a query ?
    My key figures are dependent from 3 Characteristics, like Partner, Treaty a.o. but I want to see only the Partner and the result row.
    Thanks for help,
    Karin

    Hi,
    If you want to display only result values without key figure values, choose properties of the keyfigure and give 'Suppress Result' in the place of "Calculate Single Value As" then you can suppress the keyfigure values.
    If you want to display only results with out showing the characteristics, right click the char and give display as 'No Display'.
    Vivek.V

  • Query designer display

    Hi,
    In BIW, the query that I have created displays the content alongwith the text "ERROR".  It means the key figure value is coming correctly by concatenating the text value "ERROR".   How will I remove the text "ERROR" in the report.
    Thanks in advance.

    HI
    this is beacuse of your reference to the object, suppose if your using the QTY or AMOUNT you have to metion the reference for those key figures like base unit or ocurrency etc.....even this you have to maintain then only the data will be displayes properly in the report.
    Regards,
    chandra.

  • Approval Query to skip for one Vendor Group - Not working

    Dear All,
    I am trying to create an approval query wherein when a user creates a Purchase Order for a Particular Vendor Group then the approval check is not required and for other Vendor Group approval check is required. The query is as under :
    SELECT distinct 'true'  FROM OPOR T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode INNER JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode WHERE T2.GroupName <> 'Supplier Own Group'
    I don't want that which vendors are in Supplier Own Group check go for an approval process. Means all vendors in this group should get skipped for approval.
    How to achieve this because this query seems not to be working in the approval process because when a user creates a PO whose Vendor group is under Supplier Own Group then also the approval checking is happening.
    Please help how to resolve this issue.
    Regards,
    Depika

    Hi,
    Try this
    SELECT distinct 'true'  FROM OPOR T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode INNER JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode
    AND T2.GroupName <> 'Supplier Own Group' where T0.CardCode = $[$4.1.0]
    Hope this helps,
    Son.

  • How to set input ready query to display mode as default when open workbook?

    Dear All,
    Hi, i have a question here about IP query.
    as my current situation, my workbook included one input ready query, therefore, when i open my workbook which default is Edit mode which mean all value can be edited.
    but, i want it to display mode when open workbook, and i already have a edit button, if i want to edit the value i will use Edit button, so, i wan it as display mode when i first open workbook.
    so, can anyone tell me how to set it as display mode when open workbook which included input ready query?
    Regards
    wenlong
    Thanks a million

    in Data Provide Specfici  commad
    Edit
    Dsiplay
    Filter command
    Assigen Query /Query view
    pls select Edit then save

  • I have an iPod 5 perfect condition iOS 7 except for one thing when I download an app just bought or free it won't show on the home screen now I go to AppStore or search and I can't open it on the AppStore and it dosent show up on search and syncs is

    I have a wonderful iPod 5 but when I download an app it won't show up but it has more than 3 gigs left no matter weather it's free bought redownloaded it won't show up no matter AppStore it won't open the app search dosent show the app. Syncing dosent do anything if you have the same problem or know how to fix this without jailbreak plz tell me!!!!       

    - What exactly happens when you try to redownload directly to the iPod:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store         
    - You said  it won't open the app . What exactly happens?
    Is the app listed is your Purchase history?
    Do you have any Restrictions set that would prevent installing those apps? Settings>General>Restrictions

  • Keeps asking for rpt file when executing store procedure

    Hi all,
      I have coded an standard stored procedure but when I execute it, Management Studio keeps asking for .rpt file to save the results. I am using Enterprise 2008 R2. 
    This is the code:
    USE [mydatabase]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[usp_chart](
    @parameters)
    AS
    BEGIN
     SET NOCOUNT ON;    
     DECLARE @query NVARCHAR(4000)
        DECLARE @total INT
        DECLARE @strDescriptor NVARCHAR(4000)
        DECLARE @dsvalues NVARCHAR(4000)
        DECLARE @strCache NVARCHAR(2000)
        SET @strDescriptor = dbo.udf_chart_derived_descriptor_intotemp(@derivation_Id)
     SET @dsvalues =  dbo.udf_chart_derived_dynamic_query_fortopn(  @derivation_Id,
           @cache_Id,
           @topn,
          @flt_customer_Id,
          @flt_user_Id,
          @flt_datefrom,
          @flt_dateto,
          @product_Id
        SET @strCache = 'SELECT top ' + @topn + 'PERCENT g.Supplier_Id Supplier_Id 
    INTO #T_CacheTopN
    FROM T_CacheSupp g 
    WHERE g.Cache_Id = ' + @cache_Id + 
    ' ORDER BY g.Position'
        IF @strFilter is null 
         BEGIN
    SET @query = @strCache + ';' + @strDescriptor + ';' +
    'DECLARE @total INT;' +
    @dsvalues +
    'SELECT @total = COUNT(*)
     FROM #T_Condition; 
     SELECT c.Condition_Index, ROUND(COUNT(*)/CAST(@total as float),2)*100
     FROM #T_Condition c
     GROUP BY c.Condition_Index';
         END
        ELSE
         BEGIN
           DECLARE @sqlfilter NVARCHAR(2000)
      SET @sqlfilter =  dbo.udf_chart_dynamic_query_filter_fortopn(@strFilter,@product_Id,@topn, @cache_Id)
      SET @query = @strCache + ';' +@strDescriptor + ';' +
    'DECLARE @total INT;' +
    @dsvalues +
    'SELECT @total = COUNT(*)
     FROM #T_Condition;'+ @sqlfilter +
     ';SELECT c.Condition_Index, ROUND(COUNT(*)/CAST(@total as float),2)*100 
     FROM #T_Condition c LEFT OUTER JOIN #T_NotWanted d
     ON c.Data_Id = d.Data_ID
     WHERE d.Data_Id is null
     GROUP BY c.Condition_Index';
         END 
        EXEC(@query)
        RETURN
    END
    When I execute:
    DECLARE
    @parameters NVARCHAR(4000)
    execute usp_chart_derived_fortopn @parameters
    it asks me for a .rpt file.
    Why is that? I am not running a report.
    Thanks

    As other have said, you have set Results to File.
    But since you posted your code, I had a look at it. I was not able to understand why you use dynamic SQL. For instance, this:
        SET @strCache = 'SELECT top ' + @topn + 'PERCENT g.Supplier_Id Supplier_Id 
    INTO #T_CacheTopN
    FROM T_CacheSupp g 
    WHERE g.Cache_Id = ' + @cache_Id +  ' ORDER BY g.Position'
    Can be written as
    SELECT top (@topn) PERCENT g.Supplier_Id Supplier_Id 
    INTO #T_CacheTopN
    FROM T_CacheSupp g 
    WHERE g.Cache_Id = @cache_Id  
    ORDER BY g.Position
    If you can avoid dynamic SQL, your code becomes easier to maintain, and less vulnerable for nasty surprises.
    And if you use dynamic SQL, you should use sp_executesql and pass parameter values as parameters instead of inlining them.
    Erland Sommarskog, SQL Server MVP, [email protected]
    Links for SQL Server Books Online:
    SQL 2008, SQL 2005 and 
    SQL 2000.
    (Just click the link you need.)

Maybe you are looking for

  • Activation of an event in R3 after a file is posted

    Hi experts, I have some scenarios FILE to FILE (from Legacy to R3). In order to process the data in target system, we used to schedule a job just after the file reached R3. However we want to automatize the process. So my question is: is there a way

  • How do I straighten out a leaningn image

    Please tell me how to straighten out a leaning image in photoshop? Thanks.

  • Need help on HP all in one

    I have had the HP all in one 310-1020 for many years. However, there have been corrupt files/viruses so i decided to go to recovery manager and clicked restore to factory settings. It loaded for a while and then shut down. Now the problem is it loads

  • Send large string between servlets in different domain

    Hi, I need to send a large string from servlet in an web application to a servlet in another web application. Those two application are in different domains. I can't send the string as request parameter, bacause string is too large. I can't send as r

  • Error code 1015 on ipohne 3

    how do i fix?