Constant selection in query designer

hi guys
please explain abut
constant selection in query designer 7.o

Hi,
For ex if you had designed a MP using the IC's and  DSO's in which if all the fields are not in common with both the info provides used in the MP you will get the results in 2 rows and the values for the ones which are not in common will be displayed as # in the results.
This can be the case in Infosets as well.
to over come this we use "constant selection"
Check the below link which explain the constant selection with an example.
http://sapbi101.blogspot.com/2010/05/constant-selection-in-query-apples-and.html

Similar Messages

  • Selections on query designer

    Hello gurus,
    I have a question about query designer.
    I have various selections  (cost centre) on  structure. And i want under each selection the detail os costs for each cost centre.
    i have:
    structure:
             selection 1 (cc = 1100001)
             selection 2 (cc = 1100010, 1101101, 1100002)
    and i want the result to be:
    selection 1                  10000
               1100001           10000
    selection 2                  5000
               1100010           1000
               1101101           2000
               1100002           3000
    i tryed to put char cost centre below my structure, but it show me all cc's below each selection.
    How could i do this?
    Thanks in advance.
    Vitor

    Hello gurus,
    I have another question...
    How can I predefine layout as hierarchy.
    i have:
    selection1
    selection2
    selection3
    0comp_code
    0costcentre
    on analyser is displayed:
    selection1 0comp_code1  0costcentre1
                                          0costcentre2
    and so on...
    How could i predefine not to show this form, but instead as hierarchy?
    Thanks in advance,
    Vitor Ramalho
    Edited by: Vitor Ramalho on Jan 16, 2008 12:28 PM

  • Provider Speicifc Properties on MultiCube and constant Selection in Query

    Hi Experts
    I are using BI 7.0, just upgraded to SP24 and having an issue with a MultiPrvider. All of this worked great before the upgrade. Here are the symptoms I am experiencing.  This MultiCube has 2 InfoObjects where "Provider-Specific Properties" are set with a constant value.
    1) If I display data on MultiCube I can only get consistent results if I chose for "Field Selection for Output" and select All SID fields. If I don't get any results if SID fields are not selected for display.
    2) Query on on MultiCube has a Res. Key Fig. using constant selection on Infoprovider plus other Infoobjects.  When I execute I get a dump with errors Brain 222 ( referencing the 2 objects that are set as constant on MultiCube, as well as Brain 635 .  I have researched both have not yet found anything helpful.  Query does execute if I take off the constant select on Infoprovider but then don't get results I want.
    I have tried to re-activate MultiCube. I got warnings on CMP error and inconsistency and messages R7I 114, R7I 127 but activation was successful.
    I would be very grateful for any suggestions.
    Thanks so much.

    Can you try log out and re-login??
    As well when you display DATA, first of all
    1. it ask you select necessary field before you go for FIELD OUTPUR FOR SELECTION
    2. Overthere in SELECTION top menu, SELECT  the second SELECTION menu, and select option "SELECT CHARACTERISTICS" which is the first one.
    3. THen enter
    4. now you go to the screen for FIELD OUTPUT FOR SELECTION, in that Select 4th option "SELECT ALL CHARACTERISTICS"
    and then execute..
    just give a try..
    not sure how far it helps..
    May i know the restriction which stops you running the query..?
    try the constant selection on only one object and try...
    Edited by: SAP BI Learner on Oct 28, 2011 5:30 AM

  • Constant selection and Reusability

    Hi Gurus,
    In BI 7.0,I am facing following problem.
    1.I am using characteristic say ZSITE as constant selection and we use the data in a particular report.
    In Other report we are using ZSITE and expected to see different data but we are getting constant selection data.
    Is there any way that characteristics can be used differently in different reports?If so can anybody give me some idea please.

    Hi Nrupal
    you are talking abt constant selection in transformation/UR/TR or in Bex. If it is hard coded constant in Back-end then the same value will be used in all query as it is attribute.
    if you are putting constant selection in query then i guess it shouldn't be a problem because you define the constant selection in KF property locally in query designer.
    Thanks
    Tripple k

  • What is a constant selection?

    What is a constant selection?

    Hi,
    In the Query Designer, selections are used to determine the data to be displayed at query runtime.
    Navigation and filters are used to alter/ change these selections.
    The Constant selection function marks this selection as a Constant in the Query Designer.
    This constant selection is not affected by the navigation and filter.
    In short, the selection does not/ cannot be changed.
    It remains a Constant
    Hope this helps...

  • Constant Selection - Performance hit ?

    Hi,
    I would like to know about the effect of using 'constant selection' on query performance?
    I have a resricted key figure, restricted by 6-7 characteristics, with 'constant selection' marked for all of these. I have about 10 RKFs like this in the query definition.
    How does this affect the performance. I read somewhere, but dont remember, that infact it slows down...Would like to hear what experts in there think about this.
    Thanks alot
    Gova

    With Constant Selection, the restrictions in the key figure are NOT affected by the navigation and filters.
    Shooting from the hip, I would say performance impact really depends on the restrictions of your constant selection vs other navigations/filters.
    If your constant selection restrictions are much less restrictive than other navigations/filters, the query has to read the larger amount of data to satisfy the constants, e.g. you query a particular Bus Area, but RKFs with constant selection do NOT include the Bus Area filtering, the query will have to read all Bus Areas.

  • Constant Selection in BEx Query Designer on BI7

    Hi guys
    According to this blog <a href="/people/prakash.darji/blog/2006/09/19/the-hidden-secret-of-constant-selection Selection</a>, we can create constant selection on both Characteristics and Key figures. I understand how to do it with restricted key figures.
    Can anyone give me a step by step guide on how to create constant selection for a Characteristic in BEx Query Designer on BI7. I can't find options for 'constant selection'
    Or is this the same thing when you include or exclude values?
    Message was edited by:
            jimi ogun

    Thanks Krishna
    I am actually using a Multiprovider for my queries but business requirements mean I need to create joins.
    I am trying to avoid Infosets and I believe another way is to use the Constant Selection feature in Query Designer.
    Going back to my previous posting, I know how this is done with a restricted KF but I don't know how when it comes to characteristics.
    Can anyone help?

  • BEx: In Query Design I can't EXPAND Dim to select Char (missing + sign)

    Hi,
    I am in BI 7, but created some queries in RRMX i.e. the 3.x query designer.
    I went back to create a new query and I see my InfoArea but no means to expand it to select a cube, missing + sign and I can't expand the InfoArea.
    When I managed to open one of the old queries, in the query design, I see my design but all the Dimensions are missing the + sign and I can't expand them to select characteristics;
    In the same token, I can't expand the KEY Figure tree to select key figures, etc.
    Any help?

    Hello Amanda,
        1) a   There is no such rule as when to use query designer or analyzer. Essentially creating a query is done in query designer only. The only thing when using analyser to open query designer is that you can directly go to that query and change it and run the same in the analyser(Excel). To change a query when you directly go to query designer, you need to open the query manually using the "open query" button and you cant execute the report in excel from there(only web). As you can see there is no real difference, in my personal experience using query designer and then running the query on the web is much faster than using the analyser. Also excel has a limit of 65536 rows after which you cant really display the result. There is no such limit in the web analyser.
            b) Report designer is just for creating reports that look good when they are printed basically. You can refer the following link for more info.[http://help.sap.com/saphelp_nw70/helpdata/en/43/5fc0680a876b7de10000000a422035/frameset.htm]
    2)      There may be a problem with maybe the patch level or something. No real idea why this is occuring. You can definitely open the report in excel using the BI7 analyser. Programs -> Business explorer ->Analyzer.
    Regards.

  • Selection varuable on Compounded Info Object in Query Designer

    Hi,
       To identify  the inconsistencies inconsistencies in the source system abt the description
    I am Text Description of Application Status Source System dependent
    Application Status is compounded on Source System....
    There will be 3 values for Application Status
    N - New
    R - Renewal in Progress
    C - Complete
    And i had 12 Different source Systems
    As per my requirment i made selection variable on Application Status in the Query..So if the user want to see all ther complete application he has to select 12 different values (App Status is compounded on Source System)
    Is there any way that i can fix this in query designer so that user will have a option to select either of 3 Values (N,R,C)
    Thanks

    Hi,
    Yes, it is simple.You have to create a variable on "source system" too and put it on the selection screen. Make it mandatory and put it above the variable for application status on the selection screen. So after the user selects the system from which he wants the data, he will see only three options in the F4 help of the "application status".
    Regards,
    Shweta
    P.S. Assign points if it helps.

  • As Bex Query design why I canu2019t select from list in values range

    Hello experts,
         I want to pop input window when I use analyzer run bw report, I know to add filter through restrict, then I selected value ranges, it was appearing between input text, the button canu2019t let me input, I tried select from list, Bex Query design occured some errors, if click u2018exitu2019 will prompt unknown software exception(0xc00200001) then stop .
    the imange: [http://www.itpub.net/thread-1192217-1-1.html]
    How to input text or select list? Why My Bex query design canu2019t do select from list? 
    please let me know the soultions, thanks for you help in advance
    Regards,
    Steve

    first of all, thanks for your help.   if need to install batch, please let me know. many thanks .
    more infomation as belows:
    the windows prompt:
    Your application an unhandled exception occurs. If you click [continue], the application will ignore the error and try to continue. If you click the [end], it will immediately close the application.
    I clicked more detail button , displayed as belows:
    For more information call using Just-In-Time (JIT) debugging details
    Please refer to the end of this message (instead of this dialog box) information.
    Exception Text **************
    System.NullReferenceException: Object reference not set to be the implementation of individual objects
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.HandleUnhandledException(Exception iException)
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
    in System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    in System.Windows.Forms.Control.WndProcException(Exception e)
    in System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    in System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Control.set_Visible(Boolean value)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    in System.Windows.Forms.Form.ShowDialog()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.GetUserSelection()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.ShowSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.InvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.OnInvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.picValueHelp_Click(Object sender, EventArgs e)
    in System.Windows.Forms.Control.OnClick(EventArgs e)
    in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    in System.Windows.Forms.Control.WndProc(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    inSystem.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • Problem with 0FIGL_VC1 when use constant selection in the query

    Please kindly help me. I have this problem for 2 weeks already.
    When I create a query from virtual cube 0FIGL_VC1 (balance sheets / p&l statements), if I use constant selection in any of key figure, my report could not display financial statment correctly. 
    My report layout
    Columns :  key figures  (including 0FIGL_VC1_CK001)
    Rows:  0GLACCEXT  (financial statement item) << as hierarchy
    Initially, the query is processed correctly.
    However, based on the requirement from my customer, I really have to use "constant selection" for some of my columns. Whenever I do so, the query display incorrectly. (Some nodes of financial statement item just disappear. (it seem like all contra item will disappear.)  
    Please help!

    If I dont use constant selection in the query, data are display correctly.
    But If I use constant selection in the query, some financial statement item dont display any value
    Example :
       Financial statement item(Display in hier)     Period1   Total Period1(Constant selection)
                 A                                                       10            60
                 B                                                       20            60
                 C                                                       30            60
                 D                                                       0              60
    - Financial statement item "D"  has some value.
    - Financial statement item "D"  is in the hierarchy,one gl account has been assigned to more than one group differentiated by debit/credit indicator.
    Please help!!

  • Error when selecting date range in query designer

    hi all,
    when iam trying to select date range in query designer like 01.04.2009 to 10.04.2009 it has to select only that dates where as it is selecting all the dates in between those like 010.04.2009,01.03.2009,01.02.2009.why this is happening ,iam unable to understand.plzz help me in this issue.
    Vamshi D Krishna

    hi ,
    i have created a variable as you told but no use.still i have to select the dates manuallyone after the other.for more user friendly can i have a calander where i can select date ranges.is it posible to have calander for selecting date ranges instead selecting dates one by one,if posible i request you to give  the detailed steps.plzz guide me in this issue.thanks in advance.
    Vamshi D Krishna

  • Percent and Constant Selection

    Hello,
    I need your advice concerning a BEx Question.
    I have created a query like this :
    - 2 rows defined by restriction with constant values on the Cost Center characteristic
    - 1 Total Row done by formula = Row1 + Row 2
    - Key figure 1:  0QUANTITY
    - Key figure 2 : This quantity in %.
    What i did :
    Row 1 = Selection on 0COSTCENTER for A,B,C values
    Row 2 = Selection on 0COSTCENTER for D,E,F values
    Row 3 = Formula = Row 1 + Row 2
    Key Figure 1 : 0Quantity
    <b>Key Figure 2 : i don't find how to create this percent.</b>
    The famous SUMCT & SUMGT functions doesn't work because i use selection in the rows so there is no Total line.
    Coud you give me ideas or maybe you already have solved this problem ?
    Thanks in advance for your precious help,
    Cyril.
    EXAMPLE :
    If we have the result :
    | Quantity |
    .GROUP1..
    ...30.......
    .GROUP2..
    ...20.......
    .TOTAL.....
    ...50.......
    <b>Id' like to create another colum % :</b>
    | Quantity |....%...|
    .GROUP1..
    ...30.......
    ..60%..
    .GROUP2..
    ...20.......
    ..40%..
    .TOTAL.....
    ...50.......
    .100%..

    Solved.
    I used the "Define Cells" button in the query designer (between "properties" and "conditions" buttons).
    I verify every day the sentence :
    "The best way to solve a problem is to explain the problem"
    Cyril

  • Constant Selection in Restricted Key Figure

    Hi Gurus,
    I am using BeX 3.x and in one of the reports, we use a restricted key figure that has the Profit Center Object[restricted to a few Hierarchy Nodes] and a Key Figure.
    But there is an option called 'Constant Selection' that is selected in the Profit Center object in this restricted key figure. Can you please tell me what checking the 'Constant Selection' option would achieve?Can you explain using a simple example how it works?
    Thanks a lot!!!!

    Hi,
       The Constant Selection function allows you to mark a selection in the Query Designer as constant. This means that navigation and filtering have no effect on the selection at runtime. This allows you to easily select reference sizes that do not change at runtime.
    For More info, refer to this link.
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm]
    Thanks & Regards,
    Pradeep

  • Text value is not getting displayed in Query designer !!

    Dear experts..,
    i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact text value but after generating the report instead of text value , key value is getting displayed....so how can i get text instead of key value??
    please help me friends....
    i have posted in OSS mesage also...i got a reply like...even i didnt understand his reply too...what he is trying to say?
    whether can i get text display or not???
    can any one help me in this regard???
    SAP Reply----
    Hello kumar,
    After another analysis I have to inform you about general concept of
    "compounded characteristics".
    A compounded characteristic bounds two characteristics. The technical
    name is generated by both technical names of the two characteristics
    combined by two underlines "__".
    An individual text is only available for one single combination of both
    characteristics.
    Example:
    =======
    Compounded characteristic "Famous family name" is a combination of
    characteristic "COUNTRY" & "ETHNIC". Technical name: COUNTRY__ETHNIC
    Values for Country: USA, Australia
    Values for Ethnic: Asian, Latino
    Possible value combinations with individual text:
    USA & Asian; text: "Ling"
    USA & Latino; text: "Sanchez"
    Australia & Asian; text: "Chu"
    Australia & Latino; text: "Garcia"
    (Keep in mind the individual text only valid for the specific
    combination.)
    In analogy to the issue that you reported, you want to restrict this
    compounded characteristic. In the window where you select the restrictedvalue (called Selector) you'll see on the left hand side all available
    combinations of the characters with an individual text.
    You select family name "Chu" and drag'n'drop it to the right side.
    Actually you can only restrict the right compounded characteristic. In
    our example you would restrict on characteristic "ETHNIC" with value
    "Asian". (When you switch on technical names this comes more clear). Thetext "Chu" is displayed in the context of Selector because you selected
    value combination Australia & Asian. But in the end it's just a
    placeholder(!) for any combination of characteristic "ETHNIC" and value
    #Asian#; in our example it could be USA & Asian "Ling" or Australia &
    Asian "Chu").
    By leaving the Selector the individual text is gone because now the
    context is lost between the two characteristics. You have just a
    restriction on characteristic "ETHNIC" with value "Asian". An individualtext can't be displayed because the compounded characteristic is not
    specified for this restriction.
    You're right, it is confusing when "loosing" the text of a restriction.
    But accoring to the concepts of the compounded characteristics it
    is a correct behavior.

    Hi anandkumar,
    I belive this issue can be resolved by changing the  Query proprties for the perticular field.
    Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
    __Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
    FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
    Hope this helps you!!
    Best Regards,
    Maruthi

Maybe you are looking for