Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 11, 2017 at 07:50 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • May 11, 2017 at 06:35 AM

    Hi,

    Please check this URL,

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

    Example,

    Regards,

    Vidhya.V

    Add comment
    10|10000 characters needed characters exceeded

  • May 11, 2017 at 06:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded