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

Exploring Table Features in Design Studio

$
0
0

Following up from Visual BI Extensions – Feature Highlight:... | SCN I downloaded the trial of Visual BI extensions and without looking at any documents, started looking at the new table component.

1findcomponent.jpg

Figure 1

 

Figure 1 shows where I search for the table, select it and add it to the canvas.

2activatesearching2.jpg

Figure 2

 

By default, searching is not activated.  I select the checkbox to activate it.

3alert.jpg

Figure 3

 

Figure 3 shows the options with the table component. 

 

4alertdefined.jpg

Figure 4

 

For the alert, I select the budget balance, and want an "alert" on projects that are over budget, using the down arrow. 

5runtime.jpg

Figure 5

 

Figure 5 shows the application at run time.  Notice the down arrow next to the project that is over budget.  Also see the option to search.

6SEARCHRESULTS.jpg

Figure 6

 

Figure 6 shows the results of searching for "IT".  So far this is my favorite feature of the table.


Variable selection in Dropdown

$
0
0

Hi,

 

I am new to Design studio and trying to replicate similar functionality in design studio from WAD.

 

I have a scenario which i am not able to implement. I have a Bex Query, in which in Rows i have Actual current year, Actual previous year and Budget current year, restricted with a variable ZFYEAR (0FISCYEAR) which fetches current year value. In columns i have Jan, Feb march which is restricted with periods. Now in WAD drowdown, we just need to restrict the dropdown with data binding of variable selection and it will work.

 

In Design studio, i tried on variable initialization APPLICATION.setVariableValue("ZFYEAR", "2015");

and then in startup DROPDOWN_1.setItems(DS_1.getMemberList("0FISCYEAR", MemberPresentation.INTERNAL_KEY, MemberDisplay.KEY, 20));

and then in dropdown event DS_1.setVariableValue("ZFYEAR", DROPDOWN_1.getSelectedValue());

 

but it is giving me error when i am running.

 

I need that when i select dropdown values, it should gives that perticular value and default as 2015.

 

Regards

Nishant

Triggering Process Chain using a Planning Function in SAP Design Studio.

$
0
0

Currently unlike in WAD ,there is no direct command to trigger a BW Process Chain from Design Studio. But the functionality can be achieved using a Planning Function. This blog explains how the Planning function should be defined and executed in order to trigger a Process Chain from Design Studio.

 

 

Step 1: Create a Real time Infocube and include a Characteristic(XZPCCHAIN) and a Keyfigure (AMOUNT). The Keyfigure doesn't have any purpose, but it is just a dummy.The Characteristic is used to hold the technical name of the process chain, which should be triggered from the dashboard.

 

Realtimecube.png

 

Step 2: Go to the Transaction code RSINPUT and load the record in to the Real time cube, which we created in the previous step. In this case, the Process Chain ID is Z80_C0XXX_TD_004. I have maintained some dummy value for the Keyfigure 0AMOUNT.

 

RSINPUT.pngRSINPUT_2.png

 

Step 3: Create a Multiprovider(XMX_R01) on top of the Real time Infocube( XCX_R01) and assign both the Characteristic and Keyfigure. Creating a MPRO enables us to create an aggregation level on top of it in the next step.

 

MPRO.png

 

Step 4 : Create an Aggregation Level (X80AGGRL) on to the MPRO, and include both the Infoobjects( XZPCHAIN and 0AMOUNT) as part of the Aggregation Level.

Aggregation Level.png

Step 5: Create a Filter ( X80FILTR)  on top of Aggregation Level a restrict XZPCCHAIN with Process Chain ID Z80_C0XXX_TD_004.

 

Filter.png

 

Step 6: Maintain the Function Module RSPC_API_CHAIN_START in the table RSPLF_DIR, so that it can be called in the FOX formula in the Planning Function.

 

Table entry.png

 

Step 7: Create a Planning Function X80PLANFU on type FORMULA using the Aggregation Level X80AGGRL. Click on the Parameters tab and define the FOX formula as shown below. The Process Chain, which should be triggered should be passed to the Function Module as shown below.

 

PF1.pngPF2.png

 

Step 8: In the Design Studio, execute the Planning Function by clicking a button and it triggers the BW Process Chain.

 

BO.png

 

Step 9 : Execute the Dashboard and click the button , there will be a message as "Planning Function executed without errors" . If we check in RSPC , the log view of the PC, we can see the PC being successfully triggered.

 

DB.pngRSPC.png

Using Filter by Input String for a Range

$
0
0

I'm in the Edit Initial View of the Data Source screen and want to use the Filter by Input String to limit the values for a dimension. I have figured out how to code it for a single value, multiple values, and to exclude single or multiple values. I can't seem to figure out how to include or exclude a range of values. So keeping it simple, say I want to limit the dimension City (which has many values) to return the range of Miami to Orlando. Is there any way to do this using the Filter by Input String?

 

Note: I do know there are other ways of accomplishing this, but I specifically want to know if it can be done with the Filter by Input String function.

 

I'm using version 1.5

Design Studio SDK: Facet Selector Component

$
0
0

Purpose

Do you want to select as in a web shop? With facet selector component you can.

This component is very similar to the Design Studio SDK: Facet Filter Component, has different visualization and can help you in applications where you want to filter down based on the information "how many members are there"?

 

Show Case

You want to have simple filtering. It is basically listing the dimensions (from result set or all or custom) and all members. you have options for sorting based on value, count, alphabet.

 

When selected (clicked) the member will be filtered and you can drill down in your data set.

 

fs1.PNG

 

Some animation:

20150623-151457_capture.gif

 


The new 2.0 release Additional Properties

As this is one of the components based on the 2.0 release generation framework, also the additional properties are now nice.

fs2.PNG


How to setup for usage

The functions and properties are similar to the Facet Filter. Also the functions which you need to connect to the data source changes are same. Refer to the blog: Design Studio SDK: Facet Filter Component.

 

Other Goodies

For this component, the members are also counted - the same function is available now in Facet Filter component. Check it out (and Facet Filter is now also in 2.0 release with better additional properties.


Download & Use

This component is available on the community package, release 2.0 for Design Studio 1.5, as in SCN Design Studio SDK Development Community

 

Example as BIAPP:

org-scn-design-studio-community/applications · GitHub

-> SDK_FACETSELECTOR

 

Documentation

Component List - SCN Design Studio Community -> look for the component in the list.

 

Any thoughts?

feel free to add as usual...

 

Enhancements Ideas?

if you have good ideas (to those who would like to contribute but cannot code...) - place an "issue" with tag "enhancement" under Issues · org-scn-design-studio-community/sdkpackage · GitHub

Design Studio SDK: (Generic) Kpi Tile

$
0
0

It was quite hot weekend in Germany, I had to stay in the shade for a while.. here is the output ;-)


Purpose

You have a requirement to use a KPI Tile, but all KPI Tiles are not matching your UI Specification?

 

All other KPI Tiles I have seen were quite restricted, you also the KPI View (in the SCN community) can help you to show KPIs, but the layouting is basic - and you cannot really change it.


The look at this component, brand new KPI Tile for really generic content - you decide what and where is places, you can use all UI5 components which you find in the SAP UI5 Explored page - SAPUI5 Explored

 

Show Case

This is an example of an KPI View which I have designer - and very similar content is provided as "default".

kp1.PNG

 

The new 2.0 release Additional Properties

The additional properties are allowing you to place new content (other UI5 components as in the SAPUI5 Explored web page) into the component. This is the main strength of this generic Kpi Tile.

 

kp2.PNG

 

For today, this component is not yet data bound, but I will try to add also data binding there. The same is for the more complex content (like the micro charts) - we need more convenient API to change the content on the fly (today it is possible, but you need to pass the XML definition of the UI5 property).


How to use

First, just drop into the canvas, it will come with some pre-defined settings - some texts etc. You can use the Additional Property Sheet to change the properties and place your data.

 

The Properties - The Core Piece of this Component

For the generic usage, it is important to understand how the properties are working. I will make this on the example of the application SDK_GENERIC_TILE

 

First, when you look at the default component after dropping into canvas, this is what you see:

gt1.PNG

There are already some sub-components predefined in the default values, you can see them in additional properties.

gt2.PNG

 

as you see, it is the header, title, value, chart and footer. Lets take a look on the header - it has some properties.

gt3.PNG

in the first area, there are basic properties - for size, position, component type (as of the UI5 page) and Full Specification (later).

 

Now, on the right side, you can see more properties.

gt4.PNG

 

here, we have for instance the property "text". All properties are starting with the technical name of the component and divided by the / sign, then the property name is given.

gt5.PNG

the property value is describing the content of this property. It is allowed to use also XML here for more complex properties. Here is an example of the CHART component.

 

Name: CHART/maxThreshold

the name is always COMPONENT_ID/propertyName

 

Value:

<maxThreshold>

         <MicroAreaChartItem color="Good">

           <points>

             <MicroAreaChartPoint x="0" y="0" />

            <MicroAreaChartPoint x="30" y="40" />

            <MicroAreaChartPoint x="60" y="50" />

            <MicroAreaChartPoint x="100" y="100" />

          </points>

         </MicroAreaChartItem>

       </maxThreshold>

 

gt6.PNG

 

Important: the check for XML is based on FIRST character (if it is <), assure that you do not have spaces before. I hope this can be improved later.

 

The "Full Specification" property.

This property is based on the fact, that all UI5 controls can be specified by XML. you can see the URL when you look at the controls on SAPUI5 Explored web page:

gt7.PNG

 

and when you click into the "code" icon, you will see the XML. Currently, as here to make it easier to use there are no special namespaces, you can use controls of:

  • sap.m
  • sap.suite.ui.commons

 

// example for charts

gt8.PNG

 

Taking it as a control, you can copy paste the complete XML into the area and the control will be generated based on this specification. All properties from the details view are applied on top (here you can then overwrite some properties).

 

Interesting Point

the complete specification of the content is placed in this property (in the standard property grid):

gt9.PNG


it means, you can easily copy & paste the complete content. in current version, assure that you do not put empty value here, minimum is an empty JSON array: [] (other case you need to reload the app in designer)


Dynamic in Script

if you check the available script, you can have full freedom there - add, delete or change components or properties.


// to add new component:

KPITILE_2.addComponent("LABEL", "Label", 10, 10, -1, 10, 200, 30, "");

KPITILE_2.addProperty("LABEL", "LABEL/text", "halo");


// to change text property

KPITILE_2.setPropertyValue("LABEL/text", "halo");


// to delete property in the model (current visualization will be NOT updated)

KPITILE_2.removeProperty("LABEL/text");


// to delete property in the UI (current visualization will be NOT updated)

KPITILE_2.setPropertyValue("LABEL/text", "-clean-");


What is Next?

in best case, this is the last SDK component which has been written ;-)

1. But, still it is quite generic - therefore I will investigate if the "technology" can be used for new components, then the work would be even easier as the spec can be done then in XML and no code is required any more.

2. it would be good to make it data bound, this is the next planned step.

3. setting of properties are quite technical, I am not sure how far the generic component is good for daily use, perhaps someone can check and comment.


Download & Use

This component is available on the community package, release 2.0 for Design Studio 1.5, as in SCN Design Studio SDK Development Community

 

Example as BIAPP:

org-scn-design-studio-community/applications · GitHub

-> SDK_GENERIC_TILE

 

Documentation

Component List - SCN Design Studio Community -> look for the component in the list.

 

Any thoughts?

feel free to add as usual...

 

Enhancements Ideas?

if you have good ideas (to those who would like to contribute but cannot code...) - place an "issue" with tag "enhancement" under Issues · org-scn-design-studio-community/sdkpackage · GitHub

Measures not removable from datasource (DS1.3)

$
0
0

Application: Design Studio R1.3 SP1 (Version: 13.1.0.201407221049)

 

Problem: Measures cannot be removed from the query.

 

Description: When I remove measures out of the datasource (EDIT INITIAL VIEW), they are removed from the list but still inside the preview and above all in the crosstab I created afterwards. Furthermore, in case of RE-Editing the INITIAL VIEW the measures I removed are back in the list and the preview-screen.

 

Things I tried to fix the problem:

  • Restart DS
  • Create/use new/other existing queries

 

I did not find this problem in any other discussion - I hope you can help me. An upgrade/reinstallation is not possible at the moment because of the customers policy. If you are running into the same problems please report me as well.

 

Thanks

The path of HANA view is not updated in Design Studio

$
0
0

Hi experts,

 

I used a calculation view in HANA as data source in Design Studio. After moving this HANA view to another package via function "Refactor -> Move", the path of this HANA view is unfortunately not updated in the application in Design Studio. Therefore the application in Design Studio can not be executed any more. But it used to work before. Is there any special setting or condition to use the function "Refactor -> Move"?

 

Best regards,

 

Zhijian


Filtering HANA Calculation view by range

$
0
0

Hi Experts,

 

I have a requirement to filter the HANA data source based on calculation view with value range in Design studio dashboard.

 

I tried the following:

 

Defined a range variable in HANA studio as shown below (also tried using interval and Multiple entries)

HANA _Variable.jpg

 

and used the following code in design studio to filter data.

 

DateRange = StartDate + "-" + EndDate;

DS_2.setVariableValueExt("VAR_CreateDt", DateRange); and DS_2.setVariableValue("CreateDt", DateRange);

Also tried using  DS_2.setFilterExt("CreateDt", DateRange); and DS_2.setFilter("CreateDt", DateRange);

 

Data is not being filtered by any of these procedures.

 

Any suggestions to filter data with range of values are really helpful for my requirements. Thank you in advance for your time.

How effective is parallel query processing in onbackgroundprocessing()

$
0
0

Hi Folks,

 

With the introduction of Parallel Query processing in Design Studio 1.5 I would like to know the performance improvement when queries are loaded in background processing. I have tested the following scenarios and want to the know how effective this feature would be in background processing.

 

Test Scenario:

I have used three queries (3 datasources)

 

TestCasesDS_1DS_2DS_3Loading timeComments
TC1NANANA2 minuteswithout using parallel processing
TC2DefaultPG1PG242 secondswith parallel processing, loadInScript is set to false for all datasources
TC3DefaultPG1PG21.22 minuteswith parallel processing. DS_1- loadInScript is false; DS_2,DS_3 - loadInScript is true and loaded at background processing which is called at the end of application startup.

TC-Test Case

PG-Processing Group

 

 

 

Thanks

Kavya

Error while trying to open a dashboard via Infoview

$
0
0

Hi guys ,

 

I need your help.

I created couple of dashboards through DS 1.5 ( installed in the server too ) and I cannot get the report in Infoview. It looks like it's loading but I can't get anything.

It's working properly while I am trying to execute the dashboard through DS

How to Debug BEX User Exit Variable with Olap Analysis 4.1 SP4 and DS 1.5?

$
0
0


We have a user exit variable in BEX query that works in RSRT but is not applied in OLAP for Analysis, or Excel 4.1 SP4 or Design Studio 1.5.

 

 

The exit is fairly straightforward: pass a parameter 1-6, then the exit determines the calendar range to apply to the results.  We want to push all the date calculations previously done in Xcelcius to this BW user exit.

Example.  If variable value is 2, then results are restricted to last month, if 3, then results are for YTD.

 

 

  • The variable is unchecked as ready for input
  • The variable is placed with the info object 0CALMONTH in the characteristic restrictions frame
  • Checked  authorizations -  same user can execute the bex query in bex analyzer without error and retrieves the expected results.
  • Cleared saved prompt values in olap for anlaysis

 

 

How can we debug, trace, or confirm that the BW user exit variable is being executed?

The documentation for BI 4.1 and DS says user exits variables are now supported, but are there limitations, tricks to this?

 

 

Really appreciate any good info on this topic!

 

Lee Lewis

Execute on BI Platform 1.5 "loading forever"

$
0
0

Hi guys,

 

This is my first time using Design Studio (1.5) and I got trouble while trying to execute on BI Platform.

 

I changed the startup configuration to "SAP BusinessObjects BI Platform", then when I open DS I do my authentication normally.

 

My problem is, if I try Execute on BI Platform or open my file directly from Lauch Pad, it keeps "loading" and nothing happens.

 

Could anyone help me??

 

Thx!!!

 

Wasley Portes

Business Intelligence Analyst

 

Message was edited by: Tammy Powlas

Locally it works, form HANA it doen't

$
0
0

Hello,

 

I face a problem with design studio. Usually I create a dashboard and when I execute it locally it works, but when I execute the same dashboard from HANA it doesn't. For example I placed an UI5 Table 2.0 and with a HANA DataSource. When I execute it locally I have the following result:

LocallyWorks.JPG

But when I execute the same dashboard in SAP HANA after giving the Credentials (the work) then I have an endless splash screen.

HanaNotWorking.JPG

 

Do you have any idea how can I find out what is going on? How can I fix this problem? On the log viewer of Design Studio I get no errors.

 

Thanks in advance for your help,

Best Regards,

Nicholas

Install DS Add-on in AIX

$
0
0

Hi all,

 

I need your help again.

I need to install an add-on on my AIX server where I installed DS 1,5 .

How can I do that?

 

Thanks,

George


Changing default view of Filter Panel in Design Studio 1.4

$
0
0

Hi Gurus,

 

I have a requirement where I need to change the default view of filter panel and to set it as per the requirement.

 

Here are the screenshots of default and requirements.

 

DEFAULT:

 

 

REQUIREMENT:

 

 

I've tried with css changes also but unable to fix it. Here is the reference of my css

 

/************************************************************************************/

/* Template

 

/* GENERAL

 

/************************************************************************************/

 

 

 

 

.myNav .sapUiBorderLayout.sapzenfilterpanel-ModeNavigation.sapzenfilterpanel-

 

NavigationAxisFilterAll.sapzenfilterpanel-PopupContainer,

.myNav .sapzenfilterpanel-PopupContainer, .sapzenfilterpanel-PopupContainerDialog

{

border: none;

}

 

 

.myBackgroundWhite{

background-color: #ffffff !important;

}

 

/***********************************************************************************************/

 

 

 

 

 

Hope I can fix it with your support

 

Thanks & Regards,

Sai Saran Velicheti.

Pass values to dsl universe prompt without PromptDialog in SAP Design Studio?

$
0
0

Hi,

 

I have a design studio dashboard based on a universe. Universe contains a heavy sql and performance is very bad. For this reason I have to use prompt values.

 

I have changed Load in Script value to True. And in the script I have used APPLICATION.setVariableValue("psCityCode", "9956");

But dashboard is not refreshing.

 

My Design Studio Version is 14.1.0.

 

Is there any solution or suggestion?

 

Thanks,

Keraban Aga

Design Studio 1.5: Drag and drop of components not working

$
0
0

Hi,

 

I am using Design Studio 1.5. Sometimes I am unable to drag and drop components to the canvas. Nothing happens.

 

Has anyone had the same experience or know the cause of the problem?

 

Thanks

Ralf

%trimmedwindow.label.eclipseSDK

$
0
0

When I open Design Studio shows a windows with title "%trimmedwindow.label.eclipseSDK"

Could you please help me to solve the problem

Scripting datasource - assignDatasource method

$
0
0


Hi,

 

I'm using Design Studio dashboard which is stored on Business Objects server.

Dashboard is also using BW data.

 

I would like to assign dynamically different BEx queries to Datasource in dashboard, so I tried to use assignDatasource method in DS script:

 

If (something){

DS_1.assignDataSource("BWP", DataSourceType.QUERY, "BO_TEST_Q01");

}

else{

DS_1.assignDataSource("BWP", DataSourceType.QUERY, "BO_TEST_Q02");

}

where

  • DS_1 is datasource name in Desidn Studio
  • BWP is name of BW connection defined in BO CMC
  • BO_TEST_Q01 is my test query

 

Unfortunately when validating script I can see following error message:

"Value "BWP" is not valid back end connection"

 

Everything is working when I set connection manually in datasouce properties.

 

Could you help me track what I'm doing wrong?

 

Regards,

Pawel

Viewing all 4216 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>