Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 09, 2017 at 02:00 AM

    Hi Debashish,

    are you able to implement this in the system.

    Thanks,

    Guna

    Add comment
    10|10000 characters needed characters exceeded