cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

MustafaBensan
Active Contributor

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.

Vidhya
Active Participant

Hi Erkan,

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

Regards,

Vidhya

kohesco
Active Contributor
0 Kudos

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

Vidhya
Active Participant
0 Kudos

Hi,

Please check this URL,

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

Example,

Regards,

Vidhya.V

Vidhya
Active Participant