on 07-14-2014 1:20 PM
As this is not possible (yet) in Design Studio I have created a universe in IDT based on a function in our ERP. This function will fetch all data needed in our report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as of DS 1.6 its possible:
DS_1.getMembers("0CUSTOMER", 9).forEach(function(element, index) {
element.getAttributeMember("0COUNTRY")
});
if you need specific member you can add an if to this loop
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is for quite some time script APIs available to get attribute members, e.g.
var members = DS_1.getMembers("0CUSTOMER");
members.forEach(function(member) {
var attr = member.getAttributeMember("0COUNTRY");
TEXT_1.setText(attr.text);
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lieselot,
1. We cannot use Display attribute directly in Design Studio unless we make it Navigational
2. To display it in the text box you will need to use this something like this TEXTBOX.setText() you can find more details in Help doc.
Also another option is to use Tile to display text(which is part of SAP custom components which you will have to install. Details provided on help.sap under SDK for Design Studio)
Hope this helps.
Rajan
Hi Lieselot - I am not following entirely.
Could you describe how you want to use the attributes in a text field?
Do you mean Customer Name with customer market?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tammy,
For example: we want to show the address of the customer in our report. You can find all the elements of an address (city, region, street, ...) in the attributes of the customer. You can make these attributes visible in a crosstab, but we would like to show them in a text field.
Kind regards,
Lieselot
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.