Showing results for 
Search instead for 
Did you mean: 

Implementation of HIerarchies in BADI for the F4 help during query execution

Former Member
0 Kudos

Hi Experts,

I have a problem implementing BADIs for hierarchies. Let me explain you the scenario.

I am implementing the BADI 'RSR_VARIABLE_F4_RESTRICT_BADI'. I have a database field in the variables which is a manual input and then based on this value, I need to fill up the Hierarchies(not the hierarchy nodes) available for the database and hence the hierarchy variable needs to be filled up with the particular hierarchy values.

I am implementing the method 'GET_RESTRICTION_NODE' as per SAP documentation, but unfortunately, I see the code returns the value of the Hierarchy nodes through c_t_node which fills the hierarchy node values. c_t_hierarchy doesn't fill up my hierarchy variable.

Also, the method 'GET_RESTRICTION_HIER', doesn't have return values which would store the hierarchies.

Please guide me how can I restrict the hierarchy values in F4 help.

Many thanks in advance.

Warm Regards,


Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Debashish,

are you able to implement this in the system.