Skip to Content
0

Dashboard: GetData - Hierarchy node selection

Feb 01, 2017 at 02:39 AM

90

avatar image
Former Member

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.

Regards,

Sandeep

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers