Variables in the query based on infoset

Dear all,
   I defined a variable on an infoObject in the query designer. However, when this infoObject was used in the infoSet, the variable I defined could not be seen. So in the infoset how can I use the variable I defined in other query not based on infoset? Please advise. Thanks.
Jin Ming

I have the same problem:
I created an Infoset where I am using an Infoobjet that is used in a Cube.
I have defined variables on this Infoobjet but one of them cannot be used in the new Infoset even if in the new Infoset the links between infoobjets are the same as in the Cube.
Thank you for any help.
Stanislas

Similar Messages

  • How to change Global variable in the query

    Hi,
    I have 6 reports which is using 0PDT as a global variable and has single option as a property. Now I want to change this property and have multiple selection but I am not able to change its property.
    I am able to see all the filter variables from the query property and from there I am getting edit option to change but the "single selection" option is grey/disable which is preventing me to make change in this variable. Is there any way that I delete this variable and create a local variable which has date range option.
    This is affecting all my reports and all the report needs date ranges instead of single select option.
    Thanks,
    Shivani

    Shivani,
        You can change the restrictions with new variable(right click on required infoobject and choose restrict -->> choose variables -->> move existing variable from right to left and move  new variable. Then you can see only one variable.
    You can not delete any variable if is using in some queries.
    how to restrict:
    Srini<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm">Restricting Characteristics</a>

  • Providing access to Variables in the Query Designer

    Greetings experts and fellow consultants,
    I have a simple question, did a search and did not come up with much of an answer.  Currently, we have a system with a role for BI Power Users in order for them to create ad-hoc queries.  An issue we found was that these power users were not able to view variables within the query designer:
    Under the "Characteristic Restrictions" pane, the variables show up as (Display Not Allowed) under their associated InfoObjects.  This is presenting an issue (understandably) and I would like to provide access for these power users to see the variables.
    My question is, are there any circumstances where I would want to restrict which variables are shown to the power user?  Right now, I plan to allow display access to all variables (via S_RS_COMP+S_RS_COMP1 for those informed on Security).  Just trying to brainstorm on whether there might be scenerios where I would want to hide certain variables.
    Many thanks to all opinions, as always!

    Suresh, in my above post I knew how to enable this.  I just wanted to know in regards to security whether there were any exposures.  Apparently, I could not find any and the changes went through without issue.  The way you enable display of variables in the Query Designer is the following:
    S_RS_COMP:
    RSINFOAREA '*'
    RSINFOCUBE '*'
    RSZCOMPTP 'VAR'
    ACTVT '03'
    S_RS_COMP1:
    RSZCOMPTP 'VAR'
    RSZCOMPID '*'
    RSZOWNER '*'
    ACTVT '03'
    Hope this helps.  Of course, adjust the field values are you see fit but the minimum requirement is that RSZCOMOPTP 'VAR' (Variables) and ACTVT '03' (Display).

  • Want to See Selected Input Variables in the query output

    Hi al
    My client gives a requirment like they want to see selected variables in the query output. Like suppose if i am  entering Profit center, controlling area, version, caldayas a input on the screen. Now they want to see only Profit center and version on the query result.
    Please let me know if any one has this solution.
    Regards,
    Amit Shetye

    Hi
    Can you please give us user requirement and according to ure requirement so we given replies . If ure requirement please explain detail
    But it is not neccessary that we can put something in free char and all. Inspite of that they wanted to select the input variable as per their requirement. They dont want to restrict them in Free char.

  • Search on key or text in query (based on infoset)

    Hi all,
    I've build an infoset based on the masterdata 0employee and an ODS. After that I build a query on the infoset with in the rows the object 0employee. On this object I created a user-entry variable. By executing the query, the variable screen will be available. When I click on the search button (or F4) I only see the key values. I want to display also the TEXTvalues, is this possible...and what is my action to do?
    I hope my question is understandable
    Regards,
    Pieter

    That is strange.  I havent seen that happen.
    Sometimes infoobjects have too many attributes and you may have to scroll a long way to get to the texts. 
    or does it just show the keys and nothing else ?
    Did you check what the default description is set for this infoobject on the BEX tab page in infoobject maintenance.  Are you filling up the text in the default (short Text)  or are you filling up some other length.
    Check the filter display box on this tab as well to see if you have the appropriate selection.  Try changin it to see what happens.
    Message was edited by:
            A S

  • How to increase performanceof query based on Infoset?

    How to increase the performance of a query based on a Infoset?
    As per designing of query, all the necessary fields are placed where they are required.

    Hi  Akshara ,
    To improve performanceof query try to remove unnecessary characteristics, attributes, or key figures ,Superfluous conditions or variables .Large InfoCubes and Complex hierarchies .Variables populated by user exits
    For characteristics specify either variables or restrictions .
    You can create indexes on DSO and Aggregates on cubes (if any).
    Please go through the links :
    http://help.sap.com/saphelp_crm40/helpdata/en/77/4a213cc534f20ae10000000a11402f/content.htm
    Re: Performance of query built on infoset
    Query performance issue - Infoset query
    Hope you will find this helpful.
    Regards,
    Jaya

  • Webi base on BW query based on Infoset comes back with wrong values

    Hello:
    I have a Webi report on an OLAP Universe, on Bex Query.
    The bex query is based on 1 INFOSET.
    When I run the webi report the values that comes back a totally wrong values.
    The correct results are not brought back.
    When I do a test with crystal reports to the infoset, I can see the correct values.  (I'm aware crystal uses different drivers).
    The test is BW query designer, and crystal brings back proper values from Infoset based BW query.
    Webi on Infoset based BW Query comes back with wrong data.
    query is simple.
    Pull in 3 attributes, 3 key figures, where componentkey = "111"
    I get 36 rows in Crystal and 36 rows in Bex Analyzer, 36 rows in BW query designer (web analyzer).
    I get many rows in webi (almost like a CARTENSIAN product).
    I search a round this forum but still did not see a conclusive answer to this problem.
    But I see another thread that several others faced this same issue without a resolution.
    My environment.
    BOE XI 3.1 SP2
    No fix packs
    SAP IK 3.1 SP2
    HPUX-IA64
    Thanks in advance for any help.
    Dwayne

    Was this problem ever solved?
    I am having a similar problem with an infoset based query.
    I have created the BW infoset, and confirmed that the correct data is returned from the underlying infoproviders. A simple BW query on that infoset yields the same results.
    Create the universe, and then the WEBI, and WEBI now shows hundreds of records where I expect 10. Data is being returned in WEBI that definitely shouldn't be there. It's almost like the restrictions applied in the characteristic restriction area of my BW query are being ignored, even if I include them in the WEBI query.
    Cheers,
    Andrew

  • How to find the variable in the Query?

    Hi Expert,
    I test the BEx query by the tfcode RSRT1, after exectued,  Go to "Info" tab and we can see the "Variable Values" colum, however, the variable values dont show all variable defined in Query, do you know which type of varible will show in this colum? Thanks very much.
    Best Regards,
    Andrew

    Hi,
    The reason you are not able to see all the variables in query designer while they are there in RSRT1 is that:
    1. Their might be some condition used in your report which need user input
    2. Their might be a restricted Key Figure with restriction based on user input
    In order to see all the variables in query designer available in RSRT1 report. Go to properties tab on the rightmost side in BI7 and select the Query. Now click on variable screen tab here you will see list of all the variables used in the report.
    Regards
    Shubh
    Edited by: Shubh Karan Rathore on Nov 16, 2010 10:57 AM

  • How to hide a variable in the query?

    Hello everyone,
          I don't know if my framing would be correct but i would like to explain my problem first. I have a query with a variable in the result but with defaulted values. I don't want this variable to pop up when i am running a report. I don't want the users to know that this has been defaulted or i just feel it unnecessary for them to see this variable. So is there a way to avoid it or hide it. Ex: i have a varible with Cal day and Plant as optional variables and the third is Document number which i defaulted from 500 to 599 but i don't want this to popup while running the query or refreshing the report. Just fyi this variable has been used in the columns part as a selection with one key figure and one characteristic.
    Hope i am clear,
    Would surely appreciate any of your comments.
    Anjali

    Hi Anjali,
    Modify the document number variable and uncheck the "<b>Ready for Input</b>" check box. This will not display the Document number variable to the user.
    Hope this helps.
    Cheers,
    Demetrius.

  • Using variables in the Query Designer

    Hi,
    I have 2 variables 'Z_COMP_CODE' and 'Z_BUS_AREA'. The type of 'Z_COMP_CODE' is single value ,customer exit and ready for input . The type of  'Z_BUS_AREA' is selection option,customer exit and not ready for input. I want the 2 variables to work like this: when 'Z_COMP_CODE' has the value '3000', 'Z_BUS_AREA' should have all the values excluding '2106'. Now in CMOD I have written the following codes for 'Z_BUS_AREA', But it does not work. 'Z_BUS_AREA' get no value while the query is running.Can somebody tell me how to correct it?thx.
    WHEN 'Z_BUS_AREA'.
    IF i_step = 2.
             READ TABLE i_t_var_range INTO l_s_range_v
                WITH KEY vnam = 'Z_COMP_CODE'.
             IF sy-subrc EQ 0.
               IF l_s_range_v-low = '3000'.
                 l_s_range-low = '2106'.
                 l_s_range-sign = 'E'.
                 l_s_range-opt = 'EQ'.
                 INSERT l_s_range INTO TABLE e_t_range.
               ENDIF.
             ENDIF.
           ENDIF.

    It should be Customer Exit only.
    Your code looks like ok to me. Have you tried to debug it? is l_s_range taking values?
    Also i don't know much abt insert statement...may be same as append...but just try with append statement also.
    Message was edited by:
            KJ (Kamaljeet)

  • How to hide Text Variable in the Query title

    Hi guys,
    here again in a very easy pratical issue.
    I need to insert a text variable in a report title.
    The variable is updated with an exit and the text is get once the query is executed. This works fine.
    My problem is that in report selection (so opening the query and between queries available for an Infoprovider) I see the tech variable name of the query. Do you know if there is a method to hide the variable or if it is possible to valorize it when the report title in the report selection is displayed?
    Thanks in advance
    Bye!

    Hi, thanks for your answer.
    Also SAP marks this as a limitation.
    Bye!

  • Sub Queries VS  Variables in the Query

    #1
    for i in ( select a.name,b.price,a.date from
    list a, sales b
    where a.header_id=b.header_id
    and b.date_key= (select date_key from date_tab
    where date_field=trunc(sydate))
    loop
    end loop.
    #2
    select date_key into v_date_key from date_tab where date_field=trunc(sydate);
    for i in ( select a.name,b.price,a.date from
    list a, sales b
    where a.header_id=b.header_id
    and b.date_key= v_date_key)
    loop
    end loop.
    Please advice me , using the sub queries(#1) or substution variable (#2) in the condition part will improve the performance of the query.
    Thanks

    Most likely, there won't be a difference in performance.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Variables in the Query

    Hi All,
    I had designed a query in bi 7.0 and assigned a variable for an infoobject with ready to input field checked.But while executing the query i am not getting the variable for input and directly getting the query result.
    Please tell me how to solve the problem.

    pratighya,
    I can explain what I experienced in 3.5
    With this option (Change variable values) under "Change query view" (pencil on a white paper Icon) you can set:
    - in case you have created a variable where you can select the calendar month (0calmonth) which is ready for input
    --> you can set that this variable should always get the value '01.2007' despite the fact that this is ready for input. You can do this under
    1.  "Change variable values"
    2.  input "01.2007"
    3. change the face symbol to "smiling one"
    After running the query the variable always get the "01.2007" until you change the face symbol back to the original status.
    I hope it helped to understand the function of this "SMALL FACE ICON"
    MG

  • How to find the query name using infoset name

    Hi Experts
           Iam new to the sap queries(SQ01,SQ02), some queries already created.
          now i want to do some modification, my problem is i am not able to find the query name.
          I know the infoset name, can you tell me how to find the query name using the infoset name, is ther any table for this.
    i tried in sq01 also, but its confusion, pls advice me on this.
    thanks in advance.
    regards
    rajaram

    Hi
    try like this..
    SQ02 --> go to --> Query Directory..
    from there you can get all the queries belong to a Infoset.

  • REG : the Variable in the query........

    Hi,
    I changed one attribute to 15 chraracters , variable was created on this attribute in the query  when I run the query with the new value(more than 10 char now) in the  selection condition I am getting the following message
    "value G57004040190  for variable  b number is invalid.."
    Do I need to do any change in the query or variable...like saving the query again
    Please let me know for solving this error....
    Regards,
    Jeetu

    Sorry frinds for late reply...
    Actually I didnt have authorization to perform what you told because I was in production.
    But one strange thing happened it got automatcally correct after some time. Might be after some time it automatically refreshes the information.
    Thanks
    Jeetu

Maybe you are looking for

  • DB12 is Now Showing Accurate Data ,

    Hi Experts, Kindly Help me to fix the problem. I am Using R/3 Entp . with MS SQL DB. When Checked the Backup status from DB12 and RZ20 it is Showing wrong Information, My backup team Confirmed that they have the Succesful backups. Not sure why it is

  • N95 RM-159 V 20.0.015 Pictures quality [HELP].

    After upgrade firmware in my N95 pictures looks realy bad now. Before everything was ok. Can someone tell me why? What I done wrong? Can I put old firmware in to my phone?Message Edited by adam_wlkp on 03-Dec-200702:49 AM

  • VideoJukebox stop streaming

    Hello there all you flash gurus and experts! I'm trying to learn how to use the VideoJukebox sample that you can download from: http://www.adobe.com/support/documentation/en/flash/samples/ My problem is, that I'm adding the child swf (videojukebox) t

  • Open object in camera raw

    When i try to open a raw file in photoshop camera raw it used to have  a button then that said open image - it now says open object. By pressing shift and click it returns to open image briefly - how can i get it back to open image as the default?

  • Computers not seeing Time Capsule

    Hello, I have a Macbook Pro and a G5 Mac pro and I bought a 2 Terabyte Time Capsule to back up my files on. When I originally tried to set it up, I went into Time Machine in the System Preferences and my computer saw and recognized the Time capsule.