BPS Hierarchy - variable exit

Requirement is to restrict the countries based on the selected Geography, I have created a hierarchy on country and trying to write a hierarchy user exit on country variable . UPF_VARIABLE_USER_EXIT_HIER is the one I am using, Can somebody explain how this works or any better I approach to resolve this issue.
Thanks

I am using a variable exit on Geography, to populate based on the entires from previous tab. My initial approach was to create a variable exit on country and then call API_SEMBPS_GETDATA to read the geography from the header and then call API_SEMBPS_HIERARCHY_GET for getting countries to populate. This sounds good but when I tried, API_SEMBPS_GETDATA is kicking me out running into infinite loop. Not sure but I think the reason could be, on the first run the value for country is initial. After failing this approach, I was looking into other alternatives.
Can you please send me that how to document if possible.
Your guidance much appreciated

Similar Messages

  • BPS - Hierarchy variable: limitations in planning folders...

    Hi,
    We are using a variable of type hierachy for the selection of the cost centers within the planning folders across our cost center planning application.
    We are using a hierarchy with roundabout 5000 cost centers. The variable forces the user to expand the hierarchy to the desired level in order to select the cost center. There is no way to enter the cost
    center manually when using the hierarchy variable, and no search function is available to find a cost center in the hierarchy.
    Those are cumbersome limitations especially when users are used to the R/3 or BW hierarchy search.
    Is there any way BPS can allow for direct input (in addition to selection via the hierarchy) when using hierarchy variables, or a least a search function?
    Thanks!!
    Olivier

    I don't know if this will help in your situation but I have a similar variable based on Profit Centre.  Within the hierarchy the users are responsible for a small number of Profit Centre Groups (defined as hierarchy nodes in the tree).  I have set the variable as user specific and each user has the Profit Centre Groups assigned that they are responsible for.
    This variable is then linked to a variable selector, as a dropdown, within my web app and only allows the user to select Profit Centre Groups they are responsible for.  When an entry is chosen the Profit Centres below that part of the hierarchy are displayed in the layout.
    Regards,
    Mat

  • BPS variables exit F4 help

    Hi,
       I am having a BPS variable exit which is listing all the records from the master data table in the F4 help screen but  i want to see only those values which are populated by my exit .
    Did any one faced the same problum? Do we have a note or patch to fix this.
    Thanks,
    Ramkumar

    Hi Ramkumar,
    Check the ABAP code behind the variable.Make sure that it is fetching the right records based on the logc in the code.Check the select statement in the ABAP.
    Debug the code and find out if its fetchin the right values into the export parameter  ETO_CHARSEL.
    hope this helps.
    regards
    Sai Vishnubhatla.

  • Multiple node selection in Hierarchy Variable

    Hi Experts,
    I have a requirement for the capability to select the multiple node in the BPS variable of type hierarchy. This is required in the data slice where my administrator want to select the more than one node at a time for the purpose of locking the transaction records of deferent departments with slice. I see only option to select one node in variable but I would like to know if there are any ways to enhance this variable to select the multiple node...some exit or some thing.
    Any valid suggestions will be fully rewarded with points.
    Thanks,
    Raj.

    Hi Jain
    Thanks for your input. Following is exact requirement for me.
    I have fund center hierarchy and each text node represents one department and all the fund centers under it. Plan administrator wants to lock each department when they are done with the planning. I can achieve this by preparing one data slice for each department and administrator can activate this when they want to lock department but this generates lot of data slices, which may impact the performance of the system a lot.
    Other option I am thinking of is the possibility to use hierarchy variable in data slice to select the multiple departments that are required to be locked at any point in time, so that I can manage this with one variable.
    Other option is selecting individual fund center values  in variables but that is completely ruled out for the given volume.
    If I understand your suggestion right, you are suggesting to create the custom table to store different node values from the hierarchy and use the exit variable in data slice. IF you have any document/code to achieve this, please let me know.
    let me know if you have any other simple way to achieve this.
    Thanks,
    Raj.
    Message was edited by: Raj G

  • Error in hierarchy variable after upgrade to BW7.4 SP 7 from 7.0

    Dear friends,
    We have upgraded from BW7.0 to BW7.4. While executing query with hierarchy variable as input we are getting a dump. The hierarchy variable is used in customer exit. It was working fine before upgrade but after upgrade we are getting following error

    The <dname> field symbol is not assigned causing the dump.
    Line:  "LOOP AT <dname> INTO l_dname" is where the dump is occurring.  The previous line of code has an issue:
    ASSIGN ('(SAPSRRK0)<G_SX_RR>-SFC') TO <dname>.
    The assignment to <dname> in the code above is not occurring properly.  You can debug the query variable to see why (SAPSRRK0)<G_SX_RR>-SFC is not returning a value. 

  • Hierarchy variables

    Hi,
    Does anyone know how to get a list of hierarchy variables in BPS with hierarchy nodes? I've tried using the UPC_VAR table but it only gives me the variables but not the nodes.
    Thanks in advance.

    Jackie
    Did you try to download from SE16 using program UPC_VAR?
    Hope this helps
    Thanks
    Sat

  • Hierarchy variables in UDT

    Hi all,
    We have a User hierarchy ... in that we have User Group,User Territory,User Terr in User names.
    These User Group,Terr are populating through Customer exit.
    This hierarchy is working fine Till Bex but when i create Universe on top of this in UDT, they should come as Prompt for the user to
    select Which user hierarchy he want.
    Ex:If user selects User group as part of User hierarchy then again he can be asked to choose User group.
    Please tell me how to do this.

    Hello Farzana,
    in the XI 3.1 OLAP Universes (UNV) a hierarchy variable is supported but keep in mind that the Universe will generate the Universe based on the model at the time when you create the Universe and there will always be limitations when it comes to hierarchies in Web Intelligence.
    The recommended approach to connect to BW for Web Intelligence is to use the direct link to the BEx queries.
    If you really want to use the hierarchies from BW you should look at the Analysis products and not Web Intelligence
    regards
    Ingo Hilgefort, SAP

  • Hierarchy Customer Exit

    Hi
    Does anybody have any information about hierarchy customer exits, particularly how to return the heirarchy, all the information i can find on the forums is about characteristic or texts.
    Im trying to have it so that the user enters a value (1-10) and then based on that the query uses a corresponding hierarchy for costcentre, ie user selects 1 Hierarchy01 is used or 2 Hierarchy02,etc.
    ive setup the user input var and the hierarchy var. here is the code ive got so far.
            WHEN 'ZHCOUTCM01'. "customer exit var
              IF i_step = 2.
                LOOP AT i_t_var_range INTO loc_var_range
                WHERE vnam = 'ZCUOUTCM01'. "user entry var
                  CLEAR l_s_range.
                  l_txtsh = loc_var_range-low.
                 CONCATENATE 'WCC1BPS_OTCM0' l_txtsh into l_txtlg.
                  l_s_range-low = l_txtlg.
                  l_s_range-high = ''.
                  l_s_range-sign = 'I'.
                  l_s_range-opt = 'EQ'.
                  APPEND l_s_range TO e_t_range.
                  EXIT.
                ENDLOOP.
              ENDIF.
    Any input would be apprecitated
    Thanks
    Josh

    don' t know if i understood well but i am asking myself why don't you just create a hierarchy variable in the query designer so that users can select the hierarchy they want.
    regards
    Boujema

  • BPS Hierarchy Authorizations

    Hi All,
    We are implementing hierarchy node based authorizations for our BPS and related queries and it works fine. We have 300+ nodes and for this we would require a role for each node of the hierarchy (that would be 300+ roles).
    Now we are planing to use a hierarchy node exit varaible so that we end up with only one role. Can someone please let me know if there are complications in this approach or, if anybody has implemented this, can you please share your experience.
    Thanks,
    Jay
    Message was edited by:
            jayaroop gullapalli

    Marc,
    Thanks a lot for the solution.
    Firstly pardon me for my ignorance.
    Do I really not need any roles at all? How would the users get access to the planning functions related to their fund centers (its a fund centers based hierarchy)?
    Please correct me if I am wrong, I think I will need one role that gives access to the planning functions and the authorizations in RSECADMIN will restrict to fund center nodes. But this way, half the burden of building 300+ roles is now decreased. Thanks for this solution.
    Our fund center hierarchy is based on the characteristic 0FUNDS_CTR and not on 0TCTAUTH. It looked like the second option in point 4 of the link you provided will not serve my case.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/fc8b41b5b3b45fe10000000a1550b0/frameset.htm
    Would I have to build 300+ authorizations using RSECADMIN for each node?
    Again thanks a lot for your guidance
    Message was edited by:
            jayaroop gullapalli

  • Problem in hierarchy variable

    hi,
    I am facing one problem with hierarchy variable , i created one hierarchy variable with ready for input , mandatory and customer exit as i need some values to be populated in the input screen and write the following exit
    when 'ZHV_PCTR'  .              IF i_step = 1 .
         clear l_s_range .
         l_s_range-low = 'TEST!'.
         L_S_RANGE-SIGN = 'I'.
         L_S_RANGE-OPT = 'EQ'.
          append l_s_range to e_t_range .
       endif .
    but wen the input variable is coming its coming with all the values , even test1 is not appearing .
    plz letme know wts happning rong .
    thnx

    Hello ,
    Try this code
    DATA: loc_var_range TYPE rrrangeexit,
          l_s_range     TYPE rsr_s_rangesid.
    IF i_step = 1.
      CASE i_vnam.
        WHEN 'TEST1'.
        CLEAR l_s_range.
         READ TABLE i_t_var_range
                INTO loc_var_range
                     WITH KEY
                     vnam = 'TEST1'.
            IF sy-subrc = 0.
               l_s_range-low = 'TEST1'.
               l_s_range-sign     = 'I'.
               l_s_range-opt      = 'EQ'.   
               APPEND l_s_range TO e_t_range.
               l_s_range-low = 'TEST2'.
               l_s_range-sign     = 'I'.
               l_s_range-opt      = 'EQ'.
               APPEND l_s_range TO e_t_range.
        ENDCASE.
    ENDIF.
    Thanks,
    Kishore

  • HIerarchy Variable in Selection Screen not taken into account.

    Hi,
    Our users choose a cost center hierarchy in the selection screen and run the report. As we have suppressed Unassigned Nodes, they do not appear. However when users then deactivate the hierarchy, unassigned nodes are shown. Their argument is that the unassigned nodes should still not be displayed because a hierarchy was entered on the selection screen. Is there a way of stopping this?
    Thanks

    Hi Shawn,
    I think I get what you did in your query, though it took me some time...
    Did you select the cost center in your query and set the display hierarchy using settings, hierarchy tab, select hierarchy, hierarchy variable (or something like that)? That would explain why the query isn't filtered on that hierarchy, only the display of cost elements is affected. You should also have the same hierarchy variable in your filter settings in the query designer. That way, the user filters on a hierarchy and the unassigned nodes will never be in the result.
    Hope it helps, tell me if I got it wrong,
    Kind regards,
    Alex

  • Variable exit in sap bi 7.0  is not working in web report

    Hi Experts,
        I had wrote a variable exit to get latest run date at variable screen for a variable.On the base query i have created query view.This query view is working fine when i am viewing from analyzer  but on  the web Im not getting latest run date but it taking some other date.
    Can  any body suggest any thing why system is behaving so strange.
    Thanks
    Vinod

    Hi, Succhi
    Note 1621031 - Incorrect status I1054 "To be distributed"
    Note 1620893 - Screen output without connection to user - SMQ1
    also check program CRM_DATAEXCHANGE_TOOLBOX
    Denis

  • 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

  • Problem with hierarchy variable while displaying query in Portal

    Hi,
    I came up with an problem with a query in the portal.  The problem is :
    I have one query which is displayed in the portal. The Query has hierarchial selection criteria. I am executing the same query using analyzer. Its taking the variable from the selection and displaying it on the analyzer. I have used the option to " display the query on web " from the BEX query designer. From there its opening and displaying the results with the given selection criteria.
    Where as when i open the query seperately in portal, its not displaying the results.
    I came to know from one of my colleague that the porblem is with the Web item and the hierarchial variable declared in WAD  was different from the variable declared in the BEX Query designer.
    I never Worked with WAD. I tried finding out the variable definition. But i was unable to find out where the Hierarchial variable was defined.
    Please help me out regarding the same.

    The problem is sovled.
    Poornima.

  • How to debug variable exit in Bi 7.0

    Hi Experts,
          I  have code in variable exit in Bi 7.0, I am trying to debug in RSRT but im not able see my source code, Can you any body suggest me any thing or can suggest me steps to debug variable exit in bi 7.0.
    Thanks
    Vinod Kumar

    Hi Vinod,
    1) add following code into your exit-routine, at ??? fill your user-name:
    Routine will STOP here,
    than in new session call transaction SM50
    find your query-request and mark the line
    now go to menue line to -program/session and -debugging
      DATA: help.
      WHILE help IS INITIAL
        AND sy-uname = '???'.
      ENDWHILE.
    2) after activation of exit-rountine start your query
    3) open new session and call transaction SM50
    4) check the list and look for your query-request and mark the line
    5) now go to menue line to -program/session and -debugging
    6) the run will stop at your while-statement
    7) now you must change the contents of the variable help to '1' to leave the while-loop
    8) with F5-Key you can proceed your coding
    Regards
    Edi
    Edited by: Eduard Meder on Feb 19, 2009 12:40 PM

Maybe you are looking for

  • Interface mappings

    Hi, I need some help.I am using XI as a middleware between two SAP systems. So there is an outbound interface to the first system and an inbound interface to the second system and there is an interface mapping defined between these two systems(Which

  • Cannot download 10g_win32_db.zip

    When I try to download this file, I only get about 10K transferred out of 600MB+. I have tried on two networks, my client and at my hotel. Neither works. I am evaluating this for a client, so getting it is critical.

  • Does anyone know what time the last episode of Breaking Bad starts streaming

    Deos anyone know what time the last episode of Breaking Bad starts streaming on itunes?

  • Turnkey solution for so many features?

    We are a small Tutoring business. We would like to add to our site the ability of our clients to login (secured) and have access to several features. 1. Make one time or scheduled credit card payments 2. View student progress reports (on-line form) p

  • Raw fine tuning reverts back to older version

    HI I've spent the last couple of days editing several hundred files, they were originally imported before AP2 was released, so would have been using RAW file tuning version 1.1. However I selected each one individually Removed all adjustments, which