Query design - Restrictions

Hi Gurus,
2 Questions about query designer,
1.- I am creating several Characteristic Restrictions on the same MaterialID Characteristic, for these restrictions I am using variables in order to be able to use the same selection in another queries, choose in the tab Details the variable to be Optional but when I run the query I can't choose one or another one or not to choose any at all, is like is mandatory to use both, I may be missing something.
2.- When run the query at the top right I can see the option called Show Variable Personalization, how can I create one of those, I guess is like a variable customized by the user.
Thanks

Hi..
Question 1 - Can be a Characteristic restriction in a query optional, or the query needs to be executed always with all these filters, and if it can be optional where is the check mark to make it optional.
Yes...its optional...this can be achive through variable..give the character variable user entry as optional...this can be work when user give the value...
Regards....KP

Similar Messages

  • Query Designer restricted key figures using a prompt value

    Hallo Experts,
    I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
    a) KF1, Date1
    b) KF2, Date2
    User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
    How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?  
    Many thanks
    Mamadu

    Hi,
    I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
    First create one user input variable on your date field say for eg calday.
    Now restrict your KF1 with calday and choose that vairable which you created.
    For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
    So restrict this KF2 with calday and use the same variable with offset of +1
    I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
    If its month then replace calday with calmonth..
    Hope it helps.
    Regards,
    AL:
    Edited by: AL1112 on Dec 21, 2011 9:42 AM

  • Exception in BEX Query Designer 7.10 when restricting dataprovider in filte

    Hello,
    when I build a query in the Query Designer 7.10 and try to restrict the infoprovider in the filter
    to access a mulitprovider I get the exception:
    "Unhandled exception has occurred in your application.....
    Index was out of range........"
    Our System:
    Windows XP Servicepack 2
    .Net 2.0 Serivcepack 1
    Office 2003
    SAP GUI 7.10 Patchlevel 9
    BI Addon + Serivcepack 7
    BW 3.5 Addon + Servicepack 4
    Netweaver 7.00 packagelevel 11
    Has anybody seen the same erro or a oss note which fixes this problem?
    Thanks.
    Regards, Lars.

    Hi,
    I have not encountered this problem in the last days. We have made an upgrade
    in the support package level from 11 to 16 for Netweaver Basis and 12 to 18 for
    Netweaver BI. Sometimes there can arise problems when the support package level
    of the Application Server is to low in comparision to the SAP GUI.
    Maybe this was the problem. I am not sure.
    I would advise you to install the latest upgrades of your SAP GUI and keep the application
    server on a high support package level.
    Sorry, I can't give any other hint.
    Regards, Lars.

  • Char restriction in Bex Query Designer

    Hi Gurus,
    Can anyone explain what is the use of the Characteristic Restriction Area in in the BEx Query designer
    If i set 0CALYEAR =2008 in the Char Restriction and in the column definition i set the one of the column to display data from year 2009. Will it work ?
    Please advice
    Thank you
    BR

    There are two type of characterstic restrcitions in the query. Global and local.
    If you are createing a restrcited key figure or selection and restricting calday then it will be restricted to that particular key figure (and show 2008 data) and in the columns it will show you other years data (i.e. 2009 data).
    But if you are using a global fiter in the filter tab of query designer, then it will be applicable to the whole query.

  • Creating Restrictions in BEx query designer for (1-a), where a is variable.

    Dear All,
    >>  Suppose for the variable in the BEx query designer, I've created restriction for 0FISCPER to the variable 0P_PER (as 0P_PER-1) by right clicking 0P_PER3, from that a dialog box appears.  In that I've selected 0P_PER3 and then clicked on offset variable and when I set the offset variable, it works for (0P_PER-1.etc, 0P_PER+1,etc..)
    But if I want to have (1-0P_PER), then plz tell me how to define this restriction?
    Plz explain me the steps to perform (1-0P_PER) restriction in BEx query designer in BW1.
    I'm using SAP BI 7.2 gui.
    Expecting your reply soon,
    with Regards,
    Jerald

    My requirement is that I want to have " 1-fiscal year"., But this I could not define using offset variables, since using offset we can define "fiscal year +1" or "fiscal year -1". 
    So there would be some other way to define "1-fiscalyear".  So Please help me to define "1-fiscalyear"  by giving me the steps.
    Thank you,
    with Regards,
    Jerald

  • How to restrict the attribute values for the user in query designer

    Hi All,
    I have a requirment where certain user would see certain vailes in the query desiner of the attribute.
    The requirment is we have planing material which is attribute of material
    When X user want to restrict the  values for planning material ,where he is able to see all the planning material.But who is not authorized for all the value.
    Ex: X user has authorization for see planning material 100,101,102. of material But when he try to restrict the planning material in query designer where is getting all values of planing material.
    Or
    is there way to blank the restriction help.so that he can't able to see values while restricting
    Please some one can advise me on it..

    Hi,
    Let me sum up:
    you have an object ZPLNMAT for the planning material
    you have the object 0MATERIAL for material and this object has ZPLNMAT as attribute.
    If you can restrict in the query designer, I suppose this attribute is then as navigationnal and also added in the multi-provider.
    The object ZPLNMAT is checked as relevant for authorization, and you set up a role with the attached values of ZPLNMAT this user should have access to.
    Are you sure the users are restricting on the ZPLNMAT object and not 0MATERIAL, because you should have everything now
    PY

  • How to copy restricted key figures in query designer ?

    hi,
    i have created a query in query designer (BI 7.0).
    How can i copy existing restricted key figures ? i can't find anything. i always have to create a new one, and then i have to do all the things like 'details of selection' etc.... manually. that CANNOT be, there MUST be a way to copy those key figures.
    any ideas ?
    best regards, Martin

    Hi Martin,
    Restricted key figures can be stored on the infoprovider basis . For which right click on the key figure (left hand side pane ), Select the necessary key figure and assign the restriction through characteristics combination, and give it a restriction and save it . Next tiem when you create query on the same info provider it should appear in the left hand side as readymade reusable piece .
    Hope that helps.
    Regards
    Mr Kapadia

  • Query Designer 3.5 does not respond when trying to restrict a charact

    Hello experts!
    I'm trying to restrict characteristic 0BPARTNER in query designer 3.5 but when I try to open the restrict context menu it tries to bring all the business partners to display them from master data and it freezes. We have over 2 millon business partner data in our MD.
    I've already tried performing statistics over the MD tables but it's still not working. Any suggestions that might help me are kindly wanted.
    Thanks,
    Regards,
    Salvador.

    Hello Salvador,
    I don't know if this is what you really need, but you can check and get a better performance in BEx queries by using t-code RSRT in section Properties there you can set ...
    Read Mode
    Req. Status
    Cache Mode
    Optimization Mode
    Statistic Det.
    among others. I hope this helps.
    Regards!
    Bernardo

  • 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

  • Query designer: copy restricted kf

    Hello gurus.
    I have created a restricted kf on query designer, and now i wanted to copy this kf, modify it and save as a new one. I try to do this, but query designer does not have save as option.
    Could anyone help me on this?
    Thanks in advance,
    Vitor

    try transaction RSZC
    in that it will let u copy restricted keyfigure, calculated keyfigure etc.
    log in to bw system
    enter RSZC
    enter source and target
    choose option restricted key figure
    hit okey
    make ur selection on ur way ahead...
    assign points if this helps even a little bit
    Edited by: kartikey on Jan 10, 2008 11:22 AM

  • 0FISCPER Restriction in Query Designer

    Hi All,
    We are on BI 7.0 -- SP 17 .
    Issue: When 0FISCPER is restricted in Query Designer it shows only one value (Period 00 0000 ) as opposed to values in Master data values. We went to SP 10 to 17 recently and since then this issue croped up.  Any thoughts will be appreciated.
    Tasks taken care:
    1.Transfered global settings from Source system T009 table is consistent.
    thanks
    Mr.BI

    Mr. BI,
       Did you resolve the issue?
    The problem exists with filter value selection based on  " Values in Master data table" .
    When the setting is changd in Info object mantenance to "Only values in Info provider"  you can see values for Fiscal year/peiod.
    Jaya
    Edited by: Jaya Mogali on Jul 11, 2008 9:00 PM

  • Restricting infoobject in query designer with authorization object

    Hi,
    We have to restrict CUSTOMER infoobject with a authorization object in query designer.
    How to do this task ? Request kindly suggest.

    thr RSSECADMIN tcode. Search with this key word you will get good docs & Wikis in SDN
    bhaskar

  • Can we perform restriction on attribute in query designer?

    Hi
    can we perform restriction on attribute in query designer? My scenario is to restrict on an attribute..Could any one help me out i this issue?
    Regards,
    Suman

    Hi,
    Restriction can be done only for navigational attribute.U cannot do restriction for display attirbute.
    if it is a display attribute u want to restrict -make it navigational for that infoobject.
    Also the attribute must be 'checked on' as navigational in the infoprovider as well on which the query is built.
    hope it helps.
    Regards,
    Rathy

  • Restricting Query in Query Designer

    Hi All,
    I have to create new report on top of multiprovider which already as other reports on it.
    The report should contain Plant, Billing Document number, Customer Group, customer group1, Ship to, Sold to, Invoice Amount.
    All fileds are available in the multiprovider, all the Ship to numbers are different to Sold to numbers but texts are same for few records. So I need to excule those records where as Ship to texts are equal to Sold to texts.
    Anyone know how to acheive this in Query designer level, where as I can't change anything in multiprovider because we have other queries on that.
    Thanks.

    HI,
    You will have to write a customer exit for this. And logic for this would be : you will have to compare both Ship to texts and Sold to texts and you will have to pull only those records for which Ship to texts are equal to Sold to texts.
    Once you got all the values of Ship to and Sold to for which they are equal (through Customer exit), you can create a variable and put it as a restriction for Sold to or Ship to.
    Regards,
    RJ

  • Restrict Characteristic on value range in Query Designer

    Hi,
    In 3.5, it was possible to restrict a filter in the query designer on a value range, even if the start- and end values of that range did not exist in the master data.
    In 2004s, it is possible to restrict single value filters to a non-existing masterdata value. However, for value ranges, this does not seem to be the case. Do you know any workaround for this?
    Regards,
    Daniel

    of course, BI 7.0 support value range for restrict.Please kindly release more information about your case .
    Value Range
    • Instead of selecting single values you can quickly gather multiple characteristic values using this next option. This choice provides the following additional options:
    1. Between
    2. Greater than or equal to
    3. Less than or equal to
    4. Greater than
    5. Less than
    And you can reference following URL on this topic
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
    Edited by: Brian on Oct 22, 2008 3:08 PM

Maybe you are looking for

  • I don't seem to have the genius playlist option on my iPod touch 5th generation-what to I do???

    I didn't jailbreak my ipod or download any pirated stuff. I actually only found out that my ipod should have the genius playlist option after reading a review on it. But when I checked under playlists in my music app, only the 'purchased' playlist is

  • C:\windows\system32\d2d1.dll error. Windows 7 ultimate, can't use half of my applications.

    Built a pc a while ago, ever since I installed windows 7 ultimate, a genuine copy with key. I have been getting the following error: C:\windows\system32\d2d1.dll is either not designed to run on windows, or it contains an error. Can anyone PLEASE hel

  • Leaving Printer Turned-On

    My Epson printer just failed and I have recycled it. I customarily left it turned on 24/7 (unless I was going to be away for an extended time). I have just added a HP Photosmart Premium C310 Series. My question is what is the best practice with this

  • Why is there no digital signature for firefox 4.o for MSWindows?

    It looks unprofessional that I get a Security Warning when I run Firefox Setup 4.0.exe ! N.B. I have just searched for "digital signature" in the forum, and did not find this post - I apologise if this is therefore a duplicate, but I am unimpressed b

  • How to make background image scalable

    I am working on my site and I am constructing it using only external CSS. I am looking for a different look than I have previously done and want to use an actual image for the back ground of one of the DIV containers rather than just a color. My prob