cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom Exit Varible for Query Question (getting a parent node)

former_member182305
Active Participant
0 Likes
397

Hello experts,

I am writing regarding a question on how to select a parent node from a hierarchy using a Customer Exit Variable.

I am doing a query in SAP BPC Embedded to see the information in AOF. I have implemented a BAdi Class acording this link:

https://blogs.sap.com/2014/04/16/how-to-implement-new-badi-rsroavariablesexitbadi-73-for-reporting-a...

I have created a Customer Exit variable on the infoobject DTASRC (wich is in my model) as is shown in the image:

This variable has the next code in function module:

The issue is the next:

When my variable takes the value of "INPUT", everything is ok, but when it takes the Value: "TOT_ORIGEN", it is meant to select a hierarchy node and bring the grouped information of the node, instead it brings just the node without children and since the querey is input ready I can plan on that node, wich it shouldn´t let me, am I right?

Any ideas how can I bring the node together with the children information?

Thanks in advance por the posts.

Best Regards.

Accepted Solutions (0)

Answers (0)