Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

How to select all members of a hierarchy node in ABAP

$
0
0

Hello everyone,

 

I’m currently working on my first implementation of BAdI UJ_CUSTOM_LOGIC on our SAP BPC 10 system. The implemented class works as expected. I can hand over data to my class, modify it and write the results back.

 

However, I’ve got stuck when trying to select all dimension members for a certain hierarchy node. In a logic script it was possible to write something like this

*XDMI_MEMBERSET ACCOUNT = BAS(hier_node1)

to select all dimension members grouped under hierarchy node hier_node1.

 

After digging into some of the documentation available here and elsewhere on the web, I came to the conclusion to use IF_UJA_MD_READER to read the data and set the selection criteria via method SET_SEL of class CL_UJA_MD_QUERY_OPT. This works fine for all properties of the dimension, except the hierarchies (which exactly what I need).

I found some hints that this way of selecting data was possible in 7.5 using method GET_CHILDREN_MBR of IF_UJA_DIM_DATA, but this doesn’t work in BPC 10 anymore (at least for me..).

 

Any idea how to implement this functionality in BPC 10?

 

Thanks, Klaus


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>