Skip to Content
-1

Restricting Variable Values on F4 for Hierarchies

Hi All,

I am having a hierarchy variable but I need to restrict only few hierarchies in F4, I looked into few blogs which deals with Flat list and hierarchy nodes but could some one help me how to implement F4 values restriction for Hierarchy variable.

Thanks,

Guna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Aug 09, 2017 at 09:32 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Aug 13, 2017 at 09:16 AM

    Hi,

    May be you can use BADI RSR_VARIABLE_F4_RESTRICT_BADI and then in the method GET_RESTRICTION_HIER you got an internal table I_T_COMPID with queries.

    Then restrict required hierarchy by required query.

    BR,

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 09, 2017 at 11:07 AM

    Hi Koen,

    Thank you for your response.

    My requirement was to restrict hierarchies based on query not based on user.

    Please advise.

    Thanks

    Guna

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 07, 2017 at 12:39 AM

    Hi Experts, I have similar question. Lets say we need to restrict the Values for GL Hierarchies WHERE Char of Account = 'XYZZ'

    When we see the GL Hierarchies, we see <Char of Account> / GL Account. So how to restrict to one single Chart of Account? Can anybody please share the BADI enhancement code? Thanks

    Vikram

    Add comment
    10|10000 characters needed characters exceeded