Display Repeated Values in a Crosstab - Design Studio 1.2
I've a report in Design Studio from a Bex query. There are repeated values in few columns which Design Studio 1.2 refuses to display.
note: I've already unchecked the box "Hide Repeated Key Values" in the query properties of Bex query designer and i'm able to see repeated values when I open the query in Bex analyzer.
Design studio would not display the repeated values in the crosstab.
Anyone encountered and fixed a similar issue before?
Hi Stephen,
I was not able to resolve this issue, and I had to go ahead with values not being repeated.
I think this is a limitation of Design Studio with no fix for it in v 1.3 either, unless someone could suggest otherwise.
Regards,
Abbas
Similar Messages
-
Set default value based on current day value and setItems in Design studio
Hello
I have 2 filters on my dashboard - year and month. The default display of the dashboard should populate current year data. Is it possible to create formula to populate dynamic default value based on the current date using setSelectedValue() ?
Also, for the calendar month, the items are set as below
DD_MONTH.setItems(DS_1.getMemberList("0CALMONTH",
MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 12, "ALL");
This displays month values as 01/2014, 02/2014 ... How can I change these value to display as January if mm = 01 and February if mm = 02 etc..
Thanks
SirishaHi Victor,
I have tried using below statment to populate current year as the default selection value for the dropdown. Used it on Startup, but for some reason it loads all the data when the dashboard is opened the first time. Any ideas?
DS_1.setFilter("0CALYEAR",[Convert.subString(APPLICATION.getInfo().dateNowInternalFormat, 4,6)]);
Thanks
Sirisha -
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,
TanishaOptionally, 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 -
How to set a BEx Query Condition in Design Studio (e.g. Net value GT 0)
Hi experts,
I have set a simple condition in my BEx Query...
e.g. key figure "Net value" GT 0 to become only positive values in the query result.
In the Query runtime the condition works successful, but in the Design Sudio view the defined Query condition doesn´t work.
In my Design Studio crosstab I have tried to switch between the display setting "Conditional formating Visible" true/false, but without success.
By the way, before I have posted this thread, I had a look at this two blogs...
Design Studio 1.0: Create a Scorecard Using SAP BW BEx Query Exceptions
Design Studio 1.2 - a Second Look
Any ideas or experiences?
Thanks and regards,
MichaelHi Michael,
I think you are mixing up two different BEx terms. Conditions are filters on key figures (show me only the results with a value bigger than 50). Exceptions do not filter the result set, but provide a formatting based on the values in the result set (if value is bigger than 50, make its cell red).
The Conditional formatting setting in Design Studio refers to the BEx exceptions. For the BEx conditions there isn't such a setting available. You just have to activate the condition in your BEx Query and use that for your data source in Design Studio.
If you want a workaround to enable/disable conditions from Design Studio, check this blog I wrote: HackingSAP.com - SAP Design Studio and Conditions It shows how you can use variables to adjust the conditions (and also activate) from within Design Studio.
Cheers,
Xavier -
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,
MichaelI 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? -
Design Studio Crosstab - Limitation?
Hello All,
Below is a summary of issue I'm facing at a customer location.
Design Studio CrossTab :
Q1
Q2
Q3
Q4
north
100
120
130
142
south
123
176
132
123
east
130
187
154
134
west
132
133
189
134
I'm currently working at a customer place on a dashboard requirement and found this gap in requirement for crosstab.
Would really appreciate if anyone can point me towards a workaround to achieve this.
Consider the above sample cross tab which shows regional sales by quarter.
It is required to be able to click on any of the numbers and go to a detailed report for those two dimensions : EG : click on 100 and open detailed report for NORTH/Q1.
We plan to achieve this by using design studio for first page and on click open a webi document thru OPENDOCU and passing respective parameters.
The problem is , in design studio – it is not possible to click on a measure to capture both the dimensions.
In the CROSS-TAB component of Design studio,We can either capture region or Quarter but not both at the same time.
Is there any way I can click on the numbers and capture the associated two dimensions for the key-figure.?Vinay, as you that cross tab will let you select either on row header or column header. Meaning, you can select either row value or column value.
So this can be achieved but you need to have dimensions either in columns or in rows. I tested this scenario and could capture both dimension values.
Apparently, it is a workaround not a solution
var div=CROSSTAB_2.getSelectedMember("_dbYX8CwZEeS6mO4guBZEDA").text;
var type=CROSSTAB_2.getSelectedMember("_dbY_ACwZEeS6mO4guBZEDA").text;
TEXT_3.setText(div+type);
You may use these variables in your OPENDOC.
Hope this helps!
Regards,
Tejas -
Display only first value of the repeated values in ALV report
Hi,
Test Data
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
1000 2000.00 567850.00
1000 2000.00 567850.00
2000 6000.00 767850.00
In this type of ALV Report in which only the First field value of the repeated value should be displayed.
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
2000 6000.00 767850.00
I can display document value as like expected result in SORT ORDER in LAYOUT but the Quantity value,Net value which cannot be done in SORT ORDER in LAYOUT.
Please tell me the suitable solution.For a Sales Order there are two Invoice.
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
234774.00 456.00000 25 456
234774.00 456.00000 35 898
234774.00 456.00000 20 496
901 634774.00 256.00000 50 746
634774.00 256.00000 10 456
634774.00 256.00000 20 545
634774.00 256.00000 30 869
I need to print this billed Qty and Net value only once in first line and it should not be deleted.
I need the result like this
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
25 456
35 898
20 496
5001 901 634774.00 256.00000 50 746
10 456
20 545
30 869
The same value should not be repeated for Billed Qty and Net Value.
I can do that for Sales doc in sort order in layout but i couldn't do for Billed qty and Net Value.
Please help. -
Parameter Value passing issue to Web i report from Design Studio APP
Hi all,
I am trying to pass values to 2 parameters in a web I report called DIM1_REPORT and DIM2_REPORT. The values with space for example, Computer Sciences Corporation is getting passed as Computer\Sciences\Corporation Looks like the space is getting replaced with \ and as the values doesn't match the database values, no results are being retrieved. I tried using Convert.urlEncode function as well. But no luck still having same issue. Below is the URL,
"http://servername:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AWD5NloJ4rVKoi2Y8m89GY0"+
"&lsMDIM1_REPORT=" + GLOBAL_SCRIPTS_1.DIM1_FILTER_SCRIPT() +
"&lsMDIM2_REPORT=" + GLOBAL_SCRIPTS_1.DIM2_FILTER_SCRIPT()
Has any one faced this issue and have a solution for this? Appreciate any help on this
Thanks
NithinHi Mustafa,
Thanks for the response.
I tried to replace the \ with %20 using the following code
Convert.replaceAll(GLOBAL_SCRIPTS_1.DIM1_FILTER_SCRIPT(), "\ ", "%20");
But getting error in the script editor saying
I think \ is causing this issue. If I use any other character other than \ in search expression its not throwing any error in script editor. Any idea is \ considered as delimiter/break in design studio?
Any other way to fix this issue in design studio?
Thanks,
Nithin -
Dump when trying to display characteristic values in QUERY DESIGNER
Hi Experts,
Life seems to become a struggle with 7.0 for me :-(.
My current problem:
If I try to display characteristic values in Query Designer (left section of screnn, wthin dimensions) system dumps frequently.
It's that kind of dump, that doen't help really (to my oponion)_
What happened?
The exception 'CX_RSR_X_MESSAGE' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_RSBOLAP_BICS_SERVICES======CP' has to be
terminated.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_RSR_X_MESSAGE"
"CL_RSBOLAP_BICS_SERVICES======CP" or "CL_RSBOLAP_BICS_SERVICES======CM003"
"HANDLE_UNCAUGHT_EXCEPTION"
... etc.
BW 79, SP21
GUI 7100.4.14.3136
Any ideas?
Thanks in Advance and Regards
JoeHi Vikram,
Thanks for reply. Reinstalling GUI was successful, but - error still occurs. ..
Regards
Joe
Edited by: J.F.B. on May 28, 2010 3:02 PM -
Accessing a SAP BW table data to display content in Design Studio Application
Hi,
I am working on a Design Studio application that contains a link to all the reports for different business users in an organization. The end user should see the links to only those reports he/ she has access to. This access rights are stored in a SAP BW table. I want to pull that data from SAP BW table to my application so that I can implement a layer of security in my application.
1) What would be a good idea to get SAP BW table data in a design studio application.(This data is not used to populate my application, but will be used to check access rights for a user who is going to open this application).
2) What will be a good option for deployment of this application ? On SAP Netweaver platform or on SAP BI PlatformHi Michael,
Let me present my issue in a more clear format,
I have a web template launch page that was created using BW 3.5. This web template has only one web item and that is 'role menu'. This role menu will display all the available list of web templates for each user as per the access rights of each user. Hence this web template was the only door for my end users to access BEx reports.
While we were migrating to 7.x we found that there were no equivalent item available in 7x version. As a workaround, I migrated all the queries and web templates from 3.5 to 7x but I didn't migrate the door. I asked my Basis team to replace the connection parameters for the links present in the door.
So now all my users still use the 3.x web template but when they click on items in the list, they will be accessing reports that are of 7x version.
Now my IT is planning to upgrade IE and knowing that bex 3.5 tools are not compatible with BW 7.4. This sounds like the role menu won't work at all with 7.4.
I started exploring Design Studio to search for an alternative for Role Menu component. I created an application using HTML template in Design Studio. Now I am looking for different approaches to implement the same functionality in Design Studio. Can you please provide some inputs on this scenario. -
Hello,
I have a Design Studio Extension with a background image which behave well in Design Studio 1.2.
In Design Studio 1.3 when I drag the control into the canvas the image does not show-up. If I execute the application the image appear in the browser even is not in the canvas.Once I save and reopen the application the image is displayed on the canvas as expected.
I built an extension based on the 'Timer' sample which comes with the DS_13_SDK_Samples ( it has a background image) and it behaves the same way - when you drag the control on the canvas, the image is not displayed.
Any help to solve this issue is much appreciated.
Thank you.It does start to work once I save and reopen or even when I run.
I tried the inline style but the behavior is much stranger. It does work if I have a full address url to an image, but if my image is part of the control's folder structure it fails completely - it cannot map the right address to the image. The only configuration that appears to work better is the one with the original problem.
Thank you. -
How to show only six values in dropdown box in design studio 1.3
Hi,
There was an requirement from our client to show only last six months in the drop down, when actually there is almost past 30 months are coming from the database. The data format also looks similar to "2014007", "2014006:..etc. Any idea to achieve this through loop.?
Thank You,
PalaniHi Karol,
I like your idea, but i have difficulties to use it
i have a datasource DS_2 and i just want to show specific Members of my keyfigures.
When i fill my dropdown with this code it just gets empty and returns an error. Somehow i have to say if i want to show the Key or Text ?
i also need this infiormation to be able to compare my elements in the if clause ?!
Can you help me out ?
Best regards
Manfred
DS_2.getMembers("003N81FHQ23D64UTALOPW7MVN",0).forEach(function(element, index) {
DROPDOWN_2.addItem(index, element);
/* if ((element == value1) || (expression2 == value2)) {
if_statements
} else {
else_statements
EDIT ....
I've found the way how to access the keys and values ... i have to define an array and then i am able to access the internal keys and Text.
Just for others searching ....
var ArrayMem = DS_2.getMembers("003N81FHQ23D64UTALOPW7MVN",0);
DROPDOWN_2.addItem("#", "No Filter");
ArrayMem.forEach(function(element, index) {
if ((element.text == "Anzahl Sätze") || (element.text == "Gepäckgewicht")) {
DROPDOWN_2.addItem(element.internalKey, element.internalKey + " - " + element.text);
This SCN article helped me out: http://scn.sap.com/community/businessobjects-design-studio/blog/2014/09/19/learn-about-arrays-in-design-studio-13
Best regards
Manfred -
Can't display Design Studio in IE but can in Chrome
Ok this is going to be REALLY weird, so bear with me. We have 3 environments for BOBJ; Dev, Qual & Prod. We are noticing very odd things with regards to displaying Design Studio reports in the various environments depending on what Browser is being used. See below for what happens.
Dev: Report can be displayed in both IE and Chrome
Prod: Report can be displayed in Chrome, IE returns a cannot display the webpage message
Note I am viewing the same Design Studio report in each environment, so same one in Dev for IE and Chrome, and another one in Prod for IE and Chrome. Why would Design Studio prevent the report from being viewed in IE but run fine in Chrome, and more importantly (and oddly) why is this environment dependent? This is all on the same machine also. See picture below for the message I am getting on IE in Prod. IE version is 10.0.9200.16843.Ok so I fixed this, I had to go into my IE Settings and go to Advanced and click the Reset Internet Explorer Settings button. This fixed the issue, but not sure why it happened to begin with and why it was environment dependent. Another co-worker just had the same issue and had to do the same thing. This issue seems pretty...prevalent given that we only have a handful of people viewing these reports and already half of them have had the issue. :-/
With regards to Dev vs Prod, Dev is not load balanced/clustered while Prod is. I disabled friendly HTTP errors in IE and got the same issue. -
Design Studio - Display a dummy image when searched photo does not exist
hello,
I would like to display an employee photo, which should be searched on the server folder with URL.
Each photo name in my folder is : "employeeId.png".
But some employees do not have a photo, and in this case I try to display a dummy photo, which I have in the same folder with employee id 00000000.
My variables are :
- URLlink variable is global variable type URL, which gives a path to my folder with employees photos
- empnb variable is filled with employee id through getSelectedMember on cross table
- filename variable to search a photo on the server
- filename0 variable for those employees for which photo does not existe
I tried to test the existence of an employee photo with getHeigh() method or getImage() method, to check if a photo filename set in Image1 is a real
one. Cause if a photo does not exist, the Design studio put by default a small black cube inside Image.
Unfortunatelly these tests are not working .
My script:
var filename = URLlink + empnb + ".png"; // existing employee photo
var filename0 = URLlink + "00000000" + ".png"; // dummy profile photo
IMAGE_1.setImage(filename); //Try to put a photo found on the server
var height = IMAGE_1.getHeight();
if (height == -1)
{ IMAGE_1.setImage(filename0); }
else {IMAGE_1.setImage(filename);}
Does anyone have other idea how to test if a photo exist or not in my folder.
Many thanks!
BeaI do not think it is possible today (at least not via checking of the image size). Such function would require
* code extension in image component -> boolean IMAGE.exists()
or
* could be made by custom image implementation via design studio SDK. This custom image would send a request via Ajax and check response status. in case not existing some dummy images would be placed.
for both options there are no plans as of today.
the only option I see today is to generate in the folder "dummy" images for all employes who do not have any real image. -
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
MerlinHi 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
Maybe you are looking for
-
Hi all i am working to create a XML file using java can any one show me some sample code how to do so
-
Hi, I have been trying to make an online photo gallery using Photoshop Elements 8.0. I am hosting this album on my own website with the idea that family and friends can view and download the album or pictures as they require. Making the album goes we
-
Exporting to Quicktime for older versions
Hello. I have a the latest version of QT and so when I export a video, it plays on my computer but not for folks running older Window versions. Is there a way I can export to a QT 6 clip without having to re-install the older version of QT therefore
-
How to schedule the report RSWUWFML2
hi, I need some guidance about scheduling the report RSWUWFML2. Apart from the default values, I have put the fields Tasks, radiobutton One message per workitem and checkbox Workitem execution. For the from date and time I need to verify. From work
-
Upgrade ios 5.1.1 to 6.1.3
Hello, I Have iPAD 1. Can I upgrade from 5.1.1. to 6.1.3? If yes, how? Thanks. Best, Stefan