Hierarchy Exit variable in BPS

Hi,
I have a pb:
I have a hier  (ZHIER) based on InfoObject YIndic:
- Node : Text node
          - Region : Characteristic node (char: Yregion) ex: 1
                   - Dpt: Text node   ex: 1P2
                          - Indic : Characteristic node (char: YIndic)
          - Region : Characteristic node (char: Yregion) ex: 2
                   - Dpt: Text node ex: 2P3
                          - Indic : Characteristic node (char: YIndic)
In planing Layouts (BPS), I'd like to display only Indics related to the Dpt and the region of the user. So I'd like to use a Hierarchy Exit variable to take the right node.
I wrote the following code (I replaced working variables by real values):
  ls_hiersel-chanm = 'YINDIC'.
  ls_hiersel-hienm = 'ZHIER'.
  ls_hiersel-nodename  = '1P2'.
  ls_hiersel-hiever   = 'A'.
  ls_hiersel-hiecha   = '0HIER_NODE'.
  ls_hiersel-dummy_leaf   = ''.
  ls_hiersel-dateto   = '99991231'.
  CLEAR ls_chadep.
  ls_chadep-chanm = 'YREGION'.
  ls_chadep-chavlint = '1'.
  APPEND ls_chadep TO ls_hiersel-to_chadep.
  INSERT ls_hiersel INTO TABLE et_hie_nodes.
ENDFUNCTION.
My problem is that when I launch my layout, the system tell "the node 1P2 doesn't existing" but node is effectively existing. I thing that BPS doesn't know where to search my node but I took this piece of code from another function and I don't know how to tell to BPS where to search the node. It's maybe at the end of the code but I'm a Beginner in ABAP.
Can anybody can help me please?
Many thanks.
J Sorel

Thanks for your help.
Could you explain me please what does the code I wrote and your modification (I have not tried yet)?
I took this piece of code from an existing function module but due to my Abap level I can't understand what I do. I think that BPS doesn't undertands where (in which level) to search the node. Is there in the code you wrote an information related to the level where the node is?
Many thanks
Sorel

Similar Messages

  • Hierarchy exit variable

    <Moderator Message: please do not post your questions twice. Follow up the replies in your [other thread|hierarchy customer exit variable]>
    Hi,
    I need to change the hierarchy each and every year in my query.I want to create a customer exit variable for that.
    hierarchy for 2008 is PROFITCENTRE2008
    hierarchy for 2009 is PROFITCENTRE2009
    Now i need to have a variable which can change the last 4 digit of the hierarchy name.The last four digit is nothing but current year.Could anyone send me the code for this.
    Edited by: Siegfried Szameitat on Dec 12, 2008 1:10 PM

    Thanks for your help.
    Could you explain me please what does the code I wrote and your modification (I have not tried yet)?
    I took this piece of code from an existing function module but due to my Abap level I can't understand what I do. I think that BPS doesn't undertands where (in which level) to search the node. Is there in the code you wrote an information related to the level where the node is?
    Many thanks
    Sorel

  • Hierarchy node variable in BPS planning level

    Hi gurus,
    I have a set of planning levels and packages that are meant for all users. The users currently are segregated by 0costcenter hierarchy nodes, i.e. groups of users are belonging to different nodes within the 0costcenter hierarchy. These group of users each have its respective authorisation profile assigned based on hierarchy node.
    The planning levels and packages are configured so that 0costcenter is one of the header characteristics in the layout.
    Is there a way for the characteristic 0costcenter in the planning level and packages to derive the cost centers from the authorisation profiles ?
    Advice appreciated.
    Thanks.

    You may consider any of the following:
    1. BPS variables with authorization replacement type.
    2. BPS variables with user defined values replacement type.
    Ravi Thothadri

  • BPS: exit variable

    Good day,
    I hope you can help me, I've got a problem which I hope can be solved using an exit variable, in BPS.
    Scenario:
    Planning area with characteristics MATERIAL, WEEK, DAY and key figure PlanQty.
    I want to do a equal distribution of the plan values per WEEK to DAY. DAY can have multiple values for the same MATERIAL & WEEK. We have a custom table with the values for MATERIAL, WEEK and DAY.
    Example:
    MATERIAL / WEEK / DAY / PlanQty
    10001 / 10 / # / 200
    Distributed:
    MATERIAL / WEEK / DAY / PlanQty
    10001 / 10 / 2 / 100
    10001 / 10 / 5 / 100
    Would the following be a viable solution?
    Create an exit variable for DAY. In the function module read the custom table and return the multiple single values for DAY. Create a distribution function,  and use the exit variable for DAY in the parameter group to distribute the plan values from DAY = # to the multiple DAY values.
    Questions:
    1. How do I pick up the value for MATERIAL and WEEK in the function module to read the custom table? Should it be included in the exit variable?
    2. Would the exit variable be updated everytime the parameter group is called (i.e. per subset), or only once when executing the function?
    Any help or suggestions welcome!
    Thanks!
    Kind regards,
    Theana

    Hi,
    I am not sure on the solution, you have provided. However, it looks little complex to me.
    In my opinion, the design can be as follows.
    Create 7 numeric variables in your planning area for 7 days. The user will enter the distribution factors for these days (some of the days can have the factor as 0 as well). Depending on the factors entered, the function module will distribute the WEEK quantity to the respective DAYS.
    For example,
    The quantity for WEEK is 400 and this should be distributed to 2 and 5 DAYS equally. Enter 1 for those two DAYS variable and execute the planning function. The planning function should distribute the quantity in the following manner:
    For DAY 1:
    400 * 0 / (1+1)
    For DAY 2:
    400 * 1 / (1+1)
    and so on.
    Hope this helps. Kindly reciprocate by awarding points.

  • Exclude a hierarchy node by using exit variable (not in query designer)

    Hi gurus!!
    I have a hierarchy for the infoObject 0COSTELMNT. Depending on the user who executes the report, the node '0599ADJUSTMENTS' must be displayed or not.
    I am trying to solve it by using an exit variable:
    Varible Type: Hierarchy Node
    Processing : Exit
    On the exit, I have entered the following code:
          IF ( sy-subrc = 0 ).
              l_s_range-sign = 'E' .
              l_s_range-opt  = 'EQ' .
              l_s_range-low = 'AJUSTES'.
              APPEND l_s_range TO e_t_range.
         ENDIF.
    But unfortunately does no work!!
    Any ideas?
    Thanks in advance
    Regards.
    Carmen Rodríguez

    Hi,
    Check the below link gives good knowledge on variables:
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/579b3c494d8e15e10000000a114084/content.htm
    Reg
    Pra

  • BPS User Exit Variable based on Planning Package Selection

    Hi,
    I'm implementing a SAP BW-BPS planning layout to be integrated into the CRM we user interface.
    Most of the characteristic selections come from the CRM fields that need to be filled by the user when creates a trade promotion.
    The charcteristic selections work (as standard) just if in the planning level I flag "Selection in Package", then in package these selections are dinamically defined from what the user select in the CRM fields at runtime.
    My problem is that I have to build a BPS User Exit variable to filter, in the planning level, the proper Planning Area based on the CRM Sales Organization value.
    The characteristic CRM Sales Organization belongs to whose chararcteristic the value is determined dinamically in the planning package.
    Is it possible for a BPS user exit variable, set in the planning level, to catch the value of a characteristic selection made at planning package?
    Many thanks for your help.
    Alessandro

    Hi Indu,
    Many thanks for your answer.
    I have already took a look at the document posted by you but I didn't find the solution to my problem.
    This because i have to create a user exit variable that need to get the value of the characteristic selection in package.
    I mean in the planning level I will have the user exit variable that restrict the planning area and, his function module, need to read, at runtime, what is the value of the characteristic CRM Sales Organization restricted in package by CRM.
    So I don't have any idea to which BPS internal table I have referred to in my funcion module to catch the value of the CRM Sales Organization dinamically filtered by CRM.
    Many thanks,
    Alessandro

  • No Query Result After Using Hierarchy Node Variable (Customer Exit)

    Hi
    I have problem at my query. It doesn't show anything in BEx but when i check the data in BW using tcode LISTCUBE i can display the data.
    This problem happen when i change the restrictions for one of characteristic in filter value.
    The characteristic is custom Infoobject (ZCPARTNER), which like Infoobject Partner Unit.
    Previously I set the restriction with constant value, example : A500,A700,A710,A720,A730,A740 and it worked before.
    But when I change it using hierarchy node variable (customer exit), this problem is arise.
    Here is my code at ZXRSRU01
      WHEN 'ZHIEPART'. --> hierarchy node variable
       BREAK-POINT.
        IF i_step = 2.
        Read from ZZCONSGR information
          LOOP AT i_t_var_range INTO loc_var_range
             WHERE vnam = 'ZZCONSGR' OR vnam = 'ZOCONSGR'. --> read input value from consolidation group variable
            CLEAR l_s_range.
            CLEAR l_s_range-low.
            IF loc_var_range-low EQ '000000000000030000'
               OR loc_var_range-low EQ '000000000000010130'.
              l_s_range-low = 'MEZBUNITMDI'.
              l_s_range-high = '0HIER_NODE'.
            ELSEIF loc_var_range-low EQ '000000000000040000'
               OR loc_var_range-low EQ '000000000000010160'.
              l_s_range-low = 'MEZBUNITMPI'.
              l_s_range-high = '0HIER_NODE'.
            ENDIF.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Here the hierarchy in BW system:
    XXX Cons Unit Hierarchy Set; InfoObject ; Node Name
    - XXX Cons Unit Hierarchy Set; 0HIER_NODE; ZBUNITALL
      - XXX DownStream ... ; OHIER_NODE; MEZBUNITMDI
         - ME/A730; 0CS_UNIT; MEA730
         - ME/A740; 0CS_UNIT; MEA740
      - XXX Power ; OHIER_NODE; MEZBUNITMPI
        - ME A800 - A808; OHIER_NODE; MEZBUNITMPI
        - PT Mitra xxx; 0CS_UNIT;  MEA820
    Anyone can help my problem? Thank you
    Regards,
    Satria B Tandyono

    Hi Satria,
    Instead of following code ---
    CLEAR l_s_range-low.
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    l_s_range-high = '0HIER_NODE'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    l_s_range-high = '0HIER_NODE'.
    ENDIF.
    try this ---
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    ENDIF.
    Note : whenver the option is EQ, the system takes only low value.

  • 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

  • How to select several values from a user exit variable in a planning folder

    Hello,
    I have created a user exit variable for limiting the values only to which the user need to access.
    For a simulation part, it is then necessary for him to select several values from these values (not only one, and not all)
    But It seems in this case the user has only two possibilities :
    - keep all the values without any restriction
    - restrain the selection to only one value.
    It seems possible for the user to access to a multiple choice window, but this possibility doesn't seems to work : in all tests we did, only the first value was taken into account by BPS.
    If this method is not good do you know an other manner to permit the user to choice several values amongst a set of pre-selected  (because the original set is too important) values ?
    Thanks for your help.

    Hi Mayank,
    Thanks for your response, but I don't think it corresponds to my problem.
    I my case, I use a user exit variable to filter some data. It seems BPS offers the possibility to the user to select several values amongts the pre-selected values presented by the user exit variable, but it doesn't work. We can use a popup in which we enters the required values, but in final, only the first value is taken into account.
    I don't know if it is due to a BPS bug or if it is not a good solution in regard to BPS philosophy. In this case, the concerned caracteristic isn't in the header but in lead columns.
    I must present a solution to my client next monday, so I have not enough time to open an OSS message.
    An alternate solution should be interesting too.
    My need is to present to a user a selection of values amongst all values from an infoobject (the user exit variable seemed to be a good solution) and the user must have the possibility to select some values amongst these as filter.
    Regards

  • Cannot determine a value for an exit variable in the Formula fn w/p empty

    Hi All,
    We have an exit variable Z_EX_AR_VAR, the would read a hierarchy node input variable (Z_HN_AREA), which is furthur based on a hierarchy input variable (Z_HR_AREA), and wouuld return the first leaf of it.
    We have implemented a input ready query based on this exit variable and it is getting the first node and is input ready and saves the data to the database.
    It works well in the query when we have filtered the characteristic with the hier and hier node and the exit variables.
    We need to use the same value to be used in the Fox function.
    As per the requirement, the Fox function has to process the zero (empty) records.
    So, we have customized formula function to process emptry records.
    And in the function of type formula function that processes empty records, we have used the following statement.
    DATA AR type ZAREA.
    AR = VARI ( Z_HN_AREA, HIENM=Z_HR_AREA, 1).
    We are getting the following error message:
    Cannot determine a value for the variable Z_HN_AREA.
    Planning function ended with errors.
    What is that we are doing wrong here. Is it with the 'Process Empty Records' function that cannot read the variable.
    How come this variable is working in the query and it is not working in the FOX.
    We have done the variable to variable binding in the WAD also. Still the same problem.
    Any ideas? Thanks in advance.
    Best Regards,
    - Shashi
    Thanks in '

    Hi All,
    Michael Wolf from SAP confirmed that we cannot use VARiable read functions in the customized Formula function that processes the zero (empty records) as he spoke to SAP AG about the issue.
    Hence we have made a work around by creating a valid record using a dummy key figure in the Custom Formula function that processes empty records so that in the next step, the regular Formula function would get executed, where we could access the variable values by using VARV, VARI functions.
    Thanks,
    - Shashi

  • Error Message : " No value could be determined for Customer Exit Variable "

    Hello BI Experts ,
    I have created a "ZYTD_PERIOD" Customer Exit Variable  Interval  Mandatory and ready for input check mark removed.
    The reference character is '0FISCPER' .
    I want to have YTD figures when the user enter single Fiscal Year Period for variable 0P_FPER.
    So I have written below code in SE37 : EXIT_SAPLRRS0_001 and include program : ZXRSRU01
    ==================================================================
      case i_vnam.
                  WHEN 'ZYTD_PERIOD'.
                  IF I_STEP = 2.
                  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FPER'.
                  CLEAR L_S_RANGE.
                  L_S_RANGE-LOW0(4) = LOC_VAR_RANGE-LOW0(4).
                  L_S_RANGE-LOW+4(3) = '001'.
                  L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
                  L_S_RANGE-SIGN = 'I'.
                  L_S_RANGE-OPT = 'BT'.
                  APPEND L_S_RANGE TO E_T_RANGE.
                  EXIT.
                  ENDLOOP.
                  ENDIF.
    ===================================================================
    After that I use this 'ZYTD_PERIOD' variable in the query .
    Also I have used the variable 0P_FPER in another structure.
    When I execute the query by entering the value of 0P_FPER as 010.2009 or any other value ,
    I am getting below error message ,
    *No value could be determined for variable ZYTDPERIOD*_
    Below is details of this Error message ,
    Note that I have proper Master and Text data for 0CO_AREA and 0COMP_CODE loaded into BI.
    =======================================================================
    Diagnosis
    This error diagnosis is specific only to the variables 0P_FVAEX or 0P_CTPCA !
    Termination message BRAIN 632 appears:
    Could not determine value for variable 0P_FVAEX (or 0P_CTPCA).
    System Response
    1. Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
    With queries from the CO application, both SAP-Exit-Variables look for an entry for 'controlling area'. With this controlling area from the selection screen, the SAP-Exit-Variables program reads the attributes for InfoObject 0CO_AREA (controlling area).
    With queries from the FI application, the SAP Exit Variable 0P_FVAEX looks for an entry for 'company code'. With this company code from the selection screen, the SAP Exit Variables program reads the attributes for InfoObject 0COMP_CODE (Company Code).
    0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries). 0P_CTPCA determines the currency type of the profit center local currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.
    2. Cause of Error
    The attributes for the controlling area (InfoObject 0CO_AREA) or company code (InfoObject 0COMP_CODE) were not loaded into the BW system, or the attributes for the controlling area are not active in the BW system.
    Check whether this is the cause of the error in your BW system. Display the contents of table /bi0/mco_area or /bi0/mcomp_code using transaction se16.
    Application CO:
    Check whether the attributes 'fiscal year variant' (field FISCVARNT) and 'profit center local currency currency type' (field CURTP_PCA) are filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant in the OBJVERS = 'A' is empty, then the error is with variable 0P_FVAEX. If the currency type of the profit center's local currency in OBJVERS = 'A' is empty, then the error is with variable 0P_CTPCA.
    Application FI:
    Check whether or not the attribute 'fiscal year variant' (field FISCVARNT) is filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant is empty in OBJVERS= 'A', then the error is with variable 0P_FVAEX.
    Procedure
    Using InfoSource 0CO_AREA, load the attributes for the controlling area or company code into your BW system.
    Afterwards, activate the attribute changes in your BW system. To do this, use transaction rsa1, path 'Tools > Hierarchy/Attribute changes', functions button 'InfoObject list'. Choose InfoObject 0CO_AREA or 0COMP_CODE from this list, and activate the attribute changes.
    =====================================================================================
    Is there any special settings needed before writing BEx Customer Exit ?
    I have already created a project in CMOD and assinged a proper RSR00001
    and EXIT_SAPLRRS0_001 and project is active.
    Any help please ....
    Regards ,
    Amol

    My Code is as below ,
              case i_vnam.
                  WHEN 'ZYTD_PERIOD'.
                  IF I_STEP = 2.
                  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FPER'.
                  CLEAR L_S_RANGE.
                  L_S_RANGE-LOW0(4) = LOC_VAR_RANGE-LOW0(4).
                  L_S_RANGE-LOW+4(3) = '001'.
                  L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
                  L_S_RANGE-SIGN = 'I'.
                  L_S_RANGE-OPT = 'BT'.
                  APPEND L_S_RANGE TO E_T_RANGE.
                  EXIT.
                  ENDLOOP.
                  ENDIF.
                  ENDCASE.

  • Hierarchy node variable - successor node data not displayed

    Hello,
    I have a query with a hierarchy in the ‘rows’ section. This hierarchy is restricted by a hierarchy node variable with the following settings: variable type ‘hierarchy node’; customer exit; single value; mandatory; not ready for input; cannot be changed in query navigation.
    The customer exit correctly supplies the node. However, only data for THIS node is displayed in the query results. And data for successor/underlying nodes is NOT displayed.
    I tried several things, including:
    - rightclick ‘Rows’ > ‘Display as a Hierarchy’
    - customer exit variable: multiple values instead of single value; optional instead of mandatory
    In the ‘Hierarchy Attributes’ for the hierarchy, nothing is checkmarked, except for Root/Totals Item Appears Above’ and ‘Drilldown start level = 00’. The hierarchy and its nodes are valid from 01.07.2005 to 31.12.9999.
    I have a feeling in what area the solution can be found, but I have no clue what to do further on with it. As a test I replaced the customer exit variable with a user entry variable. If I then execute the query, I can select either the ‘node’ or the ‘value’ (both with the same technical value!). If I select the node, I get all data, including data for successor nodes. If I select the value, I only get the data for the node, not the underlying successor nodes. For some reason, the customer exit variable behaves like the latter and not like the first. I do not know how to solve this.
    I would greatly appreciate if you could help me out of this issue here.
    Kind regards,
    Frank

    Hi,
    no, it doesn't. It just returns the data for the node and not for the underlying nodes.
    Frank

  • Refreshing Hierarchy node variable in BEx query with change in hierarchy

    Hi all,
    We have used a hierarchy node variable on Characteristic ZECCSAC (user-defined) and used it in a BEx query with default value set to a particular node value. Upto this, it is working fine.
    The hierarchy used in the query, with the hierarchy node variable, was later changed ( and in future it can undergo changes ). Since the number of records in the hierarchy are changing, the nodenames of the hierarchy nodes are changing. But the hier node variable default value is still set to the earlier nodename for that node description. So at runtime it is giving an error "ECCS Account Number is invalid"!
    Can anyone suggest how to refresh a hierarchy node variable default value each time a query is run so that the latest nodename is always taken ?
    Quick reply will be appreciated.
    Thanks

    Hi,
    You get this with User exits.
    Thnaks

  • Time dependent hierarchy structure in SEM-BPS

    I want to use a time dependent hierarchy structure in sem BPS to make combination chek and proposal in a layout.
    I have manage a relation of type hierarchy (based on this hierarchy) in the characteristic relationship tab page of my planning area.
    I open my layout to make entries in the future (next fiscal year) but the system doesn't propose me the datas valide for the next fiscal year in my hierarchy but the datas validate today.
    There is a key date in the master data tab page of the planning area but it seems to have only effects on attributes with validity dates but not with hierarchy with time dependent hierarchy structure.
    Thanks for your help.

    Hi,
    The key data that you enter in the planning area is only for time dependent characteristics and attributes. For the hierarchies in the characteristic relationships the current data is used.
    If you still want to use a time dependent hierarchy for modeling the characteristic relationships you could use a characteristic relationship type exit. In the exit you can read the hierarchy with the proper date.
    Best regards,
    Gerd Schoeffl
    SAPNetWeaver RIG BI EMEA

  • Query Drilldown does not Invoke Customer Exit Variables

    We have a problem with performing a drilldown in a BEx Analyzer reprot, basically the client is a Trading company and they have inter company trading. We are using the Profit Centre as one of thre u201CFree Characteristicsu201D in the query and hence we are able to drilldown on a Characterictc by Profit Centre.
    We are using a couple of BEx query variables (Customer Exit variables) to determine the inter-area and extrenal area profit centres and these profit centres will be different based on the level of Hieracry node selected when the query is initially executed. For example if we assume a hierarchy with has one root node, 3 children under the root node and 2 grand-children under each of the 3 child nodes, now if we are at the root Node of the Hierarchy then every profit centre is internal and there are no external profit centres,  similarly if we are at the 2nd node (i.e. one of the child nodes) then everything under that node is internal and everything in the other 2 child nodes is external and so on.
    This is where the issue starts for us, since on the report if we select the the node we want to see the results for at the query rumtime (i.e. the Customer Exit Variables are invoked at I_STEP=2 and they select the other nodes of the hierarcy if any and group them into either external or internal)  then the results are correct. Now if we were to drilldown, i.e. We selected the root node and we drilldown on to see for example of the child nodes then the result are not correct, this becomes apparent when we drilldown further to the grand-child nodes.
    One logical explaination is that when we are doing the drilldowns the customer exit variables are not being invoked in the BEx analyzer report and hence they are not grouping the sums for the internal and external profit centres relevent to node selected in the Drill down.
    Does anyone have any suggestions regarding how to make this query work properly or show the correct results in BEx Analyzer (ideally), I have considered the Workbooks option but the client does not want Workbooks.
    Please let me know if there is a program etc we can customise to ensure that the Customer Exit variables logic is used when the user does a drilldown in the query or any other way to make it work.
    Many Thanks
    Jack

    Hi
    Just to aid anyone who is thinking what to do in a similar situation, I am aware that RRI or using workbooks are a couple of good alternatives (just that these are currently not being considered by the client, hence I am asking here).. Also, if someone has Business Objects WEBI then we can satisfy the requirement by creating a new Webi Report for each of the nodes and displaying it (similar to Workbooks but much nicer and faster) or we can get the Webi to execute the variables again during the drilldown... Unfortunately the client is not using Webi either... So the solution has to be in BEx Analyzer / Query designer based...
    If you have any thoughts on how I might be able to do what I want to do then please feel free, I am quite confident that I am not the 1st person to come accross this issue and someone somewhere has solved this issue. 
    Thanks

Maybe you are looking for

  • Why, in ios7 on my iphone 5, will podcasts no longer download to the phone when I sync it?

    I entirely stopped listening to podcasts for months because I was so frustrated by this whole situation. When I sync the phone, everything looks like it's transferring the podcasts I want to the phone's harddrive, but then when I go to the phone and

  • How do I transfer photos from aperture and iPhoto to bridge?

    How do I transfer photos from Aperture and iPhoto to Adobe Bridge.  I am using Photoshop CS6.  Many of my original photos were stored as raw files.

  • Cases and Accessories for 5G iPods

    Ok, so ever since I purchased my Black 60GB iPod I started reading about how easily it scratched and realized I needed to get a case for it immediately. I was also surprised to discover that my old iTrip and other top docking accessories no longer wo

  • Problem with logon on SAPGui

    Hello, I Have Installed the Sap Netweaver and the sapgui, but when I Want to logon to the sap system with sap gui, I have this problem : partner not reached (host 127.0.0.1, service sapdp00) Time                Thu Oct 05 12:24:01 2006 Release     64

  • XmlParser exception

    SimpleXmlParser smp=new SimpleXmlParser(ifsSession); This gives a warning that it is deprecated. Also gives a run time error : Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException at ParserTest.main(Parser