cancel
Showing results for 
Search instead for 
Did you mean: 

Query descendent base members from specific hierarchy in BPC dimension node?

mrj_marcelo
Participant
0 Kudos
511

Hi, all.

How can I query all descendant base members from a BPC hierarchy node in ABAP using the if_uja_dim_data~read_mbr_data method or any other method, what parameters must I use? please give-me a code example for that.

Thanks and best regards.

Accepted Solutions (1)

Accepted Solutions (1)

mrj_marcelo
Participant
0 Kudos

I have solved that using the method get_children_mbr of the interface if_uja_dim_data as in example below.

CALL METHOD lr_dim_data->get_children_mbr
EXPORTING
i_parent_mbr = ‘ENT_PAR01’
if_only_base_mbr = ‘X’
IMPORTING
et_member = lt_base_en.

That one and other useful ABAP codes for BPC are available in article Useful ABAP code in BPC 7.X NW version | SAP Blogs.

Bye.

Answers (0)