Variable for hierarchy node using in authorization

Hi all,
I have the following problem:
When I create a variable for a hierarchy node and I use it for the authorization, I have the possibility to say, that a user can see all elements under a node.
But it should now be possible, that the user can also see the usage of this node bottom-up ( multi-level usage of this node ).
Is there a possibilty ?
Thanks
Dieter

Hi,
I would suggest you provide more details than just "doesn't work". In addition keep in mind that this is a forum and not an official support channel. In case you need a faster response you should talk to the support team.
Ingo

Similar Messages

  • Creation of  Variable for Hierarchy Node

    Greetings...fellow matez,
       I am using Characteristic "0PROFIT_CTR" : PROFIT CENTER
       Here, I created used SAP <b>Standard</b> variable 0N_PCTR (Profit Center/Profit Center Hierarchy)
       This meets my requirement of allowing User to Input the TOP MOST Hierarchy Node basically means my Hierarchy.
       Now, what I need is the ability of a User Input/Key In Variable to ask for a specific Node of my Hierarchy instead of just the <b>'main'</b> hierarchy
      Let me demonstrate with an example :-
      At the moment, I have a variable defined for "0PROFIT_CTR". So, I am able to choose "XXX GROUP" as my hierarchy.
      Now, under this "XXX Group" I have several Sub-Nodes like XXX-Functional Groups ; XXX-Business Units; XXX-Subsidaries.
      How can I create a variable which prompts for this Subnodes of my hierarchy ?

    Matez,
      Issue remains unresolved.
      What I need is a <b>Hierarchy - NODE</b> variable for my "Profit and Loss" Hierarhy
      But, when I use the variable option in the 'Selecting Variable for Hierarchy' scree, I only get to choose my Hierarchy instead of my Hierarchy Node.
      How can I created a variable of type Hierarchy-NODE instead of Hierarchy for my characteristic "0Account"
    Kindly advice matez!

  • How do we create variable for hierarchy node selection

    hello all,
    I have to create a variable as to where the user ca input the node of hierarchy in his selection at the start. Do we have to create a new variable ?
    I have the hierarchy loaded for that infoobject. I tried creating a new variable but the when I select from drop down as varaibles and name of the hierarchy no variables shows up.
    Thanks

    Hi Raj,
    Please see this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/096d399bd2046fe10000000a114084/content.htm
    It has complete details.
    Hope this helps...

  • Variable for hierarchie node

    Hi,
    i use in my query different hierarchie nodes in columns
    For example
    COL A: Hierarchie Countries  Node: World
    COL B: Hierarchie Countries  Node: Europe
    in an other Query
    COL A: Hierarchie Countries  Node: World
    COL B: Hierarchie Countries  Node: Asia
    So i'd like to use a variable for these nodes to enter Europe or Asia.
    I've a variable for hierarchies, but when i use it i can only enter the name of the hierarchie. Here countries.
    How can i enter nodes in a variable and store them in one workbook with different tables. Both tables use the same query but one with Europe and one with Asia
    Thanks for help .... Markus

    Markus,
    Do you mean to say :
    You have different hiearchies in two different queries and would like to enter only the node ? did you try using Hierarchy node variables - this should allow you to select a hierarchy node from the hierarchy attached.
    or did you mean that depending on your node input the query should select the appropriate hierarchy - you can try this using a user exit not sure if it can be done in any other way.
    Arun

  • Customer Exit variable on Hierarchy Node

    Hello Experts
    I am in the process of creating a Customer Exit variable on a Hierarchy node. This will be populated at run time based on the value of a Characteristic variable.
    The Hierarchy is activated and included in the roes of the report. I would like the end result to be exactly the same as it would if I had manually entered a variable in Hierarchy node variable
    I have written exits before for Characteristic variables, however, I am unable to get this to work for Hierarchy Node variables. Please find below the code I have prepared so far. I follow the approach of creating a seperate executable program for each Customer Exit variable. This Program will be called by the Exit.
    DATA: l_s_range TYPE rrrangesid.
      DATA:l_s_var_range TYPE rrrangeexit.
      FIELD-SYMBOLS : <fs_var_range> TYPE rrrangeexit.
      IF i_step = 2.
        READ TABLE i_t_var_range
        ASSIGNING <fs_var_range>
        WITH KEY vnam = 'ZMO_WBS_LVL2'.  " Characteristic variable
        IF sy-subrc = 0.
          l_s_range-low = <fs_var_range>-low.
         l_s_range-high = '0HIER_NODE'.*
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
        endif.
      endif.
    I would be obliged if anyone can help me understand what is being overlooked. The Query is presently returning "No Applicable data found"
    Thanks in advance
    Regards
    Zubin Kurian

    Hello
    I have made the changes. Please refer the Code below for reference. This code will function display only those Nodes at and below the WBS element(s) that were entered into the variable ZMM_WBS_ELEMT
    IF i_step = 2.
      SORT i_t_var_range BY VNAM.
        LOOP AT i_t_var_range ASSIGNING <fs_var_range>
             WHERE
                  VNAM = 'ZMM_WBS_ELEMT'. " Multiple Value, & Mandatory
           IF <fs_var_range> IS ASSIGNED.
             CLEAR: l_s_range.
                l_s_range-low  = <fs_var_range>-low.
                l_s_range-high = '0WBS_ELEMT'.
                l_s_range-sign = 'I'.
                l_s_range-opt  = 'BT'.
                APPEND l_s_range TO e_t_range.
                ZVAR_COUNT = 1.
           ENDIF.
        ENDLOOP.
    Edited by: Zubin Kurian on May 10, 2011 4:38 PM

  • BPS Variable for hierarchy type User-Exit

    I try to make this type of variable.
    The variable is NCSTOPU, hierarchy is
    NHSTOPU like
    NHMAIN
    -- 4
        -- 401
        -- 402
        -- 403
      -- 5
         -- 501
         -- 502
         -- 503
    So The ABAP is
    FUNCTION ZCCB_AHR_VAR_HIER.
    *"*"Ëîêàëüíûé èíòåðôåéñ:
    *"  IMPORTING
    *"     REFERENCE(I_TYPE) TYPE  UPC_Y_VAR_TYPE
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_VARIABLE) TYPE  UPC_Y_VARIABLE
    *"     REFERENCE(IS_HIE_KEY) TYPE  UPC_YS_HIE_KEY
    *"  EXPORTING
    *"     REFERENCE(ET_HIE_NODES) TYPE  UPC_YT_HIESEL
    DATA ZHIER type upc_ys_hiesel.
    *CHANM  UPC_Y_CHANM
    *HIENM     UPC_Y_HIENM
    *HIEVER     UPC_Y_HIEVER
    *DATETO     UPC_Y_DATETO
    *NODENAME     UPC_Y_NODENAME
    *HIECHA     UPC_Y_CHANM
    *DUMMY_LEAF     UPC_Y_DUMMYLEAF
    *TO_CHADEP     UPC_YTO_CHADEP
    ZHIER-CHANM      = 'NCSTOPU'.
    ZHIER-HIENM      = 'NHSTOPU'.
    ZHIER-NODENAME   = '5'.
    ZHIER-HIEVER     = 'A'.
    ZHIER-HIECHA     = '5'.
    ZHIER-DUMMY_LEAF = ''.
    ZHIER-DATETO     = '99993112'.
    INSERT ZHIER INTO TABLE ET_HIE_NODES.
    ENDFUNCTION.
    But it doesn't work.
    The mistake is
    Selected node 5 does not exist
    The node 5  selected as the start value for characteristic 5 with the specified compound table does not exist in hierarchy NHSTOPU.
    What is the problem?

    Configuration of the variable:
    Variable Type - Hierarchy node,
    Characteristic - NCSTOPU,
    Hierarchy - NHSTOPU,
    Replacement type - user-exit,
    FUNCTION MODULE NAME - ZCCB_AHR_VAR_HIER.
    In the planning level the characteristic NCSTOPU is set with this variable.
    In the Layout  1) the characteristic NCSTOPU - Lead Column,
                         2) Hierarchy in the lead column -  Hierarchical Data Model, BW Hierarchy

  • Selection screen for Hierarchy Node Variable

    HI All,
    I Have an issue with Hierarchy Node Variable , in my selection screen the for an info object , Z_ACCT  i have a Hierarchy Node Varable it only displays Text on F4 help , i want to desplay both Text and Key , i check in the Info Object bex setting it is set as Text and Key, so if any one can throw some lite on it, it will be of grt help.
    Regards,
    Abraham

    Hey, I found an SAP Note for this issue:
    Note 912130 -
    https://service.sap.com/sap/support/notes/912130
    Looks like there is something that could be done.
    Give it a try and hope this helps.

  • Search Help for Hierarchy Node in SAP BW 7.3

    Hi Experts,
    We were previously using SAP BW 7.1 system and we had a table which used to be maintained through SM30 which has a customed search help on one of the fields for a hierarchy object. And it was working perfectly.
    However, one of our systems have just been migrated into 7.3 version and the above functionality is no longer working.
    This is what is happening now:
    - User selects a hierarchy and after selection nothing is being displayed on field on the table.
    We have tried to debug this customed search help in both environments to distinguish what is wrong. We have noted that a standard function module (RRSV_IOBJ_VALUE_OUTPUT) is not behaving similarly. In 7.1 system, the C_T_DATA table is being filled whereby in the 7.3 system, it is empty.
    Do you think this is the issue?
    Please do advise and propose what can be done to make it work. Or any idea on how to create a new search help for a hierarchy node in 7.3?
    Thanks in advance.

    hi,
    one more thing i will like to add here is in BW 7.3 you get a new security admin feature that allows you to make mass changes to authorizations instead of one-by-one. This can be done by cut-and-paste in a worklist, hierarchy nodes, and you can also add users to multiple analysis authorizations.
    The u2018newu2019 authorizations has both the data value and hierarchy restrictions. You can still build using the u201CRSECADMINu201D transaction
    Also make sure that all objects are in the TLIBG library and they will be 'shielded' during the upgrade.
    regards
    laksh

  • Different colors for hierarchy nodes in WEBI 4.0 (Possible or not)

    Hi Everyone,
    We have been listening a lot about the capability of Webi 4.0 in terms of Hierarchies from BW BEx Query. It works just fine like in BEx Analyzer, but is it possible to create formatted reports like we do in Crystal reports to display different colors for the hierarchy nodes. The reason for asking about this functionality is though Crystal Enterprise also inherits Hierarchical view from BEx Query we still won't be able to drill down in real time to do some interactive analysis.
    Where as Webi 4.0 can allow us to do interactive analysis by allowing us to drill down on the hierarchies, but it would be great to show the Webi report with different colors for the hierarchy nodes along with the drill down functionality, to give users the best look and feel while working with these reports.
    I am trying to achieve this functionality but I am not successful yet and running out of ideas. I am also not sure if this is possible or not. Can anyone throw some light or share there thoughts on this.
    Any comments will be greatly appreciated.
    Thanks & Regards,
    SRV

    Create a variable with:
         =[Object].Depth
    where [Object] has to be the one containing the BEx hierarchy.
    This function will return the hierarchy level starting with 0 (zero).
    You can use the value of the variable the in the formatting rules:
    variable   equal   [hierarchy level]
    to format all hierarchy nodes on the given level.
    R. Uli

  • Create link or dropdown for hierarchy nodes.

    Hi friends, I need your expertise in solving my senario. We have a costcenter with about 10+ hierachy levels. The customer wants to bypass the query varible screen (hierarchy node varible, year, month,mandatory) by selecting the node either from dropdown box or radio button or link from the intranet web page. This is little bit challenging for me. How can I create nodes, level by level and pass to the queryString. What is the best way to implement this.
    Thanks for your help.
    Ram

    Moorthy -
    A dropdown or radio button will work but you will need to use JavaScript to pass the hierarchy and node values and build the command through URL parameterization. First you will need to set the hierarchy, this can be done by passing a hierarchy value to a hierarchy variable using the "Set Variable Values" command. Then you can filter to a specific node using the "Set Selection State Simple" command. This link is a good place to start and get familiar with the fundamentals.
    http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm
    A bit of advice learned the hard way. When filtering the node, you must use the "Set Selection State Simple" command and include the controlling area as part of the string.

  • How set up visualization attributes for Hierarchy nodes?

    I have a hierarchy for 0ACCOUNT and i see in the report the hierarchy totally expanded but in the Query Designer i can
    set the values for 0ACCOUNT to show the ID only for every account but the hierarchy have more nodes (text nodes in addition to accounts) i need that ONLY TEXT NODES show the Description of Text Nodes instead of Technical Node ID........in query designer you could set for accounts that show Text, ID or both but in for text nodes there´s no way to do this.......in Query execution you could set up this with extended menu....and you could set up that only shows Text for Hierechy nodes.....I hope somebody could help me with this...
    Regards

    You are right, the only way to do that is save the query as workbook, then setup the description, text, etc in the workbook , and finally save the workbook in the way you want to view.
    Regards

  • Variable for hierarchy

    I am new to BW. I have 6 levels (L1, L2, L3, L4, L5, L6) in my hierarchy. I am doing report, for which I need to create a variable for L2 which is derived from L1. Could anyone of you please guide me how to do that?
    Thanks,
    Riya

    Hi Riya,
    Try to do the following:
    1. go to the query designer and in that go to the infoobject on which you ahve the hierarchy.
    2. now select the hierrachy from the list on the top right corner in the selection screen where you craete the variable.
    3. now click on  variables(next to fixed values)
    4. right clcik and creat a vraible (which will be a hierarchynode  variable )
    5. now create the variable as you create for others.
    now come back and right click on the infoobject and in properties select the level to which you want the hierarchy to be expanded to (level2)
    Regards
    Sri

  • PD Profile for ESS when using contextual authorizations

    Hi all,
    We are using contextual authorizations, we have MSS working nicely, and now we are implementing ESS. Does anyone know what the PD profile would look like for the basic generic ESS implementation?  The pre-delivered roles have P_ORGIN objects (disabled) so if we change to P_ORGINCON we need a PD profile to populate all the fields.  There does not seem to be any pre-delivered PD profile.
    Thanks

    Hi Teresa,
    You are either using structural authorizations or not.
    Depending on this decision you have to activate parameters in table T77S0.
    When Yes
    AUTSW     DFCON     0     HR: Default Position (Context)
    AUTSW     INCON     1     HR: Master Data (Context)
    AUTSW     NNCON     0     HR:Customer-Specific Authorization Check (Context)
    AUTSW     NNNNN     0     HR: Customer-Specific Authorization Check
    AUTSW     ORGIN     0     HR: Master Data
    AUTSW     ORGPD     1     HR: Structural Authorization Check
    AUTSW     ORGXX     0     HR: Master Data - Extended Check
    AUTSW     PERNR     1     HR: Master Data - Personnel Number Check
    When No
    AUTSW     DFCON     0     HR: Default Position (Context)
    AUTSW     INCON     0     HR: Master Data (Context)
    AUTSW     NNCON     0     HR:Customer-Specific Authorization Check (Context)
    AUTSW     NNNNN     0     HR: Customer-Specific Authorization Check
    AUTSW     ORGIN     1     HR: Master Data
    AUTSW     ORGPD     0     HR: Structural Authorization Check
    AUTSW     ORGXX     0     HR: Master Data - Extended Check
    AUTSW     PERNR     1     HR: Master Data - Personnel Number Check
    If you want to use extended check (check against PA administrator, Time administrator) then you have to mark
    AUTSW     ORGXX     1     HR: Master Data - Extended Check
    Cheers

  • Customer Exit for Hierarchy node

    Hi Experts,
    I have a Hierarchy variable in the BEx report. While entering the value for the hierarchy if the user clicks on F4 help it shows the complete hierarchy structure.
    In the hierarchy we have 6 levels. I wanted to write a exit so that user can see all the nodes with hierarchy level 4.
    I have written an ABAP code which returns the same. My question is I have to copy the complete code in the include ZXRSRU01 or I can keep that separate.
    and alsowanted to know whether my requirement can be achieved by this or not.
    If yes, than what will be the sample coding keeping in mind that i have all the data in iternal table say 'itab' of ABAP Program.
    Thanks in advance.
    Regards,
    Lalit

    Hi,
    yeah i am able to run the query in RSRT in debug mode. and my code is working fine. but in analyzer or web it is nor working..
    Regards.
    Ak

  • BizTalk mapping for repeating Nodes using XSLT

    Hi,
    I am mapping the source schema to destination schema using Custom XSLT file. I have a repeating node in the Sources schema:
    Period node can repeat any number of times. I am using the XPath in XSLT to map the nodes from source to destination and using the "for-each" loop.
    Destination Schema:
    I want to map "PeriodID" and "Volume" both to the destination node "html:TD". I am using the following XSLT code:
    <xsl:for-each select="/*[local-name()='RootNode' and namespace-uri()='Namespace']/*[local-name()='Periods' and namespace-uri()='Namespace']/*[local-name()='Period' and namespace-uri()='Namespace']">
    <html:TR class="data0" level="0">
    <html:TD class="data-int" datatype="int">
    <xsl:value-of select="./*[local-name()='RootNode' and namespace-uri()='Namespace']/*[local-name()='Periods' and namespace-uri()='Namespace']/*[local-name()='Period' and namespace-uri()='Namespace']/*[local-name()='PeriodID' and namespace-uri()='Namespace']"/>
    </html:TD>
    <html:TD class="data-dbl" datatype="dbl">
    <xsl:value-of select="./*[local-name()='RootNode' and namespace-uri()='Namespace']/*[local-name()='Periods' and namespace-uri()='Namespace']/*[local-name()='Period' and namespace-uri()='Namespace']/*[local-name()='Volume' and namespace-uri()='Namespace']"/>
    </html:TD>
    </html:TR>
    </xsl:for-each>
    I am only getting the first value of both the nodes in every loop.
    I know that we can use the XPath of the actual Node(PeriodID) in "for-each" loop and use value-of="." to get the current values of the node.
    But the problem is I want both the values "PeriodID" and "Volume" repeating in the destination.

    if you use xpath like you did ( imean without index), you will only get 1 record elements each time.
    Either you have to use code like i did, or use index based xpath.
    The code i gave you should work, just try to debug it from visual studio. Because xslt is a case sensitive, check if the code i gave you matches the elements in case sensitive. may be you have to use prefixes like s1, s2 etc as per you xsl file declaration.
    Check you xsl file for prefix declarations.
    you can also try below code, it uses postion() method to get the current for loop index.
    <xsl:for-each select="/*[local-name()='RootNode' and namespace-uri()='Namespace']/*[local-name()='Periods' and namespace-uri()='Namespace']/*[local-name()='Period' and namespace-uri()='Namespace']">
    <html:TR class="data0" level="0">
    <html:TD class="data-int" datatype="int">
    <xsl:value-of select="(./*[local-name()='RootNode' and namespace-uri()='Namespace']/*[local-name()='Periods' and namespace-uri()='Namespace']/*[local-name()='Period' and namespace-uri()='Namespace']/*[local-name()='PeriodID' and namespace-uri()='Namespace'])[position()]"/>
    </html:TD>
    <html:TD class="data-dbl" datatype="dbl">
    <xsl:value-of select="(./*[local-name()='RootNode' and namespace-uri()='Namespace']/*[local-name()='Periods' and namespace-uri()='Namespace']/*[local-name()='Period' and namespace-uri()='Namespace']/*[local-name()='Volume' and namespace-uri()='Namespace'])[position()]"/>
    </html:TD>
    </html:TR>
    </xsl:for-each>
    but i insist you to verify for any prefix declarations in you xsl file
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • So bitterly disappointed Apple

    Afternoon All, Today I had an experience I feel should be shared with the like minded folk on these forums in the hope you don't make the same stupid mistake I have. Last year I upgraded my old G5 MacPro for a shiny new Intel MacPro with new LCD moni

  • VISA card problem

    Hello, why itunes will not accept my VISA card yet? I have already buy a few things... and now i can't update anyting.. because I don't have any one else credit card. Greetings from Czech republic

  • Creative Audigy 2 Zs + Atheros AR8121

    Hello, I got myself a Creative Audigy 2 Zs and it's working perfectly, but during high network load if I use WASAPI or ASIO with the card, I get a bsod in ~5-5mins. The BSOD is pointing to my Atheros AR82 driver LE62x64.sys. Any ideas how to fix this

  • Quick Time X Keeps Crashing Asking for Reopening Windows

    Hello, I am using Quick Time X 10.2 on Mountain Lion OS X 10.8.2 Whenever i try to open a video (.mov, .flv, or any supported formats) with Quick Time Player X, a dialogue would pop up: "The last time you opened Quick Time Player, it unexpectedly qui

  • Pleas help me

    When I connect my iPhone to the PC to update Apps I get the message that the app is too big and I connect the iPhone to a PC or log on to WiFi. But I have done both and it is still the message. What can i do ?