Skip to Content
avatar image
Former Member

Dashboard: GetData - Hierarchy node selection

Hi Guys,

I am looking out for syntax for getData function(not from getDataasStringExt) of Datasource for hierarchy node.

Solution tried:

Working, but I don't like to have string, as Convert.stringtoInt doesn't respect Scaling done in BIAL for keyfigure.

var am_cy_str = OP_2.getDataAsStringExt("BExElementid",{"/CPMB/S4DYFC0":"+<NODE>(/CPMB/S4DYFC0)"});

This is not working

var am_cy = OP_2.getData("BExElementid",{"/CPMB/S4DYFC0":"HIERARCHY_NODE/\\/CPMB\\/S4DYFC0/<NODE>"});

I am already aware that datasource should be max expansion mode for active hierarchy, so I can see the hierarchy node at initial view of datasource.

I have tried for SAP standard object like profit_ctr and 0hier_node which works. I am looking syntax for custom objects like /BIC/Zobject.

Any help will be greatly appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers