on 02-02-2018 6:48 AM
Hi
I am trying to get an attribute by using this getAttributeMemeber,but this does not seem to be working.
DS: SAP Lumira designer 2.0
ZNTPDATE is an attribute of Z_PROJECT.
var proj=DS_OP_INFO.getMembers("Z_PROJECT", 10);
var ntp=DS_OP_INFO.getMembers("Z_PROJECT", 10,"ZNTPDATE");
var ntp1="";
proj.forEach(function(element, index) { proj1 = element.text; });
ntp.forEach(function(element, index) { ntp1 = element.getAttributeMember("ZNTPDATE").internalKey; });
APPLICATION.alert(ntp1);
Hope i am doing in right direction.
Please guide me.
Thanks
Palanivel
Hello - comparing your code to Reiner's blog here https://blogs.sap.com/2017/12/21/mysterious-memberlists-in-lumira-designer/ - it looks like you have periods in places where you should have commas; I recommend comparing your code to Reiner's blog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Palanivel,
Can we search attributes in the dimensional filter.
We need to create the filter which uses Attributes.
From
M Afzal Kar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.