How to exclude values in the query designer

Hi everybody,
i need your help!
I need to exclude certain information from a report, but as could enter new values in the future, I see it now.
Ex.
CreatedBy contains the following values:
MSanz
PRojas
Soporte
Soporte1
Soporte2
I need to exclude anything value that is Soporte* for first report
and the second report include anything value Soporte*
first report
MSanz
PRojas
Second Report
Soporte
Soporte1
Soporte2
thanks for your help
Manuel
Edited by: Manuel Sandoval on May 30, 2008 6:35 PM

Hi Manuel,
There are two ways to exclude the fields of Createby.
1. Excude Soporte,Soporte1,Soporte2 in the first report.  Select createby -->, right click >Restrict> select  Soporte,Soporte1,Soporte2  and pull from left to right > right click(3 fields)> exclude.
Similary for second report exclude MSanz, PRojas.
Or
After restricting include only the necessary fvalues  from right to left for creteby field.
Best method is include one, for performance point of you.
Second approach is create two user exit variables. one to include Soporte,Soporte1,Soporte2 (3 values) in the variable and second variable to include MSanz, PRojas. You can maintain these two variables values in the tvarvc table and use these variable  in the reports directly. This approach is very very useful if you want to use this variable in many reports ex, 10 or more. Directly you can drag createby and its corresponding variable.
Choose the best approach for your requirement.
Hope it helps.
(assign me points)
Thanks
Lasya.

Similar Messages

  • Restrict the values in the Query Designer

    Hi Guru’s,
    I want to Restrict PLANT or  SALES ORG  values in the Query Designer, in the Query, PLANT has selected in the rows and having variable and SALES ORG is display attribute of the PLANT. In this scenario How can we Restrict the values?
    Thanks in Advance,
    Ravi.

    Hi Ravi,
    You cannot restrict values on the display attributes. Better change it to navigational attribute and check the box as navigational in the cube.
    Regards
    Ram

  • How to left trim in the query designer?

    Hi all,
    I have a sceanario like zcust_details contains   abcde/1000276  where 1000276 is the customer code (sold to party) how do i truncate this in the query and then reference this field to solto party.
    The issue is when the user run the query abcde/1000276   is been displayed but users wants 1000276 text to be displayed which is not been captured in bw system.
    so how to truncate and reference the same with 0customer master and display the text values from 0customer text.
    thanks

    Hi Pooja,
    It would be easier to achieve this on bachend. You can truncate and store the result in another Object and then display it in your Query.
    Deepika

  • How to hide a single value node hierarchy in the query designer

    Hi,
    I would like to perform a calculation  in the infocube. It concern  a count "Nb of different customers" with the following hierarchy : Country / region / City.
    This KF would be read at the same time by city, region and country, and  certain customers exist in 2 different region, and I have to count them only once by country.
    To do this, I added a new record (at the country level when loading infocube) to deduct a number of customers in doubloons.
    This line added contain only a country code and the number of cutomers in doubloons (- 23 when I have 23 cutomers in doublons) with revrese sign.
    Now, I would like to use this value (-23) to have a right Nb of different customers by country, without showing the not assigned line in the report hierarchy.
    How can I hide, in the query designer or the WAD, a single value node from hierarchy (NOT assigned) but take in account the value (-23) at the country level ?
    Is there another solution (more simple) to perform this in the infocube ?
    For information,
    1) The infocube is loaded once per month, and the KF (Nb of different customers" is also performed by month.
    2) I can't perform this in the report (performance problem with calculated KF).
    thx.

    Hi,
    the short answer is "you can't", the longer is: The ADF Faces tree component is stamped for better performance. This stamping means that nodes are not rendered as JSF objects but copies of an existing component (just with a changed value). For this reason the nodes don't issue their own query for data and thus cannot be refreshed individually
    Frank

  • How to get the max value in the query??

    Plant  calday(mm.dd.yyyy)       Soldout.Qty
    0001   01.01.2005               10
    0001   01.02.2005               20
    0001   01.03.2005               05
    0001   01.04.2005               16
    0001   01.05.2005               10
    0001   01.06.2005               14
        From the above values , how can i findout Max(Soldout.Qty)(i.e 20) for the above week...Suppose present aggregation = summation...How can i findout the value in the Query??don't want to do changes to design...

    Hi Bhanu,
      I tried the calculation results as...Maximum,..
      But that will pick the maximum value among the avialable values..like
    plant1 max 10
    plant2 max 20
    plant3 max 30
    then it will show as..
    plant1 max 30
    plant2 max 30
    ...like this...but my case is
    plant1 calday1 10
    plant1 calday2 05
    plan1  calday7 08
    plant2 calday1 10
    plant2 calday2 05
    plan2  calday7 20
    so for each set it need to bring the maximum value...

  • Keyfigure value by comparing 2 date fields, in the query designer.

    Hi all,
    Could any one please intimate, how to display the key figure result with the comparison of 2 date fields.
    We are having "Completed Date" say(CDATE) and "Deadline Date"(DDATE) values in the report as time characteristics, dervied from the CRM system.
    Now we need to compare the values as:
    CDATE <= DDATE, then only consider this under "Meeting Planned Date"(Key Figure).
    Could you please intimate, how to display the key figure value, by using the code at  the query designer level.
    Thanks & Regards,
    A.V.N.Rao

    Hi Rao,
    Simple create two formula variables with replacement path from these two date fileds,then create a formula then do the comparison
    Eg:
    ZVAR_CDATE  WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ CDATE
    ZVAR_DDATE  WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ DDATE
    CREATE A FORMULA FORMULA1: IN THE FORMULA BUILDER AREA DO THE COMPARISON.
    Thanks & Regards
    Ramsthota

  • How can i reuse a structure in the query designer in 3.5

    Hi all,
    we are using the version BW 3.5,  now how can i reuse a structure made int he query designer, because i need it in another query, i did the structure and put it a technical name and save, help guys

    HI Richard,
    Create a Structure in Rows/columns and save As it, then in the left Panel of the Query Designer you can see three Folders
    1) Structures
    2) Keyfigures
    3) Dimensions
    then Expand the structures Folder, there you can find your saved structure, Structures are 2 types
    1) With Key figures
    2) Without Key Figures
    If you have the key figures in your saved structure, then you can find it in the subfolder of with Keyfigures, else in the other folder.
    Now you can use this structure by draging in all the queries which are on the same InfoProvider (CUbe. MultiProvider)
    Regards
    ReddY A

  • Results based on From and To value in Bex query designer.

    Dear all,
    We are using BI7.00. In one of our report which pertains to PM user wants to get the details of number of breakdowns which falls in the value range 0 to 1 hours.
    I created a condition which has 2 variables, one is From value and the other is for the To value (since user wants to enter both the limits). I have written a condition that if the breakdown hour is greater than or equal to variable1 and less than or equal to variable2.
    Using the above condition if the query is run, i am not getting the desired output. The values avaialble in the report are 0.65,0.78,1.30,7.38,0 etc., when i give 0 to 1 i should get the values 0.65,0.78 and 0 but instead report displays "No valid results".
    I changed the condition and selected "Between" variable 1 and variable 2 - yet no change in the query.
    To my knowledge i foresee that system is not able to recognize the decimal and hence provides details only based on the whole numbers.
    How to get my requirement achieved in the Bex query designer.
    Experts suggestion with steps will be very useful to solve my problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Dec 26, 2008 11:28 AM

    Hi Magesh,
    I think you could try one more way.
    Create a formula inserting your two formula variables for limits .(FV -  are ready for input ) .
    The formula would return the result as 1 or 0 because it would have boolean condition in it.
    You could then place a condition in the query designer to only show all records where the value of the formula key fig is 1.
    You formula A would look like
    ( KF > FV1) AND (KF < FV2) * 1.
    And in the condition put A EQ 1.
    You could scale the key figures as well and multiply the limits mentioned by the users in FV1 and FV2 if decimals are still not recognized by SAP.(scaling)
    Regards,
    Sunmit.

  • 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)

  • 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).

  • Some question about the query designer

    hello, dear all,
    I am a new comer of here, and I am intersting in BI, but I have no basic knowledge about it.
    so I just want someone could give me some advice about it.
    our boss need I do the developer about the query designer,  I just have searched in this forum. but nothing founded for I am a new comer here,
    I heard there are some training document of the query designer, could someone give me the URL, thanks.

    Hi,
    Query desinger is used to develop a Query, Query can be created on following data targets
    -Info Cube
    -DSO
    Virtual data target
    -MultiCube
    -Infoset
    -Multiprovider
    We have 5 section in query designer
    - Infoprovider : where we select the data target , on which report to be created
    -Filter : to restrict value at infoprovider level ( if you want data for year 2008, for example)
    -Free Characterstic : this allow you to drill down
    -Columns : char/keyfigs to be display in columns can be added here
    Row: key/char to be display in Rows can be added here
    gv me ur mailid i will let u have Bex manual,
    I would suggest , if you have any IDES ( training ) system , where you can log in and then go to RRMX,
    and try to create new query and add any data target ( which is already created ) and then drag and drop the char/key fig to the required section ,
    save it and execute it .....
    if you play arround and see the output , that would help u to understand how to work with query designer.
    Hope this helps
    Sukhi
    Edited by: Sukhvidner Singh on Nov 4, 2009 5:36 PM

  • Error in while Executing Query in the Query Designer

    Hi,
    I  created info Set based two  info object and  three Data Store Objects. and join condition is Left Outer Join.
    there are Business Partner info object, CRM  BP Sales View Info Object and Data Store Objects are  BP: Roles (0BP_ROLE),Partner: Industries(0BP_IS),CRM Marketing Attributes for Business Partner(0ATR_DS01)
    I given some Selection Parameters while executing query in the Query Designer. in That i given city is selection parameters
    and i creted variable for this info object.
    it gives the Error Messages
    Beim Lesen der Daten sind Fehler aufgetreten. Navigation ist möglich
    Der Wert "New Delhi " von Merkmal 0CITY40 enthält an der 10.ten Stelle einen Fehler
    it is very urgent , can any one help me regarding this.

    Hi Reddy,
    The Error message in english is this
    While reading the data mistakes have appeared. Navigation is possible
    The value " New of Delhi " from sign 0CITY40 contains a mistake at the 10.ten place
    and i think you need to run the change run and run the report with out selecting the variable option.and navigate in the report by filtering the report for your requirement.
    Try this and let me know.
    Thanks,
    RK

  • How to display attributes in the query

    Hi frnds,
    I want to show the attributes of material ( mat group , mat type ), vendor ( Sort field ) in the report.
    We loaded master data for material and vendor.
    I dragged the char and the relevant attributes in the query designer and executed the query. But in the output the attributes values are not displayed.
    What could the reason ?
    Regards,
    V N.

    Hi all,
    Thanks for the reply.
    "Display attributes will also get displayed if you include the infoobject for which they are attributes."
    Suppose for 0vendor the attr is 0sortl. By defualt it is display attr. I dragged in the query the 0vendor and its attr 0sortl  and executed. It didnot displayed any values for this 0sortl
    I changed it to Nav Attr. And rerun the query, it is displaying values.
    In the first case i included Display attr and the infoobject for which it is attr in the query. Please explain me why it didnot displayed the values.
    And after changing it to Nav attr it displayed the values.
    Please explain me what happened actually.
    Regards,
    V N.

  • How to pass parameter to the Query String of the Named Queries'SQL

    Firstly to say sorry,I'm a beginner and my English is very little.
    Now I want to know
    How to pass parameter to the Query String of the Named Queries'SQL in the Map editor.
    Thanks.

    benzi,
    Not sure if this is on target for your question, but see #5 in the link below for some web screencasts that show how to pass an input text form field value to the bind variable of a view object. If you're looking for something different, maybe provide some more details such as what you are trying to accomplish and what technology stack you are using - for example, ADF BC, JSF, etc.
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    Also see section 5.9 and chapter 18 in the developer's guide.
    thanks

  • How To Make Infocube Visible in Query Designer?

    hello,
    i'm using BIW 3.10, i've just created infocube and succesfully populated it with data. I went through all the process from datasource (from R/3 masterdata), infosource, infoobjects and so on, until i get to browse the content of the infocube using the "Manage Data Targets" screen of rsa1->modeling->InfoProvider->Manage. Now my problem is how do i make the infocube visible in the Query Designer?
    thanks,
    sid

    hi sid,
    you have open bex analyzer, and click 'query', in next screen 'sap bex : select query', click 'new' (icon blank page), and click 'infoarea' in left side, you will see the infocube under your infoarea. hope this helps.
    for new infocube, when there is no query created from this infocube, the infocube will invisible, since the screen is to select existing queries.

Maybe you are looking for

  • I cant restore my iPhone when i cancel the update

    Hi. i hope you can help me on this, i conect my iphone4s in my pc to update. and i push the button restore, so iTunes would update and restore (some times a have a problem when my iPhone detects i have more ocupated space than i really have, thats wh

  • Webcam Live Pro causes system crash with Windows XP Home

    Ever since installing Webcam Live Pro I have been having random system restarts. This ONLY happens when the webcam is being used. It happens when using the Creative Webcam Center or another application. Sometimes the restart will happen after a few m

  • Recovery disc from Lenovo

    Hi all.  I have a T500 ThinkPad, and my hard drive failed the other day.  I never got around to making any recovery media, even though I have had the machine for almost a couple years.  I have read on the Lenovo support page that I can get a recovery

  • Mail Dock icon "new mail" count wrong

    The Mail icon in my dock shows 11 new mails. I open Mail and there is no new mail. The icon then shows none, then a bit later it shows 11 again. If I get a real new mail it will show 12 new mails. The actual number of new mail adds to the phantom 11.

  • Start-process -arguments

    Hi, Can anyone see why this is running the program but not passing the arguments across.  It fires up but then closes, with no logs that I can find $startRichCopy = "C:\RichCopy4.0\RichCopy64.exe" $arguments = "d:\internal \\remotenas.qav-dr.com\QAV-