Hierarchy authorization variable not filled

Hi experts,
I'm trying to give users access to their node in the 0COSTCENTER hierarchy using a variable $VARHCECO in a authotitazion object. This object has 0COSTCENTER equal to ' ' and 0TCTAUTHH equal to $VARHCECO. In the report variable customer exit this variable is filled in the I_STEP = 0 with the information that is stored in a ODS. Each user only can view his/her subtree cost centers.
Finally, in the query, a authorization variable is used in order to choose the nodes that the user has authorization.
The problem is that in runtime, neither the variable VARHCECO nor the I_STEP = 0 is reached because the customer exit is only called for i_VNAME blank and I_STEP = 3. As a consequence, I get an authorization error because of the variable is never filled.
How can I manage for the customer exit is called for variable VARHCECO and I_STEP = 0?
Many thanks in advance,
David Moreno

Hi David,
We have handled a similar scenario (not for cost center but for Organization Unit hierarchy) in a different way. Instead of using authorization object, we have defined a variable through customer exit.
The flow goes like this. You define a variable for which the values get filled up through customer exit. User do not have the flexibiity pass any values to this variable. It by default goes to the master, Picks up the Organization unit, he is assigned to, calls the function module which identifies the nodes under that Org unit hierarchy.. Passes the list of Org_units to e_t_range.
By this he can by default see all objects/employees under his org unit and the Hierarchy below that only.
Trust this helps.
Thanks n Regards
Meyyappan

Similar Messages

  • Authorization variable not filled with authorization values

    Hello All
    I post a similar message earlier this week, I thought that my issue was solved, but it was not.
    I've got a workbook with 4 differents queries.
    There as an authorizations variable in each query. This variable properties is as follows :
    **General tab**
    Type of variable : characteristic value
    Processing type : authorization
    Characteristic : company code
    **Details**
    Variable represents : selection options
    Variable is : optional
    Variable is ready for input : yes
    I've followed recommandations from OSS notes 976680
    My issue is : if I run each query individually, variable is filled with authorized values
    If I run the workbook, variable is not filled with authorized value, so when end user run the workbook, BW consider that end user wants to see all data and get "No authorization".
    I don't understand why variable within the workbook doesn't show the authorized values and why the queries do.
    Any suggestion about this issue ????
    Thanks
    Catherine

    Hi
    thanks for replying
    I ran the query with UserID from RSECADMIN and I could open the query. But if I want to select 0profit_ctr I get this error No authorization to characteristic values.
    I  checked the log and this is the message.
    Value Authorization
    InfoProvider FIGL_MP1
    Value Authorization for Characteristic 0PROFIT_CTR
    Building the Buffer...
    Building the Buffer...
    No Authorization for Values
    thanks

  • Authorization variables not filled up in Bex Portfolio

    Hi there,
    not sure if any of you guys came across this, but i have saved a web report on "bex portfolio"section. When i run this report, the authorization variables are not getting filled up.
    but it works when i run the report using "new analysis" in Bex web analyzer tool.
    does anyone has an idea?
    I want to publish the reports in Bex portfolio because it is mush simpler for end users that don't have use Bex web analyzer and then open roles and then choose a report.
    is there any easier way to do this?
    thanks in advance.

    Hi -
    I assume that you might have kept the filters(Variables) in Default Values section. Only filters which are placed in Characterstic restrictions will appear in Universe Designer. Thanks!
    Regards,
    Anesh B

  • Hierarchy Authorization field not greyed out in portal

    Hello Gurus,,
         I have a query,which has profit center as one of the selection variable and which has a a hierarchy on it. The Analysis authorization variable was created for the hierarchy. So it works fine in Bex Analyser,but when the same is run in portal,,, the authrozation field ( profit center) is not greyed out,but the F4 help shows just the authorized values alone ,which is good. But the issue is the enduser seems to be entering values manually,,,thereby the report runs for unauthorized values as well.
    Can someone tell me,,if this could be a bug in sap,,, the field with authorization is
    not being greyed out.,,,,,,,,is there any work around because the user wants it optional,,,,,,,
    This is on 2004S version of BW.,,,,,,,,,,,,,,can someone guide me through this.....
    Just to confirm,,only the nodes show in F4,,but is it standard functionality that the leafs doesn't show up in F4,when a leaf alone is selected as the hierarchy node in RSECADMIN................
    your help shall be rewarded,,,
    thank you in advance..
    srinu

    Hi
    Thanks for ur advice.
    I have tried what you said by activating and Deactivatin the RFC comm channel in ID but the same result.
    I have also checked the Max connections in the RFC channel.
    All in vain
    Expecting more expert suggestions
    Regards
    krishna

  • Container Variables Not Filled

    Hi,
    I have configured Alert Category and Alert Rules to trigger exceptions at Mapping, Adapter and Proxy level.  All these alerts are getting triggered properly.  But the container variable, &SXMS_FROM_SERVICE& is not getting populated and displays the tag as such.
    I infact checked the Note 947738 (Container Element not filled).  But this is for SP 09.  We are in Release 7.0 SP 11.  So the note is already implemented.
    But still I am facing this problem.  The container variables are not filled.  Can someone suggest how to fix this.
    Regards.
    Bala

    Hi,
    Are all the other Container Variables being populated?
    If yes, one option is to check note : 913858 . This note describes one question when the From Interface Container variable does not fill up. Check what it mentions.
    Regards
    Bhavesh

  • Authorization Variable not prefilling on RRI jump

    Hi,
    I have an Authorization Variable which prefills according to the users authorized values - this works fine in all instance EXCEPT when I jump from another query.
    Has anyone seen this before?
    Anybody know why?
    What is the function which prefills the variable?
    The jump goes to a web analyzer session. The session works fine if I just execute the jump query - but as soon as the url contains passed variables the authorization variable does not prefill.
    eg. http://sldn1450dap:6777/sap/bw/BEx?SAP-LANGUAGE=EN&CMD=LDOC&INFOCUBE=H3FST_M_M&QUERY=QFCMM_AD0060_V2_JMP - works fine, variable prefills
    http://sldn1450dap:6777/sap/bw/BEx?SAP-LANGUAGE=EN&CMD=LDOC&INFOCUBE=H3FST_M_M&QUERY=QFCMM_AD0060_V2_JMP&VAR_NAME=8BBS_ID&VAR_VALUE=43RUCKR22P5SIA2LJXEE2XJBN - variable does not prefill
    Desperate to sort this one out. 2 days to release deadline and spending days on this.
    Regards
    Neville

    Hi Neville,
    First query also has the same authorization variable?
    if yes it should work.
    Otherwise add the same object and variable in the first query also.
    Regards,
    Vijay.

  • Hierarchy Node Variable not working

    Hello,
    I created two variable one being Hierarchy Node variable and other Hierarchy variable.
    I am using this for the Internal order hierarchy.
    I amd also working on 2004s and not 3.5 version.
    I restricted the Internal order and then selected the variable and then selected the nodes and before moving the Nodes variable, I also selected the Variable for the Hierarchy and then moved the Node variable to the right screen.
    When I run the report, the option for the selecting the Hierarchy appears and I selected the correct Hierarchy, but when I go to the Hierarchy Node variable, I do not see the Nodes for that Hierarchy I selected in the first variable and it always like a fixed value Hierarchy defaults to the first Hierarchy.  Hence I am unable to select the node to execute the report.
    I would appreciate any ones feedback.
    Thanks
    Sundar

    I am working in 2004s as well (SP11) and I am trying to do the same type of thing.
    I have multiple cost center hieriarchies that the user can choose from at run-time using the hierachy variable.
    Then once the user chooses to the hierarchy they then should go choose a specific node that they want to run for in that hierarchy using the Cost Center Hierarchy Node variable (using the hierarchy variable, not fixed hierarchy).
    When I run this in the web I am allowed to choose one of the multiple cost center hierarchies... this means that the hierarchy variable is working, however when i go to choose the specific cost center node for that hierarchy it uses the defult cost center hierarchy instead of the one selected in the selection screen.
    If anyone can shed some light on this it would be greatly appreciated.
    Aaron

  • Authorization variable - not work

    I need to define authorization criteria using 0COMP_CODE.
    1) I checked 0COMP_CODE as "Rilevant for authorization"
    2) I defined the object authorization using RSSM
    3) I put the authorization object into the roles (PFCG)
    4) I defined an authorization variables into the queries
    But when I execute the query, no authorization range is applied. 
    Where is my error?

    Hi Fabio,
    from your list it seems that everything is well...
    so, in the maintenance of the authorization objects, I suggest you to activate the extended trace function for the reporting (Transaction RSSM).
    Select key 'Authorization Check Log' to do this.
    Enter a user in the field 'User' or select one via F4 help. Then activate the trace for this user with the pushbutton 'Create' (F5).
    If the user is already entered, it is recommended to delete the old trace first.
    After you have carried out the authorization-relevant activity, you can display the current status of the trace for the user entered in the 'User' field by using key 'Display' (F6).
    After, remember to deactivate the trace for the entered user by using pushbutton 'Delete' (F2) and the existing trace of this user is deleted.
    The system stores the trace in the database according to the key fields, thus, if you start the same query several times in succession with the same parameters (in the authorizations, too), the checks appear only once in the trace and not several times as in a log.
    Hope it helps !
    Ciao,
    Roberto
    (and please don't forget to assign some points by clickin'on the yellow star to the contributors that help you !!!)

  • Alert Configuration: SMTP Error in SOST, Container variables not filling.

    Hi All,
    I have been configured in XI System following sdn and Michal's blog.ALRTCATDEF,SCOT settings have been done and  When i try to test the alerts , alerts are reaching alert inbox but not to mail. And also in alert long text container variables are missing  I have been requested my basis team to implement sap note 835031. What exact cause for this could any body explain me. And also Please suggest me what has to be done when i get error in SOST 'Message cannot be transferred to node SMTP due to connection error (final) ' Do i have to follow steps mentiond in below link:
    http://forums.sdn.sap.com/thread.jspa?threadID=558231
    Thanks,
    Aparna.

    'Message cannot be transferred to node SMTP due to connection error (final)
    have you seen below threads:
    http://forums.sdn.sap.com/thread.jspa?threadID=1564087
    http://forums.sdn.sap.com/thread.jspa?threadID=567171

  • Hierarchy Authorization in free characteristics not working

    Hi,
    we found aproblem while running a query with authorization objects for a hierarchy node (0SALES_OFF).
    - Z_HPRODPIS (Hierarchy for sales offices) with fields:
    - 0SALES_OFF Sales Office
    - 0TCTAUTHH Authorization for hierarchy
      We create hierarchy authorization for nodes:
       - Type of authorization           2
       - Hierarchy level                    3
    We would like to have characteristic 0SALES_OFF in the free characteristics section when running the query.
    In this case we get an error "No authorizations", but after drill down in rows, hierarchy node members for 0SALES_OFF are displayed.
    Is this an usual behavior?
    We would not like to create several queries, if we could cover user requirements with one query with several characteristics as free characteristics (also 0SALES_OFF).
    Thanks, Tomaz

    Hi !
    have you tried restricting it with a variable?
    with regards
    ashwin

  • Hierarchy Node Variable is not displaying full list of Hierarchy

    Hi,
    I loaded Hierarchy  to an info object using flat file.
    When i created a test reports and settings to display of MAster Data of Char and executed the report
    The output displays full list of Hierarchy
    Now to have a User Entry on Hierarchy ...created a Hierarchy Node variable and executed the value help of Hierarchy Node variable is not displaying fill list of Hierarchy ...its only displaying first 15 entries in Hierarchy.
    I changed the settings of variable...etc but couldn't get the Hierarchy full list in User entry selection
    How can i fix it...
    Thanks in advance

    If anyone has the same problem, I think I found the reason when transported to production.
    BW7.3 (at least) can not show the hierarchy nodes if there is no transactional data loaded.
    So do your hierarchies only after the data has been loaded..

  • Hierarchy authorization with variables of type exit

    Hi all,
    I am trying to implement hierarchy based authorizations with variables. After collecting information from the SAP documentation and this forum, I think I know more or less how to do it, but it's not working and it has me very confused.
    These are the steps I have followed:
    - From RSSM, I have created a hierarchy authorization object including my characteristic and 0TCTAUTHH
    - From RSSM again, I have created a hierarchy authorization pointing to the node $ZG_V_008
    - From the Query designer, I have created a hierarchy node variable of processing type customer exit ZG_V_008 (are any special settings needed here?)
    - From the Query designer, I have created <b>another</b> hierarchy node variable of processing type authorization, and I have used this variable to restrict the hierarchy for my characteristic
    - I have edited the EXIT_SAPLRRS0_001 to watch for I_STEP = 0 and give values to ZG_V_008 (we'll get to my code later in case we solve this issue first
    It is my understanding that with this setup, the user exit will be called to process the value of ZG_V_008 in I_STEP = 0, however, when debugging, I don't see any calls for the function with I_STEP = 0.
    What have I done wrong?
    Thanks a lot in advance.
    Guillermo

    Thanks, Jimmy, but that does not help much: my problem is that my user exit is not evaluated with I_STEP=0, but there are no error messages or anything like that.
    I have created a test user <b>without</b> a developer role to see if that could have any impact, but it's still not working.
    Any ideas?

  • BW hierarchy variable not working in Crystal Report 2008

    Hi,
    I have created BEx 7.0 report which has hierarchy on 0customer object, the report is working fine whith hierarchy variable. I have created Crystal Report by using this query as source. I have followed below link to create grouping to get data through hierarchy variable.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BWHierarchiesinCrystalReports
    But report does not work for hierarchy variable and report is blank. When I give filter of child node which has actual data then I get report output. For ex.
    Below hierarchy for 0customer
    11396
         - 737007
         - 123456
    When I run report for 11396 then no data display but when I run 737007 child node I get report output but with blank group name.
    Can anyone came accross this issue. Please guide me . Thanks in advance.

    Thanks Ingo for your reply..
    The word filter means, I have hierarchy node variable in the BEx report that has become Parameter in CR. When I give hierarchy node variable value of parent node then there is not data display but for the child node I get the data.
    For ex. In the info cube there is data for 730707 customer but in the customer hierarchy the parent node of 73707 is 11396. I am giving 11396 in the variable pop screen for hierarchy variable. I do not see any data but for 73707 I get data.
    User does not know 73707, he always enter 11396 customer no. and he gets data in BEx query that is source of CR. but crystal report is not showing data for 11396.
    One more point I want to tell here, I am saving CR at my local system not to SAP BW server.
    Hope this clear my issue.
    Harish Swami
    Edited by: hswami27 on Jan 31, 2011 8:17 PM

  • Hierarchy Analysis Authorization does not work after transport

    Hi Gurus,
    I am facing a issue in hierarchy analysis authorization in quality system but the same authorization works perfectly fine in development.
    All hierarchy authorizations works in Quality except for this one. I found one old sap note describing this as program error but this note is not applicable in BW 7.3.
    I have checked the table RSECVAL, RSECHIER and authorization is active so everything looks good. Please advise if anyone faced this issue after transporting hierarchy auths to other systems
    Regards,
    Salman

    Salman,
    What I understood from your description is that you have same role+AA in Dev and QA, which provides access in Dev for all the nodes for said hierarchy but in QA, same role+AA provides access to the same hierarchy for all the nodes but one. Try to create a ZTEST analysis authorization in QA itself with access for the problematic hierarchy node and see if it works ? This will rule out the case if there is a difference in hierarchy in DEV & QA.
    Regards,
    Shivraj Singh

  • Hierarchy Node Variable search (find) option not working

    Hi Experts - I have created a hierarchy node varibale on a fixed hierarchy. When user run the report and click on hierarchy node variable selection option , A new window will pop up which has all the nodes.
    As the list is quite big and has many levels , On the same pop up , we have find option , when we enter any node in the find box , its always give a ABAP Dump , It never works for me...
    Is node find/search in not working in Bi 7.0 .
    Thanks
    R

    Hi Rohan,
    We can restrict the hierchey level at property of of the hiearchey enabled characteristic.
    Hope this hels...let me know if u require any further info on this..
    Best Regards,
    Maruthi

Maybe you are looking for

  • I downloaded some music but there's two copies of each song showing up on the phone but not on itunes or anywhere else.

    I recently downloaded songs off of itunes on my computer. usually i don't do this because i think its a pain in the *** to connect my iphone to the computer but since i had recently updated it with icloud and the new ios software i figured i could do

  • BEx front end version problem

    Hai everybody,               I am trying to edit an existing query. When I open the query designer( from excel sheet)  I am getting the following error message is appearing. The component was edited with a more recent version of the editor. You also

  • Is the iPad 3 much better than the iPad 2 ?

    Hi, I want to buy an ipad (it will be my firt iPad), and i hesitate between the 2nd and the 3rd gen., some people tell me that there is not big differences between the two except for the retina display and the camera. I did some research and i found

  • Local Area Mobility

    I am having troubled with the local area mobility. Using two different networks over frame relay. I have setup the LAM according to the articles posted with access list, EIGRP. I have setup a computer on network 1 with a network 2 address. Added the

  • Passing array from one servlet to other

    I got values from jsp to servlet and i am storing them to String[] test = req.getParameterValues("testOne"); Now i need to use redirect req.sendRedirect("/servlet/myapp?test="+test); Not working. Why?