Can we display a value in design studio 1.2

Hi All,
I am struggling with this issue.
I am using sap design studio 1.2 without any custom components.
Requirement is to display some high level numbers in the boxes.
I can not see any component capable of doing that. Can anyone advice me on that please?
Requirement
Regards,
Tanisha

Optionally, you can also use text elements:
Then you calculate the KPI with getData and insert it into the box with setText, e.g.:
var KPI_1 = DS_1.getData(KF1_CUID, {}).value;
var KPI_2 = DS_1.getData(KF2_CUID, {}).value;
TEXT_1.setText(Convert.floatToString(KPI_1 / KPI_1 * 100,"#0.0")+" %");
Best regards,
Victor

Similar Messages

  • Round up value in Design Studio

    Hi Experts
    Im trying to round up a value in Design Studio 1.3.
    my displayed value in the browser is: "36'387'202.80"
    i need to format this value in "36 '4"
    please see attachement
    Datasource: HANA Calculation View
    thx for reply,
    Michael

    I am not using the HANA Calc view
    Could you look at this thread Design Studio Source set Scaling and Decimal Place - could you look at setScalingFactor function?

  • How can I display the value of the Target Currency variable in my query

    We have a query which has a key figure set to prompt for a Target Currency at runtime.  Because the user did not want the currency displayed in each cell they used the NODIM function to remove it. They do however want to display the Target Currency in a cell within the report.  Using Report Designer, I've tried to set up a Text Box to display this value, however, it is not in the list when looking at Constants, Filters or Variables or trying to display it in a Text box.  Has anyone found a way to be able to do this?

    Hi and thanks for the reply.  I should have stated that because this was a validated query, we'd like to do this without modifying the query and thus having to go through another lengthy validation process. That's why we did not go the route of adding Unit to the query but we may have to.  Another thing we can do is use a text variable in the headers that displays the currency. That works but, again, it's a query change whereas finding it in Report Designer will not require a query modification.

  • How to handle jump to for # values in design studio

    Hi
    I have a scenario, where there are 2 tabs - Customer & Network in a tabstrip. When i click on a particular customer it will jump to the next tab showing the corresponding Networks. This works perfectly fine through script.
    But when there is a # -Not Assigned customer and if it has 3 Networks corresponding to it in the source query the same is not working in design studio.
    When i select the # customer from tab1, it navigates to tab2 and instead of displaying the corresponding 3 Networks, it displays the entire list of available networks without restriction.
    Is there a way in which we can handle this? As i see design studio replicates all from Bex query and strange that this # is not working.
    Kindly let me know if we can handle this in best possible way.
    Regards
    Merlin

    Hi Merlin,
    I tried the mentioned scenario and it works like charm.
    Which version of Design Studio are you using? I'm using 1.3 Designer.
    See supporting Screenshots below.
    Regards,
    Bharath

  • How can i display the values in the vector in a jsp using jstl

    in a task i am recieving a vector in a jsp... how can i display those vector values in the jsp using jstl.... plz help me
    thanks in advance

    <%
    here you got vector say; v
    pagecontext.setAttribute("varname",v);
    %>
    <c:forEach var="i" items="${varname}">
    <c:out value="${i}">
    </c:forEach>

  • BW Workspaces: Can CompositeProvider Query be run in Design Studio?

    Dear Community,
    I've been working on BW Workspaces for quite a while now, and as I wanted to create a more Dashboard-like feeling for my Analysis, I came across Design Studio.
    Now I wonder, if I can run a Query defined on top of a CompositeProvider in Design Studio and use it to create my Dashboard. Is this possible?
    I found information on connection directly to a Workspace (or even CompositeProvider) but no hint concerning Queries.
    I appreciate your comments and helps!
    Regard,
    Sarah

    Hi Sarah,
    I have not tried this personally.
    But I remember reading somehere that it was not possible to copy the queries using RSZC eventhough the structure of both Composite Providers were same.
    In your case, I believe the structure is also changed after the addition of new Characteristic and am afraid if you will be able to copy due to that change.
    BR

  • How can i display the values in a table when i press enter

    hi,
    I have three text boxes and a table with three columns in a jsp page.When i keyin some values in the text boxes and press Enter these values should be dispalyed in the three columns of the table.When once again if i key in the text boxes with some other values these values should also be displayed in the table columns in another row.Can it be done.Pls help me.Hoping for a reply.
    Thanks
    Naveen

    hi
    just go through the Code below:
    this helps you but this works in IE only.
    <html>
    <head>
    <script language="javascript">
    <!--
         function show(frm) {
              Show.innerText = frm.desc.value;
         } // closing the function show()
    //-->
    </script>
    </head>
    <form name="testform">
    <textarea name="desc" rows="3" cols="20"></textarea>
    <input type="button" name="buttsub" value="Submit" onClick="javascript:show(this.form)">
    <br>
    <table width="500">
    <tr><td bgcolor="#e6e6e6">
    <div id="Show"> </div>
    </td>
    </tr>
    </table>
    </form>
    </html>
    Cheers
    rambee

  • How can i display the value fetched from my database back onto my combo box

    i have saved a selected value from my combo box in my database.
    i want to display the same value on my combo box to the user on a jsp page.
    Can someone help me?

    <%
    String valueInYourDatabase="2";
    String[] valuesToDisplay={"1","2","3"};
    %>
    <SELECT name="square_root_of_for">
    <% for(int i=0;i<valuesToDisplay.lngth;i++){
    String s=valuesToDisplay;
    %>
    <OPTION value="<%=s%>" <%=(s.equals(valueInYourDatabase)?"SELECTED":"")%> ><%=s%></OPTION>
    <%}%>
    </SELECT>
    Something like this...
    didn't compile it so their are surely errors ;)
    regards
    Alban

  • How can I display a value in a form field

    I have tried using the set_value_as_string and set_value functions functions in query buttons PL/SQL event handler .But then the value is not getting displayed in the field.
    Could I get any help on this ........

    solution removed, because you crossposted.
    Message was edited by:
    Navy_Coder

  • Restrict Values in Design Studio in chart from data source

    Hi All, I have BW Query and I have created a data source that brings lets say 15 values. I only would like to show top 10 values from it. I do not want to restrict in BW query ,, can i still achieve this. The attached screenshot has like 15 values for example,, i only would like chart to populate top 5. How can i do this.. Thanks for your help

    Hello Faisal,
    Is there a reason why you wouldn't want to do this in the BEx query?  Because conditions/exceptions from BEx query are supported SAP BusinessObjects BI4 - Supported BEx Query Elements
    It seems to me that would be the easiest to meet your requirement.

  • Design Studio 1.3: include image, change textbox background colour, Data labels allingment

    Dear Community,
    I've been trying to rebuild one of my Analayis Office Workbooks within Design Studio.
    Attempting this, I've come across some questions I hope to find answers to, with your help:
    1. How can I include images, in a local application? I've inserted the "image" component, but I can't asign an Image file to this.
    2. How can I change the background colour of a textbox-component?
    3. I have a chart in my Dashboard. The bars I want to be labled. But defining, that data labels should be placed outside the bars, there is a mixed result. Some bars show the labels outside, some others display the lable somewhere within the bar.
    Who can help with those questions? Thanks a lot.
    Kind regards
    Sarah

    1. How can I include images, in a local application? I've inserted the "image" component, but I can't asign an Image file to this.
    When working in Local Mode, go to Application -> Open Repository Folder -> and open the folder that your BI Application is named.  Place your image file there.  Go back to your Design Studio Image component and set the src to the name of that image file.  It should show up.  This gets a little more involved when working on the BI Platform or NetWeaver Platform, as you'll want to publish the Image to a public folder on the CMS somewhere (for BI Platform), or the MIME Repository (for NetWeaver Platform).  But the concept is similar in that you have to know where to place the files once you are at that point.  Also as an approach that should work without any need to publish the image to the platform (as it's a little tedious), please read this document:
    How to embed images inside of a Design Studio App without uploading to server.
    Or, if you do not want to go through the base-64 encoding, consider the addon I blogged about here:
    Design Studio 1.2 SDK - An Image Component free of MIME Repository worries
    The deployable version can be downloaded from this blog:
    Design Studio 1.2/1.3 SDK - Design Studio Utility Pack
    2. How can I change the background colour of a textbox-component?
    You will have to write a CSS rule like this:
    .testbox {
        background : #009966;
    Then assign 'testbox' as the CSS Class to the text input box.
    3. I have a chart in my Dashboard. The bars I want to be labled. But defining, that data labels should be placed outside the bars, there is a mixed result. Some bars show the labels outside, some others display the lable somewhere within the bar.
    Not sure how much control the delivered chart components would give you here.  Maybe one of the third party addons listed in this post could help?
    List of Design Studio SDK Components

  • How to display the values in JSpinner in format  day:HH:mm

    Hi All,
    I want to know how can I display the values inside a JSpinner in the format day:HH:mm. Here the value of 'day' can be anything say from 0 to 365 and HH stand for hour and mm stands for minutes.
    I tried to implement it using
    mSpinner.setEditor(new JSpinner.DateEditor(mSpinner, "DD:HH:mm"));
    but here the values of day was not proper. Please let me know if there is any standard format or how can I configure my own editor.
    Thanks,
    Rohit.

    Hi,
    It worked well for 112 as 112 comes under April month.. i.e. it will work properly for the range 91 to 120 as the current month is April and if we start counting from january 01 then for April month , the number of day will fall under range 91 to 120.
    See, it will allow you to change the values beyond the limit (i.e. less than 91 or more than 120) but the real problem is that I used this spinner in the table and when I will try to save the value of spinner , then if the value of day in beyond the limit 91 to 120 then it will automatically changing in the range between 91 to 120.
    I tried to use format DD:HH:mm ...... do I need to use any other format..
    Hi All,
    I want to know how can I display the values inside
    de a JSpinner in the format day:HH:mm. Here thevalue
    of 'day' can be anything say from 0 to 365 and HH
    stand for hour and mm stands for minutes.
    I tried to implement it using
    mSpinner.setEditor(newJSpinner.DateEditor(mSpinner,
    , "DD:HH:mm"));
    but here the values of day was not proper. Define "not proper". I just tried it and it displayed
    day 112 for today which seems correct.

  • DISPLAY ANY VALUE OF FIELD OR VALUE WITH ALERT MESSAGE

    COULD I KNOW THAT HOW CAN WE DISPLAY A VALUE OF A FIELD OR A BIND VARIABLE WITH MESSAGE OF AN ALERT IN FORMS.
    AN ALERT WICH HAS ALL THREE BUTTON

    First creat an alert in the object navigator called MY_ALERT then use the following code
    alert_id := Find_Alert(MY_ALERT');
    set_alert_property(alert_id, ALERT_MESSAGE_TEXT, 'YOUR MESSAGE '||<BIND VARIALBEL OR :ANY FIELD VALUE); alert_button := show_alert(MY_ALERT);
    IF alert_button = alert_button1 THEN
    <do something>;
    ELSE
    <do something>;
    END IF;
    (Refer to forms help as it explains more in detail)

  • Planning function and planning sequence of Design studio new features!!

    Hi Experts
    Recently I have updated my design studio to 1.3 and happy to see many new updates. Meanwhile i saw some new features add planning function and planning sequence.
    As per my understanding, Using this features we can enter data at run time. My query is here
    Is it like we are entering data at run time and see the changes in current data(chart series)
    Ex: Add discount for product 10% and relevant data(in chart) reduced to 10%
    or
    Is it like integrated planning? Once we enter data in run time and it saves in BW planning cube?
    I am totally confused with this feature.. Can any one help me to get clear understanding on this please !
    Regards,
    Mathivanan M

    Hi,
    maybe these two article can help you:
    #1 Planning in Design Studio 1.3
    #2 Planning in DS 1.3 - Using different script methods for planning
    As i unterstand, it's only possible to write back in BW.
    Best Regards 
    Sebastian

  • Substring Function in Design Studio

    Hello all,
    I have a question. Is there any substring like function in Design Studio because I have a string and I need to cut the part of the string on the dashboard to show.
    For Example
    My String: HELLO
    I only want to get "EL" from that string and show that on the dashboard.
    Is that possible?
    I appreciate your help in advanced. Thanks.

    Zahid,
    As Tammy mentioned Help document has it all.
    You can find it in Help of Design Studio application itself.

Maybe you are looking for

  • Email no longer automatically adds signature.

    Another weirdness that's plaguing me (maybe "plaguing" is too strong): I used to be able to have my signature automatically appear when I created new emails. Now, not so much. I must manually click on the signature list. Any ideas?

  • How can I cancel my iCloud Storage plan?

    When I upgraded my iPhone 4 to iOS 5 and it turned into a "brick" I was forced to use iCloud to backup and restore and it kept complaining that I had 5.9 gb which is over the 5.0Gb free storage provided, so I purchased an upgrade - in a dazed and con

  • Help for identifing top sql statements

    Hi all, We are doing load testing on oracle 9i with 500 concurent users. At some point of time the database was hang. I would like to know which query is taking more time/ which resource occuping more. Can any body help in this regard. Thanks in adva

  • Book listening is not working properly

    hi friends. I am new bie here . So sorry if I am posting in wrong way or wrong section. I got few pdf books which when i try to listen it  speaks garbage characters. Other books are working fine. Can you please suggest me the cause of this behaviour

  • Why PS_TXN transaction sequence is configured as 50 by defult

    Please can you help me understand why PS_TXN_SEQ is configured as 50 by default ... generally it should be set it as 1 Thanks for your inputs Sreeni