Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all 4216 articles
Browse latest View live

Second attempt to execute event handler...

$
0
0

I'm getting the following run time message in Design Studio:-

 

"Second attempt to execute event handler "On Result Set Changed" for datasource....."

 

All I have is a datasource (DS_1, connecting to a universe) with load in script set to "false" and an "On Result Set Changed" script as follows:-

 

if(DS_1.getDataAsStringExt("_Tv0XQIA8EeSrtOqdJ8NBdA", {"_lnWO8IA7EeSrtOqdJ8NBdA":"Current Month"}).substring(0,1)=="-")

  { TEXT_1.setText(DS_1.getDataAsStringExt("_Tv0XQIA8EeSrtOqdJ8NBdA", {"_lnWO8IA7EeSrtOqdJ8NBdA":"Current Month"}));

    TEXT_2.setText("some text");

    TEXT_3.setText("other text");

  }

else

  { TEXT_1.setText("+" +

    DS_1.getDataAsStringExt("_Tv0XQIA8EeSrtOqdJ8NBdA", {"_lnWO8IA7EeSrtOqdJ8NBdA":"Current Month"}));

    TEXT_2.setText("other text");

    TEXT_3.setText("some text");

  }

 

I have noticed in a previous post that this was a bug in version 1.2 which was due to be fixed in SP1 as per note 1953361. We are currently on 1.3, does anybody know if this is still an outstanding issue or is it something I'm doing wrong?

 

Regards, Barry Howe.


DS 1.5 Created Folder for Bookmarks are invisible

$
0
0

I have a customer DS Installation - BOE 4.1.6 DS  1.5 - where the customer is unable to use bookmarkfolder within the CMC.

They get created but stay invisible. When you try to create Folder "test" again, it tells you that this Folder already exists. But the Folder itself stays invisible - also in the move to menue for the Bookmarks no Folders are visible!

 

Any ideas?

 

Wobi

How to trace parallel processing with profiling in SAP Design Studio 1.5

$
0
0

Hi Gurus,

 

Recently I've upgraded to Design Studio 1.5 and working on parallel processing groups. I've created four groups for six data sources, modified merge prompts to "False" but still not able to conclude whether it is doing parallel or sequentially.

 

PROCESSING GROUPS & DATA SOURCES                                    MERGE PROMPT SETTING AS FALSE

                                                        

                                   

 

 

 

PROFILING

 

 

 

Please suggest me how to trace parallel processing as I'm not getting one more option in Profiling to search for Individual Parallel Processing Groups


Thanks & Regards,


Sai Saran Velicheti.

Crosstab disappears while removing the selection, when it's hidden.

$
0
0

Hi All,

 

I have a design studio 1.5 application  where I use four crosstabs as selector component for a hierarchy tree, for four different views. I do this because I want to retain the changes done in each view. Hence the four crosstabs. I have a reset button that removes the selection on the crosstab. When I do this, I removeSelection() for all crosstabs at the same time. So when a crosstab is hidden, and when I do a removeSelection() for a hidden crosstab, the hidden crosstab does not appear when I go to that view. My design studio version is 1.5 in BW query on 7.3

 

I have recreated the same scenario with sample data in below.


Following is the initial view of the application:

101.jpg


There are four different Crosstabs for four different selections in the Dropdown. All the crosstabs are enabled with the “Single select” option. For the first time when any of the selections is made in the dropdown, the corresponding crosstabs appear and the selections can be made on the crosstabs as below.

 

  1.Select a region in the crosstab while the dropdown is in Fuel Oil -S

102.jpg

2.Select a region in the crosstab while the dropdown is in Light distillates -ST

103.jpg

3. Select a region in the crosstab while the dropdown is in Medium distillates –ST

104.jpg

4. Select a region in the crosstab while the dropdown is in Others –ST

105.jpg

5. Click on the reset button present in the application:

106.jpg

When “Reset” button is clicked, all the selections in all the crosstabs get deselected. And the crosstab that is visible in that particular view shows that the selection is removed.

 

6. Now click on light distillates- ST in the dropdown. The crosstab disappears

107.jpg

 

The charts disappear for the immediate first selections of all the values in the dropdown, after Reset Button is clicked .During the second time of the selections, there is no problem with the Visibility of the charts.

The same problem arises every time the RESET button is clicked.

 

Thanks & Regards,

 

-Veera

Switch BEx Conditions on demand from SAP BusinessObjects Design Studio

$
0
0

We often get requests for dashboard requirements like switching the conditions of particular views such as TOP N , Bottom N , Less than X , Top % etc. Readers may recall that this was also recently asked in one of the SCN posts.In this blog, I am going to explain simple steps that will have great impact in performance of the application by reducing the number of Queries used.


Conditions in BEx

We generally define condition to show only a part of the entire dataset that satisfies the specified condition. There are different types of conditions in SAP BusinessObjects Design Studio.

You can learn more about Conditions in BEX here- Definition of condition , usesand example scenarios

.

Our Scenario  – Sales Dashboard

Let us consider a Sales dashboard that consists of list of customers and the revenue generated by them.  Sales Executives are typically interested in looking into their customers as different segments.  For instance, they would want to view them  as Top N customers, Bottom N customers, Top N% Customers, Bottom N% Customers, Customers for whom the revenue is Greater Than X,  and Customers for whom the revenue is Lesser Than X.

How this is generally done?

  • Create 6 Queries (one for each condition)
  • Add an input variable to the condition in all Query
  • Add all the queries to SAP BusinessObjects Design Studio and map it to the desired component like chart/crosstab
  • Provide an option to specify the condition like radio button or dropdown
  • Provide an option to get the input with a suitable component like input field or dropdown.

How this can be done effectively?

Although the above method solves the purpose, it is highly inefficient since it utilizes multiple queries. With the release of SAP BusinessObjects Design Studio 1.4, there is a way to deliver this requirement more easily and effective using only one query.

Here’s how:

Step 1

Create a Query in SAP Business Explorer (BEx) with the required dimensions in rows and columns.

query-in-sap-business-explorer.png

Step 2

Create a condition for the keyfigure with an input variable –

Click on Condition Tab -> Right Click ->New Condition

 

conditions-in-sap-business-explorer.png

Add a Description as Top N, then click on New button to define the condition in which you will be prompted to add the keyfigure, operator and the value for the condition.

change-conditions-in-sap-business-explorer.png

After selecting the necessary keyfigure and operator, click on the icon adjacent to the ‘values’ input box to add input variable as a value. Now you can use an existing input variable or create a new one.

Step 3

Create an input Variable and provide a suitable Description and Technical Name for the variable. In the Global Setting section, select the option Manual Input / Default Value under Processing By option.

To set a value as default click on Default Values Tab and select a value for the variable.

change-variable-in-sap-business-explorer.png

Similarly follow Step 2 and 3 to create all other conditions.

Once all six conditions are created, activate the condition only for TOP N and deactivate all other conditions.

activate-conditions-in-sap-business-explorer.png

 

Step 4

Add this Query as a Data source and assign it to a chart in your SAP BusinessObjects Design Studio application.

chart-in-sap-businessobjects-design-studio.png

Add a radio button as selector for switching the conditions.

radio-button-in-sap-businessobjects-design-studio.png

radio-buttons-in-sap-businessobjects-design-studio.png

Add an input field to specify the value to be passed to the input variable and an Apply Button to pass the value to the query and fetch the data that matches the selected condition.

input-field-in-sap-businessobjects-design-studio.png

Step 5

Give the following script in Apply Button:

/*Get all the ids of contions used in the Query */
var contion_ids=DS_1.getMeasureFilters();

/*Use a for Each Loop to dynammically activate and Deactivate the selected conditions */
contion_ids.forEach(function(element, index) {

/*if the index (order of the condtion) is equal to the getselectedvalue of the radiobutton Then activate the condtion */
if(RADIOBUTTONGROUP_1.getSelectedValue()==index+””)
{
DS_1.setMeasureFilterActive(element, true);
}
/*Deactiate all other condtions */
else
{
DS_1.setMeasureFilterActive(element, false);
}
});

/*Pass the value specified in the inputfield to the variable */
DS_1.setVariableValueExt(“ZVAR_INPUT_N”, INPUTFIELD_1.getValue());

 

top-n-and-bottom-n-in-sap-businessobjects-design-studio.png

Explanation

If the condition selected is Bottom N, then RadioButton.getselectedValue() will be 1.

For the first iteration, the condtion_id array will have index=0; the loop ignores the ‘if’ section and executes the ‘else’ section, thereby making Top N condition inactive.

For the second iteration, the condtion_id array will have index=1; so ‘if’ part gets executed, the Bottom N condition is made active.

From the next iterations, ‘else’ part is executed; all other the conditions are made inactive.

top-n-and-bottom-n-in-charts-in-sap-businessobjects-design-studio.png

I hope this blog has helped you in understanding the powerful APIs of Datasource alias getMeasurefilterids() and  setMeasurefilter (id,activate/deactivate).

Through these easy steps, you will be able to use multiple conditions in single Query and activate them on demand from SAP BusinessObjects Design Studio. This method will have great impact on the performance of the application.

Error With Universe Connection - Design Studio

$
0
0

Hello Experts!

 

We are facing some issues regarding the use of Universe Connections within our Design Studio application. When we create a Universe Connection in the Design Studio application and then execute it in the BI Platform (Launch Pad) we get the following error:

 

first_error.png

second_error.png

 

However when we deploy the same Design Studio application locally (Through localhost) it works perfectly fine (no error is displayed). We only get this error when executing it in Launch Pad.

 

If we click “Edit Initial View” in the Design Studio Application, we can see the results correctly:

 

edit initial view.png

 

Has anybody faced a similar issue?

 

Technical specifications:

    • BO 4.1
    • Design Studio 1.4
    • SAP BW 7.4


    • PS: This Universe is connecting to an ABAP Function in the SAP BW system, through a relational connection.

Use getter/setter in component.js

$
0
0

Hi,

 

I'm new to the Design Studio SDK and this is probably a pretty easy one...

 

I would like to change an object, that is exposed to Design Studio inside a function in component.js.

 

Snippet from contribution.xml

<property type="String" title="WebserviceURL" id="wsurl" group="Webservice"></property>

 

Snippet from contribution.ztl:

 

/* Returns the current WebserviceURL for Webservice. */
String getWsurl() {*
return this.wsurl;
*}

 

 

/* Sets the WebserviceURL for Webservice. */
void setWsurl(/* New Wsurl */ String newWsurl) {*
this.wsurl = newWsurl;
*}

 

Snippet from Component.js

 

this.wsurl = function(value) {
if (value === undefined) {
} else {
_wsurl= value;
return this;
}
};

 

also in Component.js is a function, that i can run from Design Studio using michaels hack to execute functions from Design Studio.

 

      function processSuccess(data, status, req) {

          if (status == "success")

         

         var xml = req.responseText;

          this.wsurl = $(xml).find("Success").text(); // this doesn't work!

          alert( $(xml).find("Success").text()); // this works!

 

      }

 

In SAP Design Studio I would expect to see the content of var xml, when I use the getter (getwsurl). But that doesn't work.

 

So how can I access and change the wsurl from inside a function in component.js?

 

Thanks in advance.

 

Frederic

Design Studio iView - White Page - No Errors

$
0
0

Hi Community,

 

i have here a strange Problem.

 

I installed the Design Studio 1.5 Addon for the NW Portal (7.4 SP08)

 

Then i installed the Design Studio 1.5 Client on my Windows PC and connected it to the SAP BW System in the preferences...

 

Then i created a Dashboard and saved it.

 

After that i created a iView (template was the Design Studio iView) and as application in the iView (Content - Design Studio) i added the application i build in the Design Studio.

 

When i launch now the iView i get only a white page.. It seems that the application will be loaded.. But not displayed...

 

I can see no errors anywhere... only a white page... If i write a applicationname in the iView that doesn`t exist.. I get an error that the application does not exist... if i write in again the right applicationname.. only the white page is displayed..

 

So it really looks like the iView is working but does not show the application...

 

//EDIT

 

OK.. I tested it now in the Firefox.. there the iView works fine... i get the white page only in the Internet Explorer....


Design Studio "Set Personalization"

$
0
0

Hi,

 

Overview

Set Personalization - is an interesting feature that offer users to "Default their view" at any point of time while diving into the application.

Next time user open the application the default landing page will be "Personalize view".

 

Issue

It is working great when i run the application locally. The moment publish to BIP it stops working.

 

Steps On BIP

  1. HIT button to personalize the view, message to be appear via script "Successfully Personalized". ( Observation - Something happens, message don't appear) open the application again, still comes up with DEFAULT view the way Designer Application was setup.

 

Anyone any thought or possible workaround on this? Highly appreciate

 

Approach Tried

Checked one BROWSER (IE10/Chrome/Firefox). Enabled browser "POP-UP. Still no luck

 

I wonder if we can do some settings on CMC side?

 

-Fahad

Text component getting value from dimension of datasource

$
0
0

Hello All,

 

   How to read particular dimension values from the data source  into text component in SAP design studio 1.0.

 

Eg. I want to display Company code for particular employee in text component.

 

Filter has been all ready set for employee no on data source.

 

Thanks

Puneet

How to apply CSS to grid layout to make it really like a grid

$
0
0

Hi Supers,

 

I want to use a grid layout and make it really like a grid, with inner lines for each cell.  like:

 

Header 1Header 2Header 3

please ingore Header1,2, just blank cell will be OK.

 

I see there's a CSS class like -ms-layout-grid-line, I applied, but nothing works. Anyone knows how to realise that? Many thanks.

Chart not show no data message after setFilterExt()

$
0
0

Hi,

 

I'm using SAP DS 1.5 and a UNX universe. I'm trying to filtering a datasource with setFilterExt method.

 

If there is at least one data value then the filter works perfectly and refresh the chart object. But when no return data, the chart show the first data that time firstly dashboard open.

If return no data, I want to show "no data value" message on the chart or any textbox.

 

How can I solve my requirement?

 

PS: I don't want to use DS1.setVariableValueExt() method because of performance issue.

 

Regards,

Keraban

Upload a Local Application to the BI platform

$
0
0

Hi,

 

I want to upload my local dashboard to the BO server but I don't see the option in Design Studio 1.5 under Tools > Upload local application .

I watched this official tutorial but I cannot implement it.

 

http://scn.sap.com/docs/DOC-33832

 

 

Is there anything that I do wrong or do I miss something?

 

Is it possible to upload it directly in Central Management Console? I also tried it without success :-(

 

I would appreciate any help.

 

Thanks in advance,

Deniz

Export datasource to Excel error in DS1.5?

$
0
0

Hi All,

 

I am encountering an error when exporting one of the datasource to excel in Design studio 1.5.  Below is the error message.  I am able to see data in the crosstab. The data looks fine, but exporting to excel it hits below error message.

 

Any idea how to fix this?

Excel.png

 

 

 

 

 

Regards,

KitKat

Trouble with installing deployable Features to DS

$
0
0

Hello everybody, I have been trying to follow Developer Guide: Design Studio (version 1.3 SP02-2014-10-06)

 

My current situation is as follows; I am copying a sample component (coloredbox) and following the documentation renaming it to create my own. When I run the component via eclipse everything seems to work fine (it is correctly renamed and usable).

 

The problem is related to installation ( I assume), the component is clearly installed in DS (I can see it from : help ->About->installation details), but the component does not appear in the components menu as it does when its run under a new tab, "Custom Components".

 

The only alterations I have made to the new copied component in Eclipse are altering certain files(plugin.xml, creation of feature, creation of category etc.) project as requested in the guide.

 

I have found 1 post that is closely related to my issue with the following title(for some strange reason I cannot post the link):" Design Studio sdk - cannot see custom component in DS" unfortunately I have checked and redone the same thing for the past couple of hours without any success, and I am wondering if anyone has any suggestions or could help me troubleshoot the issue.

 

Thank you for your patients

and thank you for your help and attention in advance


Design Studio 1.5 Installation Errors

$
0
0

Hello all,

I have been trying unsuccessfully to upgrade to Design Studio 1.5 and have come to a point where I need help

 

My computer runs on:

Windows 7 Enterprise Service Pack 1

64-bits Operating System

Internet Explorer 11

8.00 GB RAM

 

I have followed the steps below:

 

- Uninstall Design Studio 1.4 (64 bit) client tool

- Install Design Studio 1.5(64 bit)*client tool as Administrator

- Installation runs with no problems

 

*I have tried installing also the 32-bit version, with the same result)

 

Problem

When I try to open Design Studio I get a user interface that looks incomplete:

 

Interface.png

an it's unresponsive (clicking on New Application or Open Application does nothing)

 

When I kill the DS Task I get this error message:

 

Error.png

which seems to hint a Java or Out of Memory error, but I doubt that is the case.

 

Looking at the PAM: https://websmp209.sap-ag.de/~sapidb/012002523100008450702015E

I can't see any reason for the installation to not work (there is no reference to a minimum RAM memory requirement)

 

I have checked and I seem to have Java Version 1.8 installed

 

AboutJava.png

 

Design Studio (64-bit) 1.4 worked with no problems

 

I wonder where would I find logs for this installation?

 

Any help or pointers are appreciated

 

Regards

 

Carlos

How to get the user? Always "UNKOWN"

$
0
0

Hi guys,

 

why am I getting "UNKNOWN" as user after I call "DS_X.getInfo().user;"? It doesnt matter if I am on NetWeaver or BO..

Somebody with similar problem out there?

 

Best regards,

Juri

Design Studio 1.4 SDK - How can native mobile scrolling be enabled for components based on UI5 sap.m controls?

$
0
0

Hi All,

 

When prototyping sap.m based components using handler type "sapui5", up until Design Studio 1.3, I'm sure that scrolling on a mobile device for controls such as sap.m.List worked as expected.  However, as of Design Studio 1.4 I've noticed that scrolling no longer works on a mobile device and would like to request your assistance in trying to resolve this.

 

By way of background, my understanding is that the mobile scrolling in standard UI5 is implemented as follows:

 

1)  For iOS Version < 6, the iScroll4 3rd-party library (included with UI5) is invoked for mobile scrolling;

2)  For iOS Version >=6 native browser scrolling is invoked.

 

As of Design Studio 1.4, for some reason it appears that native scrolling is being suppressed.  Karol Kalisz has been good enough to prepare a SapMList prototype component that has replicated the issue (available in the "preview" version of the Design Studio SDK Development Community Prototype components.  The source code is available here: sdkpackage/src/org.scn.community.prototypes at master · org-scn-design-studio-community/sdkpackage · GitHub

 

Interestingly, if the SapMList component is created as a standalone UI5 application, the mobile scrolling works as expected, so it appears as though there is an issue in Design Studio 1.4 that is suppressing mobile scrolling.

 

An updated version of the the SapMList.js library, SapMList-iScroll.js is attached. This includes additional code to force the iScroll functionality to be invoked regardless of iOS version, based on the delegation approach described in the UI5 documentation Scrolling: Implementation Details.

 

Although the iScroll workaround above resolves the issue, with the later versions of iOS it's preferable to use the native mobile scrolling as implemented in the standard UI5 functionality.  Any ideas about why the native mobile scrolling for sap.m controls is being suppressed in Design Studio 1.4 as well as suggested solutions for activating the standard native scrolling would be greatly appreciated.

 

Thanks,

 

Mustafa.

Filtering Data Inside Split Cell Container

$
0
0

Hello,

 

I am working with SAP Design Studio 1.5.

I am trying to create a similar view as in the Online Composition tutorial.

 

I can create charts and save the charts as a portable fragment bookmark and insert them into a fragment gallery.

Once I insert them , I can now display them inside a split cell container.

My question:  Can I have a filter that alters the charts or crosstabs within the split cell container?

 

SAP_Design_Studio_Sample.png

This is a sample application view and the filter will affect the chart within the panel and it saves and displays properly in the split cell container.

Once the chart is inside the split cell, the filter will not affect what ever is inside the split cell.

 

The end goal would be to have a split cell container that can have components that can be reorganized but also be affected by the filter.

If the data source is similar , could the filter work across multiple applications if the grouped bookmarks are placed into a fragment gallery?

 

Thanks,

Alex

SAP Design Studio - Webinar Calendar

$
0
0

Webinars, Workshops and Events - all about SAP Predictive Analysis. Subscribe to stay up-to-date!

SAP Design Studio - Webinars

 

The SAP Design Studio webinars offer interactive presentations on a variety of topics.

Content is presented by experts from SAP and our broad partner & customer ecosystem.

 

 

  • Webinar Dates & Times: Dates are subject to change; webinars will start at 7am PST to cover as many global regions as possible.
  • Registration links: will be enabled a few days before the scheduled webinar date.
  • Recordings: will be posted no later than a week after the event.

 

Please subscribe to email notifications for this page: you will receive notifications of any updates, including new webinar content, dates and availability of recordings.


 

 

Expert Series

Anyone can register

Special Interest Group

Access might be limited

 

 

 

                    

 

Upcoming Webinars - Registrations

DatePresenter
registration 2.png

Expert Webinar

An Introduction to Creating Components with the Design Studio SDK

Jul 30

Matt 46.pngVamsi 46.png

registration 2.png

ASUG Webinar

Tetra Pak's BI Reporting Strategy Using Applications Created by SAP BusinessObjects

Aug 10Anand
Chellappa
registration 2.png

Expert Webinar

Feature Deep Dives: Report to Report Interface, and Data Binding

Aug 13

Ravin Angara 46.png

registration 2.png

Expert Webinar

Geospatial Analytics with Design Studio

tbd

tbd

registration 2.png

Expert Webinar

Online Composition in DS

tbd

John Costello 46.png

registration 2.png

Expert Webinar

Creating Dashboards with the Generic Analysis Templates, Data Discovery Template

tbd

tbd

registration 2.png

ASUG Webinar

Using SAP BusinessObjects Design Studio for Self Service BI

Nov 05Ingo Hilfort 46.png
registration 2.png

Expert Webinar

Design Studio - Enterprise Ready Analytics - Performance, Scale, Troubleshooting

tbd

tbd

registration 2.png

Expert Webinar

Beautifying your Application - the latest Design Studio capabilities

tbd

tbd

h

Webinar Recordings

DatePresenter
registration 2.pngExpert Webinar

What's new in SAP Design Studio 1.5 (recording | presentation)

Jun 25

Jie Deng LinkedIn - smaller.jpg

registration 2.pngExpert Webinar

Creating Effective and Engaging Dashboards and Visualizations (recording)

Jun 17

Jacob Starg (large).jpg

thumbnail.pngExpert Webinar

SAP Lumira & SAP Design Studio - When to use which

May 20

Ty Miller 46.pngdavid stocker square.jpg

 

 

 

 

Expert Webinars - Analytics: SAP Lumira | SAP Predictive Analysis | BI Upgrade | EPM | Web IDE

Viewing all 4216 articles
Browse latest View live