on 05-11-2017 7:08 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erkan,
I forgot to mention this component. Please go with Mustafa's answer.
Regards,
Vidhya
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check this URL,
https://blogs.sap.com/2013/07/21/design-studio-system-information-methods/
Example,
Regards,
Vidhya.V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check this too.. https://archive.sap.com/discussions/thread/3736539
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.