Skip to Content
author's profile photo Former Member
Former Member

How to Select the Hierarchy

Hi Friends,

I need help for the following report Situation.

I am going to maintain the Territory Hierarchy in the report. But i have the three nodes like RE, OE and SC below

the ROOT (0HIER_NODE).

My requirement is based on the user executing the query the hierarchy node has to select.

Ex when ABC user is executing the report then it has to display the hierarchy RE flow

Ex when PQR user is executing the report then it has to display the hierarchy OE flow

Ex when XYZ user is executing the report then it has to display the hierarchy SC flow.

Please let me know how to use the hierarchy node variable so that it can pick up the hierarchy.

Thanks,

Visu

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 02, 2010 at 12:14 PM

    Hi,

    - create a customer exit variable.

    => try this abap

    l_s_range-sign = 'I'.
    l_s_range-option = 'EQ'.
    l_s_range-low = nodename.
    l_s_range-high = use the infoobject of the node like 0HIER_NODE.
    append l_s_range to l_t_range.

    Sven

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.