Skip to Content
0

How to get Connected BW systems name in a text in a Design Studio report

May 11, 2017 at 06:08 AM

112

avatar image
Former Member

Hello ,

I would like to bring connected Daasource`s system name(E0D , B1P etc) into a text in a design studio report. I`ve tried different options (DS_1.getInfo().system; etc. )for datasource in a Design Studio report but couldn`t achieve the solution.

Thanks for the helps ,

Erkan

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Mustafa Bensan May 11, 2017 at 07:50 AM
1

Hi Erkan,

What platform are you deploying your Design Studio application to? If it is BIP, as you may have noticed already, DS_1.getInfo().system only returns the CUID of the OLAP system connection, which is not very meaningful for displaying in a text field. A workaround to this can be achieved as follows:

1. In the CMC, assign meaningful names to the BW OLAP connections, as shown in the example below:

2. In the Technical Components section of the application outline, add a Connection Component as shown below:

3. In the appropriate section of your application, apply the following script code:

var myBackendSystem = DS_1.getInfo().system;
CONNECTION_1.setSystem(myBackendSystem);

var mySystem = CONNECTION_1.getSystem();

TEXT_1.setText(mySystem.text);

4. The result should look like this:

Regards,

Mustafa.


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Erkan,

I forgot to mention this component. Please go with Mustafa's answer.

Regards,

Vidhya

1
Vidhya V May 11, 2017 at 06:35 AM
0

Hi,

Please check this URL,

https://blogs.sap.com/2013/07/21/design-studio-system-information-methods/

Example,

Regards,

Vidhya.V


getinfo.png (13.7 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded
0
Koen Hesters May 11, 2017 at 06:38 AM
0

Hi,

check out my blog, solution via bookmark

https://blogs.sap.com/2017/01/16/design-studio-1.6-on-sap-netweaver-portal/

grtz

Koen

Share
10 |10000 characters needed characters left characters exceeded