Query with only characteristic

We have a query on a multiprovider which returns only characteristic value on the row.It seems that this query was running fine previously .I used the listcube transaction on the multiprovider and I am able to see values for the same selection conditions that I used in the report selection screen.
My question is " Is it possible to have a report on the multiprovider which returns only the char."
And futher this query is actually used as a pre-query feeding the Char value(customer) to another query through a replacement path characteristic.
I appreciate all the help I can get .
Thanks,
Bina

Thanks PV.I think that it is so too , but it seems the query was working before..........
Anyway now even if I add a key figure , I have an issue when trying to pass these values through a replacement path variable.i don't know where to look at to solve the problem.
Thanks,
Beena

Similar Messages

  • MDX for a BEx query with a characteristic structure

    Hi,
    I have a BEx query with a characteristic structure in the rows.
    Material     Structure     Measure1
    a-Material     a-Structure     ....
    a-Material     b-Structure     ....
    b-Material     a-Structure     ....
    b-Material     b-Structure     ....
    I am looking to run the query via MDX. Is that possible? If yes, how should be the mdx statement.
    Thank you in advance for your help.
    Regards,
    McGreen

    Hi,
    it will work, so long as you also include the Structure object in the WebI Query panel as a results objects.
    the SELECT syntax is much the same as a 'normal' MDX statement.
    the quickest way to tell them appart is how the Measures are called. normally, it starts:   SELECT [MEASURE.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    however, when you have a Structure, all the declarations from the start of the statement looks like : SELECT [ABC123.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    i hope this helps.
    Regards,
    H

  • Query with = only provides the 'less than' portion of the results

    I have a query that checks dates to be >= start date and <= end date.
    The results are always >= start date and < end date.
    The same where clause in sqlplus works just fine. Is this a bug in BI Publisher?

    Correct, the ipad I was testing with is the ipad air that came out in Oct/Nov 2013 I believe.   Though the iphone 5s is the latest version as well that I was using to test.
    I had 2 expresses connected wirelessly and 2 extremes (both connected via ethernet).   Based on your point about the wirelessly extended I ended up taking one of the Expresses and connecting that via ethernet to extend the network.  When I re-ran the same tests I had the following based on two tests:
    Ipad air:  58.77/38.06   and 55.64/38.35
    Iphone 5s:   37.48/29.12  and 60.08/29.12   (big difference)
    I've done a factory reset a number of times on these devices.  I just tried it again for the one remaining airport express that I'm unable to connect on a regular basis via ethernet.  I need this one connected to the network as I use it for the airplay feature for audio to our sound system.  That thing absolutely does not show up unless I connect it first to ethernet.  

  • Querying with only the specified data

    Hello All,
    I want the following to be happened in a form.
    1. Query the form
    2. Get the data for the specified value
    Can i do this programmatically!?
    could any one of you help me in this.
    Thank you,
    Amarnadh Js

    You can try this code:
    SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||');To check if your default_where is correct, assign it to a varchar2 variable and then display it.
    Here is an example:
    declare
    my_default_where varchar2(32000) := null;
    begin
    my_default_where := 'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||';
    message('my_default_where value is '||my_default_where);
    message(' ',no_acknowledge);
    SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||');
    go_block('RISO_CUST_PO_REQ');
    execute_query;
    SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,' '); -- this is to reset where condition of your block
    end;Hope it helps you,
    Fabrizio
    If this answer is helpful or correct, please mark it. Thanks.

  • Infoset query with cero values

    Hi
    I have an infoset query that reads the information from an infoset. The infoset query is able to read the values, because it shows me values, but everything is cero, although I have values different from 0.
    But if it didn`t find values it would tell me a different message as "No application data found" or something like this.
    Then the problem is, my infoset read values, but everything that shows me is cero, and that´s not true.
    Thanks and regards
    SEM SEM

    Hi,
    What do you mean with the join condition ?
    I have an infoset query with only one ODS inside. I didn´t want to build a query directly to the ODS as I did´t want to mark the flag available for reporting in the ODS, as it already had very importat data and I didn´t want to damage the ODS  data. That´s why I have built and infoset query with one ODS inside, and in this case I don´t understand the join condition....
    Regards
    SEM SEM
    Does anybody know something ????
    Regards
    SEM SEM
    Message was edited by:
            SEM SEM

  • Error in query " Value '' of characteristic  is not a number with  spaces "

    Hi Gurus,
    I am facing an error in a query with the description:
    Error
    Value '' of characteristic  is not a number with  spaces
    System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-
    Description
    This error is occuring in Production system only, the report is running fine in Development environment.
    The error is also visible when I execute it in RSRT, I am not able to find the cause of error through RSRT.
    Can anyone please help me with the possible solutions.
    Thanks & Regards,
    Shreyas

    Hi Juergen,
    thanks for the input, I tried to run the report after loading the master data but still there was no improvement.
    I am not sure why this kind of problem is rising, some of the similar reports on same infoprovider are running fine.
    Please let me know if you know anything about the cause of error.
    Thanks & Regards,
    Shreyas

  • BI 7.0 : Refresh of only one Query with VBA in  a MultiQueryWorkbook

    Does anyone know how to refresh only one query with VBA in a Workbook with several queries on different sheets?

    Hello together,
    thanks for your replies.
    In the backend EHP1 is installed and I think we don't need an extra update for the frontend. But in the VBA code of the frontend the code didn't changed.
    Our BEX Analyzer Addin version is:  7100.4.1100.34
    BEx Patch Level is: Support Package 11 Revision 1606
    The VBA code is:
    Public Function SAPBEXrefresh(allQueries As Boolean, Optional atCell As Range) As Integer
    'In the 7.0 Analyzer, ALL the items in the workbook can be refreshed, but refreshing
    'a query individually is not supported
    On Error Resume Next
      extErrorBegin ("3.x API SAPBEXRefresh called")
      If allQueries = True Then
        Common.MenuRefresh
        SAPBEXrefresh = 0
      Else
        SAPBEXrefresh = 700
        p_extErrorText = "With 7.0, this API is partly supported to refresh ALL items in the workbook, NOT an individual Query"
      End If
      extErrorEnd
    End Function
    As you can see a individually query with this VBA code is still not supported.
    Does anyone know how to change this code or if we need a special update?
    Daniel
    Edited by: Marc Schlipphak on Jan 19, 2010 7:35 PM

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • SQL query to retrieve families with only one generation from a family db

    Hi,
    I need to write an SQL query that would select families with only one generation ((which means a person - or a married couple - with kids) or (a person - or a married couple - with parents but no kids)) from a database containing families. The simplified db structure is:
    person:
    id - int, primary key
    siblings:
    id
    parent_id
    kid_id
    marriage
    id:
    husband_id
    wife_id
    Could anyone please help me? I dont really have any idea how to accomplish that...

    Hi,
    Welcome to the forum!
    Assuming that siblings (despite its name) contains only parent-child relationships, and that the parent_id could be either the mother or the father:
    WITH     got_tree     AS
         SELECT     CONNECT_BY_ROOT  s.parent_id     AS root_id
         ,     LEVEL                     AS lvl
         FROM          siblings     s
         LEFT OUTER JOIN     marriage     m     ON     s.parent_id     IN ( m.husband_id
                                                            , m.wife_id
         START WITH     parent_id     NOT IN     (  SELECT  kid_id
                                               FROM        siblings
         CONNECT BY     s.parent_id     IN ( PRIOR m.husband_id
                                , PRIOR m.wife_id
                                , PRIOR kid_id
    SELECT       root_id
    FROM       got_tree
    GROUP BY  root_id
    HAVING       MAX (lvl)     <= 2
    ;This will get a list of parents who may or may not have children, but who do not have either parents or grandchildren.
    To get their spouses and children (if any) you will have to join this result set to all the other tables. At that point, you can eliminate poeple who do not have ancestors themselves, but are married to people who have more than one generation of ancestors.
    The details of how to do that depend on the details of your tables. If you'd like help, then post a little sample data (CREATE TABLE and INSERT statements for all tables) and the results you want from that data.
    Edited by: Frank Kulash on Oct 14, 2009 4:05 PM
    I'd need sample data in order to test this, of course.

  • Poor query performance only with migrated 7.0 queries

    Dear Team,
    We are facing a serious query performance issue after migration of queries from 3.5 to 7.0.
    I executed a query in 3.5 with some variable values which takes fraction of seconds to display the output. But the same migrated query with same variable entries is taking very long time and giving time out error.
    We are not using any aggregates in the InfoProvider level.
    Both the queries are based on same cube but 3.5 query is taking less time and 7.0 is taking very long time if more selection is done.
    I checked for notes where I didn't find specific note for this particular scenario. I found notes only for general query performance improvement.
    I want to know the reason why only in 7.0 the same 3.5 query is taking a long time and giving time out error. And please suggest some notes or suggestions related to this scenario.
    Regards,
    Chan

    Hi,
    Queries in BI 7.0 are almost the same as queries in 3.x format.
    inorder to check if the problem is in the query runtime (database time) or JAVA runtime (probably rendering) you should try running it from RSRT once in JAVA web and once in ABAP web.
    if the problem is only with JAVA web, than u should take the URL and add &profiling=X at the end.
    after the query execution u can use statistics which will be shown at the top of the page.
    With my experience, the problem is in the rendering phase of the query. Things that could be done is to limit the number of rows shown at each page, that could be done by changing the 0ANALYSIS web template - it's one of the web template parameters.
    Tomer.

  • Input query with dynamic actual & forecast values by month per year

    Hello,
    I am working on a Input ready query for a forecasting application which shows both actuals and forecast numbers and the user will revise the forecast numbers by month
    Requirement: I want to build a Input query for monthly forecasting for the current year. It will be dynamic rolling of months with actuals & forecast data.
    E.g. My report has 12 months for the current year
    and if run the report in May, the months before May has to show the actuals and the months after May has to show the old forecast data so that the user will revise the numbers again in each month and save the data to the real time cube.
    Jan.Feb.Mar.Apr.May.Jun.Jul.Aug.Sept.Nov.Dec
    Act Act  Act Act Act  Old frcst for the remaining months
      user will revise forecast for these months
    So, i am able to create Input query with all restricted key figures( plan kf has change mode set to change, actual kf are not set change) and calculate key figures and all the logic is done on dynamically moving/rolling the data based on the input month of the year.
    But the problem is that i am using cal kf to dynamically roll months, i was not able to set the change option for the cal kf.
    So, how can i make sure that the dynamically changed plan months will open for entering forecast and the actuals months not to change?
    Do you guys have any better solutions in implementing it?
    I really appreciate it your input....:)
    Thanks,
    Srini

    Hi,
    Please look at the following DOC which may be useful to you and if so please grant me point.
    Regards,
    SUbha'
    Input-Ready Query
    Use
    You use input-ready queries to create applications for manual planning. These can range from simple data entry scenarios to complex planning applications.
    Integration
    You define a query that you want to use for manual planning in the BEx Query Designer (see Defining New Queries).
    In the Web Application Designer or the BEx Analyzer, you can combine the input-ready queries with other queries and planning functions to create complex planning applications.
    Prerequisites
    You can define an input-ready query on any of the following InfoProviders:
    &#9679;     Aggregation levels (see Aggregation Levels)
    &#9679;     MultiProviders that include at least one simple aggregation level
    The aggregation levels are created in the planning modeler; MultiProviders are defined in the modeling functional area of the Data Warehousing Workbench.
    Features
    Definition of an Input-Ready Query
    Once you have defined a query on an InfoProvider, you see the Planning tab page under the Properties of structural components (for example, in key figures or restricted key figures). The options provided there allow you to determine which structural components of an input-ready query are to be input ready at runtime and which are not. With structural components that are not input ready, you can also determine whether these components are viewed as reference data or are just protected against manual entry.
    For the structural components, you also have the following options:
    Input readiness of structural components of a query
    Option
    Description
    Not input ready (reference data)
    If they are being used as reference data, the structural components are not protected by data locks to ensure exclusive access for one user because this data serves as a reference for many users.
    This is the default setting.
    Not input ready (no reference data)
    If you want to protect structural components against manual entries but allow changes by planning functions, you can use locks to protect this data for one particular user. In this way you can ensure that the planning function works with the displayed data only and not with data that has been changed by other users.
    Input ready
    You can also determine whether an input ready query is to be started in change mode or in display mode. You find this property in the Query Properties on the Planning tab page. If there is at least one input-ready query component, the query (as long as it has not been determined otherwise) is started in display mode.
    In BI applications that use input ready queries as data providers, you can enter data manually at runtime. For more information, see Performing Manual Planning and Creation of Planning Applications.
    Example
    You want to create an input-ready query for manual planning for a plan-actual comparison of revenues for a set of products. You want the plan data in a real-time-enabled InfoCube and the actual data in a standard InfoCube.
           1.      Create a MultiProvider that includes the InfoCubes for the plan and actual data.
           2.      Define an aggregation level on the MultiProvider which contains the characteristic Product and the key figure Revenue.
           3.      On the aggregation level, create two restricted key figures Plan Revenue and Actual Revenue. For restriction, choose the characteristic 0INFOPROV and restrict it to the plan or actual InfoCube.
           4.      Add the restricted key figures to the key figure structure. Insert Product into the rows. For Plan Revenue, choose Input Ready for the input-readiness option. For Actual Revenue, choose the option Not Input Ready (Reference Data).
           5.      In the query properties, set the indicator that determines whether the queries are started in display or change mode as required.
    Example of an input-ready query
    Product
    Plan Revenue
    Actual Revenue
    P01
    20
    P02
    30
    If you want to keep actual and plan data in a real-time enabled InfoCube, you do not require a MultiProvider for the task described above. Create an aggregation level on the InfoCube and define the input-ready query for the aggregation level. In the example above, a version characteristic acts as the InfoProvider. Create restricted key figures with the plan or actual version and proceed as in the previous example.

  • Problem in query with the u0091Document numberu0092

    Hi,
    I got problem in query with the ‘Document number’
    There are three columns in the cube 1) Document number 2) Country 3) Count
    In the cube there are multiple entries for same document number as below.
          Document number            country          Count
         10000               US          1
         10001               US          1
         10002               US          1
         10002               US          1
         10002               US          1
         10003               UK          1
         10004               IN          1
         10004               IN          1
    When I ran the query on this cube for country US it shows count as 5 but I want count as 3 (i.e. it has to take count only once for the same document no’s)
    Similarly for country IN I want count as 1

    Hi,
    You have to create a counter based on the document number (exception aggregation). There is a How-to paper available for this. It is called: How-to...count the occurences of a characteristic.
    Regards,
    P.

  • Input Readiness of Query with optional variables

    Hi,
    I built one input ready query which is input ready upon execution with only one set of selections, for any other set of selections, it is not input ready.Query is built on aggregation level on the top of multiprovider. There are no data slices built, No lock entries in RSPLSE as well. Is it like if a variable in the selection screen of the query is optional, will it be moved to free characteristic and because of that input readiness of the query will disappear?? In my case, country is authorized variable which is optional. Please let me know if any one has solution for this.
    Thanks,
    Bindu

    Hi,
    Check if:
    1. You have added characteristic InfoProvider in filter area and restricted that to your plan cube?
    2. Any Keyfigure in query will have input-ready cell only if all the characterictics in the aggregation level of that query has unique values for that cell.
    In your case you have moved Country to free characteristic area and might have not provided any value for it as it's optional. So system is not finding a unique value for this characteristic for input-ready cells.
    Enter value for Country variable and then execute, query will be input-ready.
    Regards,
    Deepti

  • Nodes with Only One Lower-Level Node = Hide

    Hi everyone
    Have anyone present this situation:
    Iu2019ve a quey to report inventory aging. It has two hierarchies to show data. In Rows I have Major Markets and in Columns a date hierarchy to show aging Ex: from 0 to 8 months, 9+ and 13+. Of course here I have also value and volume.
    Query reports all values for all major markets fine. When I filter one major market, letu2019s say France also brings detailed figures but when I add any drill down in rows all values goes to cero (0).
    Te estrange is that if you swap drill down order with major markets or drill down by columns with the same characteristic figures come out again as usual.
    I know this sounds like a SAP note but I have not been able to find it either.
    Thanks a lot for your help, and of course points will be assignedu2026..
    Ps. Important, this happen when  option u201CNodes with Only One Lower-Level Node = Hideu201D (this is selected on purpose because there are some repeated nodes in major market hierarchy Ex. France u2013 France and if there is just one value under first node then means that only display of last one is necessary to avoid repeated values).

    Solution we found is to remove flag "Do not display leaves for inner-nodes in the query", directly on the hierarchy.
    Thanks

  • Input ready query with free characteristics

    Hi All,
    Is it possible to include characteristics restricted with variables in free charatceristics panel to make input ready query?
    I am trying to create input ready query with above practice but unable to make query as input ready.
    If I include characteristics restricted with variables in rows or filter then it is working fine. .ie. I am able to input entries at runtime of query.
    Kindly help me out to find the solution as I have to include characteristics in free characteristics panel.

    Hi,
    Any cell in an input query can only be input ready if it corresponds to only one value of each characteristic in the underlying aggregation level. If you have free characteristics in your input query, you will need to restrict them to single value at query runtime to make the query input-ready. Note that putting a characteristic in rows automatically restricts it to one value.

Maybe you are looking for

  • Skype broken to the point of being completely usel...

    Windows 8.1 Skype 7.5.85.102 IE 11.0.9600.17631  I have been frustrated with Skype since I upgraded to Windows 8.  I installed the desktop version and when someone called both versions would ring and after I answered one, the other would keep ringing

  • Program won't load after moving to new computer

    Hi, So, I was having an incredibly difficult time on my mid 2010 iMac trying to use Premiere Pro CC after I had installed new memory.  The program stopped responding and/or anytime I tried to render or encode, the entire computer would restart.  It h

  • Rounding error between FI and CO-PA

    Dear All, We are currently in the process of migrating our NZ business on to our SAP application of ECC6. In CO-PA the Operating Concern Currency is set to AUD and in addition Company Code Currency has also been activated. When a billing document is

  • I can't put my computer to sleep

    Hello. Whenever I attempt to put my computer to sleep it just wakes right back up in about 5 seconds automatically. I formated my hardrive about a week ago (just for the heck of it), however this problem still exists. Can someone please tell me what

  • Assistance in comparing 2 Objects

    I have got a problem... I am currently trying to compare 2 Objects together and checking upon their IDs and after that is done, it will then update the quantity of it... Below is my coding and hopefully, it will share some light on what I am trying t