Dimension Filter - Dynamic popup size?

Hi,
I have a small problem.
One of my dimension filters have a hierarchy dimension assigned. Depending on the expansion of the preferred hierarchy selection, the user cannot see the whole text.
I know that I can change the size of the Dimension Filter with the settings Popup Width and Popup Height, but is it somehow possible to change the size dynamically depending on the expansion of the hierarchy?
Br
Max Rosén

Hi Max,
As far as I know there is really no such setting in Design Studio that would enable that.
There is also no way how to achieve this with the available scripting methods, if there would be something it would be in theory something like this:
In the OnChange Event of the table cell width where the hierarchy is or based upon the expand level state of the hierarchy in the filterpanel, adjust the width of the filterpanel and the width of the table cell where the hierarchy is.
There should be a solution to do this via javascript, but for that you would need to use the sdk to include some custom javascript code into your bi app.
Normally your requirement can be achieved with/through css, there is a method/way that causes the width of the parent container to expand/adjust automatically when the width of the child element changes. But the problem/difficulty here is, that the filterpanel is created with a lot of absolutely positioned divs (containers) here and there and thus several stacking contexts are created and thus a change in one stacking context has no effect on an element which is in a different stacking context - a change in the width of the table cells where the hierarchy is placed has no effect on some other higher/previously positioned parent container elements because they are in different stacking contexts and when a container's width isn't adjusted too, the inner child element has no way to expand and still be/remain visually nice as a whole.
Anyway, so far I didn't help you much, so here is something you could use to make the text visible/readable without expanding the width:
/* Make Long Text (in Hierarchy) in Dimension Filter Visible (Break Into a New Line) */
#sap-ui-static .sapzenfilterpanel-PopupContainerDialog div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableTr > td:nth-child(1),
#sap-ui-static .sapzenfilterpanel-PopupContainerDialog div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableTr > td:nth-child(1) span.sapzenfilterpanel-SelectionTableText {
  white-space: normal;
  /* Optional setting: break to newline anywhere in a word */
  /*word-wrap: break-word;*/
(Note: you can simplify/adjust the selectors, this is not the only way how the selectors must look like, it is just an example, but working example...)
A side note when using the setting: "Member Display: Text and Key"
The Dimension filter has 3 columns: 1. Text , 2. Key , 3. Check(boxes)
where the first 2 columns for text and key are the same width. But usually the key is shorter than the text and doesn't need so much space, so you could adjust the width proportions of these first 2 columns so that the text has more width than the column containing the keys:
/* Make Text Column Wider and Key Column Narrower */
div.sapUiTableCnt div.sapUiTableColHdrCnt div.sapUiTableColHdr > div:nth-child(1) {width: 207px !important; /* Default Popup width: 350px > 147px , 147+60=207 */}
div.sapUiTableCnt div.sapUiTableColHdrCnt div.sapUiTableColHdr > div:nth-child(2) {width: 87px !important; /* Default Popup width: 350px > 147px , 147-60=87 */}
div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableCtrlCol > th:nth-child(1) {width: 207px !important; /* Default Popup width: 350px > 147px , 147+60=207 */}
div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableCtrlCol > th:nth-child(2) {width: 87px !important; /* Default Popup width: 350px > 147px , 147-60=87 */}
Regards
David

Similar Messages

  • Dimension Filter is not responding in Chrome after CSS code applied

    Hi Everyone,
    In SAP Design Studio 1.4 Sp02 I have Dimension Filter which is working good in both IE and Chrome. It is getting regular default font as header in filter and when we select any value for the filter, we need it with bigger font and bold, so I wrote CSS code as below and applied it to my dashboard. After CSS code that dimension filter is working as before only in IE and it is not responding in Chrome. Please see the below code and suggest the changes or extra code if I need to add to this to work in Chrome also.
    .sapzenfilterpanel-Container, 
    .sapzenfilterpanel-Container .sapUiBorderLayoutTop, 
    .sapzenfilterpanel-Container .sapUiBorderLayoutTop, 
    .sapzenfilterpanel-HeaderText, 
    .sapzenfilterpanel-HeaderText.sapUiTv, 
    .sapzenfilterpanel-HeadLine, 
    .sapzenfilterpanel-Container .sapUiRrRow .sapzenfilterpanel-RowRepeaterRow div 
      font-size: 14px !important; 
      color: black !important;
      font-weight: bold;
      background-image: 
        linear-gradient(
        box-shadow: none;
                   color: blue;  
      top: 1px !important; 
      bottom: 1px !important; 
      align-items: flex-end !important; 
    Thanks,
    AP

    Hi,
    I have tried the following  please tell me whether this is what you expecting
    I have create 4 filter with name filter1,filter2,filter3 and filter 4. Then a radio button and in onselect of the radio button, i have given the following script
    var a=RADIOBUTTONGROUP_1.getSelectedText();
    if(a=="1"){
      FILTER1.setVisible(true);
      FILTER2.setVisible(false);
      FILTER3.setVisible(false);
      FILTER4.setVisible(false);
    if(a=="2"){
      FILTER2.setVisible(true);
      FILTER1.setVisible(false);
      FILTER3.setVisible(false);
      FILTER4.setVisible(false);
    if(a=="3"){
      FILTER3.setVisible(true);
      FILTER1.setVisible(false);
      FILTER2.setVisible(false);
      FILTER4.setVisible(false);
    if(a=="4"){
      FILTER4.setVisible(true);
      FILTER1.setVisible(false);
      FILTER2.setVisible(false);
      FILTER3.setVisible(false);
    Output:
    value 1:
    value 2:
    value 3:
    value 4:
    This working on chrome well.
    Thanks,
    Nithyanandam

  • Design Studio : How can I expand all hierarchy at once in dimension filter

    Dear Colleagues.
    I am currently working on design studio. I need your advises to implement BW hierarchies in my dashboard.
    Is it possible to expand all hierarchy in Dimension Filter of Design Studio?
    I tried to expand hierarchy in data source api, like 'expandNode' or 'setDrillLevel'.
    These functions can be expanded all hierarchy in Cross tab. but it can not be applied to Dimension Filter.
    Please help me to achieve this.
    Thank you in advance.
    Best Regards,
    K.Min

    I don't see a way to achieve this with the Dimension Filter or the Filter Panel
    I think it would be a great idea to add to Idea Place at ideas.sap.com

  • Dynamic popup does return value from popup window

    have to create a page , with dynamic Popup using query. I am using APEX_ITEM.POPUP_FROM_QUERY(). Dynamic popup is generated, i can able to open the popup, when i click the link of the generated records. It does not return the value.
    I feel that , it's like your error.
    could you please help me ou.t

    I also have similar kind of problem.
    1. How can I open new window to a particluar URL on a button click event? I know in line, we have target attribute.
    2. How can I pass the child window values to the parent
    3. How can I refresh the parent window or parent page to to show the changed values in the child window and ofcourse close the child.
    Any help on this will be appreciated.
    Thanks
    Rsaj

  • Date - Dimension filter

    Hi
    In my Design Studio dashboard i have a dimension filter on date field used for filtering the report.
    I have created a variable with the following specifications in the BW Query:
    Processing By: Customer Exit - This gives by default the last 365 days and so have used the i_step = 1 in code.
    variable: Interval, optional
    Variable ready for input enabled.
    When i try to select a new value for the filter, in search it displays the date only for which there is a value maintained in the cube.
    Ideally this should not be the case, because  we can not expect the user to know as for which dates the values are available in BW.
    I also tried giving the property of the characteristic as - values in master data at "edit initial value", but still it does not help.
    Kindly suggest as how this could be handled.
    Regards
    Merlin

    Hi Merlin,
    I'm not quite sure if I understand you correctly...
    What do you mean by " not giving the values other than the ones in the cube."
    Are you looking for an option to show a calendar to the end user and enable him to choose a date irrespective of whether the value is available in the Cube/Masterdata or not?
    In this case I would suggest you to use DateField instead of DimensionFilter.
    This should solve your issue.
    Or
    You want to show all possible dates for the user which are valid for the current context. In that case use the option "Only Values in Posted Data". This option is specifically meant for this purpose.
    Do let me know if I had misunderstood something.
    Regards,
    Bharath

  • Filter by Attachment size?

    Hi,
    Is there a way to filter by attachment size in apple mail?
    My gmail is full and I'm looking for the emails with bigger attachments. I'm using Gmail with IMAP. Also, does deleting from the trash also delete it in my Gmail account?
    Thanks

    Downtown Browne wrote:
    Hi,
    Is there a way to filter by attachment size in apple mail?
    you can filter by message size which effectively does the same thing.
    just add a message size column to your message view if you don't have it. that's done in view menu->columns.
    My gmail is full and I'm looking for the emails with bigger attachments. I'm using Gmail with IMAP. Also, does deleting from the trash also delete it in my Gmail account?
    yes. but remember that gmail also stores everything in the All Mail folder so you'd need to delete it from there too if you want it completely gone from the gmail server.
    Thanks
    Message was edited by: V.K.

  • Dimension filter - single value

    Dear all,
    I have a report where I want to use a dimension filter BUT end-user should only be able to select 1 value (so not multiple values).
    Is this possible?
    Kind regards,
    Lieselot

    that is the best option currently. Using .setfilterExt instead of set filter gives you the ability to be more flexible in filter options with includes, excludes and ranges.
    Problem we encountered ourselves is that user often want to search on text and the filter is on key.
    On the dropdown box you can type in and there is a autocomplete function there.
    I myself was looking at a inputbox that lets you enter a value with a wildcard into an inputbox and the inputbox would then return a list of dimension entries that are within that search.
    for example *BIKE* would include JOHNSON BIKE RENTALS. But currently that is in the realm of SDK development.
    best regards,
    Jeroen

  • Dimension Filter LOV - Too many results; Refine your search

    Hi,
    I am using Dimension filter in Design Studio which uses the hierarchy dimension. In the preview mode the filter is not showing any members instead its asked to use the search functionality. I understand there is a limit in retrieving the LOV. Is anyway i can increase the number of LOV?
    I need to have this functionality work, The user want to navigate the hierarchy in the filter. Please any help highly appreciated
    Thanks
    VJ

    Hi,
    same question here: DS 1.2 - Too many results; refine your search
    Regards,
    David

  • Display single value with dimension filter selection

    Hello,
    I use Design Studio 1.3.
    I want to display the correct single value after I choose a "Calyear" form dimension filter.
    At the moment I can use the sum of all "Calyears"only.
    Thanks for our help....

    I have create this Datasource:
    In Script Editor I fill the value field with this Code:
    DETAILS_VALUE_AE.setText(DS_3_AE_DETAIL.getData("00O2TF25Z6L0MSI7DYKIXACY3", {}).formattedValue + " EUR");
    00O2TF25Z6L0MSI7DYKIXACY3 = Keyfigure "Aufragseingang"
    Without filter the value is correct.
    But when I filter (with dimension filter) the value doesn't works correct.
    I think my code in script editor is not correct. Or must I use variables?

  • Use of other dimension filter in business rule

    Hi,
    I have a requirement to create two eliminations and adjustment business rules, one of which should only run for a specific category and the other should run for all other categories. I thought I could use the other dimension filter for this and on the first rule CATEGORY=ACTUAL is accepted by the system. However, on the second rule I entered CATEGORY<>ACTUAL and when I save the rule I get an error saying that CATEGORY<>ACTUAL is not a valid logical expression.
    As we have a number of categories I really do not want to create a rule for each one, so does anyone know a way to create a rule for all but one of my categories?
    Thanks,
    Arnold

    Hi Vadim,
    we currently have around 20 categories (plus ACTUAL) and we get two new every year for multi year plan/forecast. If only = works I would have to create one very long string for the second rule and add to it very year.
    I will try it though and if you are correct I might have to open a note with SAP.
    Thanks,
    Arnold

  • Dynamic page size

    Hi,
    I need to run the same RTF template for US and Europe.
    The only difference is page size.
    US is using "Letter" page size, Europe is using "A4" page size.
    I can distinguish the page size by organization.
    Is there a way that I can have one template with dynamic page size, or I have to have two different templates?
    Thanks,
    karmit

    When the data is generated, can you determine who it is for (letter-sized or otherwise)? Once you pick off a value that identifies the page size, you can let a variable for lines per page (see the fixed lines per page example on Tim's blog) and base the page break on the paper size.

  • Interco dimension filter in Automatic Adjustments

    Dear Experts,
    In the automatic adjustment business rule, I created a rule where i used the interco dimension as a filter (eg.  Intco=I_4109 in the "other dimension filter" or R_selection field).  However, when i run the legal consolidation data package, i am not getting the expected results.  It seems that the system is not reading the interco filter.  Has anybody experienced this problem?
    Regards,
    Grace

    Hi Sunny,
    I have noticed this problem as well.
    The validate option just does not work for extra added ORIG columns.
    But the good news is.... if you save it, it will work.
    The only penalty is that the validate option can't be used anymore... But hey.... who needs this option, we just don't make mistakes
    Alwin

  • Eliminations and adjustments rule: Other Dimension Filter

    Hi guys,
    Anyone knows if it is possible to include a specific property value of a USer defined Dimension as the criteria in "Other Dimension Filter"?
    Instead of Product=Prod1 using something like Product.Family=Type1
    Thanks

    Hi Vadim:
    This is Weiwei from SAP Support. I just tested in BPC 10 SP12 that the validation will not be passed when you put something like  PROFIT_CENTER.PCTR_TYPE=OP in additional dimension filter. You can only put dimension member in the filter such as PROFIT_CENTER=XXX.
    I also test and verified in IFRS Startup Kit and can not find a rule that has the filter configured based on property in the business rule. If you see a different story, please let me know.
    A rule is saved does not mean the rule is valid, that is why when you save a rule it will give you warning that it does match the validation. It is not a problem of the product, just as you save dimension without processing/validating it, does not mean the formula/value you put in the dimension sheet is valid.
    Hope that helps. Feel free to let me know if you have any thoughts.
    Thanks,
    Weiwei 

  • I'm using iphone 5 but its camera is not properly working. all the images i'm clicking are of dimension 600X800 and the size of the image is just 60-70 kb. now please tell me how to increase the dimension of images and its size.

    i'm using iphone 5 but its camera is not properly working. all the images i'm clicking are of dimension 600X800 and the size of the image is just 60-70 kb. now please tell me how to increase the dimension of images and its size.

    ''rojere [[#question-1055991|said]]''
    <blockquote>
    i try to keep my thumb palms off the mouse pad when i am typing but every now and then my screen resizes larger or smaller until i take my left palm off the keyboard base its only when my left palm is resting on the base next to the touch pad. i type pretty fast so it gets annoying and yes it also jumps screens or reverts back to previous message and i have to choose ctrl z to undo and get back to my message i was typing... it also switches tabs on me as well... not sure why my palm being on the left of the keypad on the base should effect anything but it does after a while. and i have to stop what i am doing...and go to the firefox menu and change the screen size back down to 100% sometimes it goes up to 200-300 other times it goes down to 70-80% i find it annoying i i wish there was a way to turn off the screen resize in the setup panel. if its just left to be 100% i am happy with that... i don't need it to be bigger or smaller... there should be a way to LOCK it down... i understand that there are people out there with eye problems and needs to have the screen size increase using the + or - but there should be a lock so it just stays no matter what is happening on my keypad or touch pad or base of the pad... that screen size will not increase or decrease. unless i turn off the lock... perhaps this is something they can implement in the next version or do a quick update of the browser
    </blockquote>
    sorry that is all greek to me thanks for attempting to explain what you were trying to explain sorry i just not tech person to be able to understand or where to begin ... have good day and thanks for again trying

  • Dimension filter to prompt

    Hi all
    Design studio 1.3
    Is there any way to assign filtered values from a dimension filter or folter panel directly to data source prompt?
    Instead of having to have the filtered field in the resultset of the target data source.
    I work over a UNX Universe
    Thanks
    Shlomi

    Hi Silpa,
    There is no way to filter members, you can only use COMBOBOX prompt with manual list of members like:
    PROMPT(COMBOBOX,%PLAN%,"Select Plan version (PLANTYPE):",0,,{ACTUAL,BUDGET})
    But even with COMBOBOX the user will be able to directly type some other member (luckily it's not evident for the user).
    We are using comboboxes when we have to somehow restrict users.
    B.R. Vadim

Maybe you are looking for

  • Shopping Cart Workflow Problem is not able to determine agents

    Hi Experts, We are facing a problem in SRM 5.0 shopping cart workflow. Normal flow is as follows: - Create SC > Goes for Approval to level 1 approver > Item appears in Approver's list > L1 approver approves it > Follow - on Document is created. Curre

  • Splitting a string on new lines...

    If I want to split string on whitespaces, I do: StringTokenizer st = new StringTokenizer(a, " ");If I want to split a string on new lines, (I think the ascii values are "13", "10") how can I do it? Thanks a lot!

  • Reg:Rows display in Table Control

    Dear All,          I created a Table Control which is displaying 30 rows in the initial screen.But my requirement is to display up to 200 rows in the initial screen itself how can it be done??

  • IPod 1st Gen - songs keep cycling through!

    This is a brand new IPod - fresh out of the box yesterday (my husband won it at a corporate event). This is the 3rd IPod in our home - our daughters each have a 2nd and 3rd generation. Their IPod's are working fine - I just checked! My IPod keeps cyc

  • How To create multiline NSTextField programatically?

    Hi, I want to create multiline NSTextField programatically. I successfully created single line textField. Also i want to set text color? any help... Thanks.