Skip to Content
0

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

Mar 06, 2017 at 07:51 AM

128

avatar image
Former Member

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,

Debashish

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

1 Answer

avatar image
Former Member Aug 09, 2017 at 02:00 AM
0

Hi Debashish,

are you able to implement this in the system.

Thanks,

Guna

Share
10 |10000 characters needed characters left characters exceeded