Hierarchy variable not passed over to universe

Hierarchy variable is not passed to the universe from the query, note 1007048 is not applicable to our system.
Any ideas on what other config to check and change ?

Hi,
- does the query work without any issues in transaction RSRT ?
- do you see the variable as filter in the Universe ?
Ingo

Similar Messages

  • Session variable not passing between pages

    Hi, I've got a form that calculates checkbox values and puts them in a total field called txtTotal. When the user clicks send, I need to pass the total to a payment page.  The form page has PHP
    session_start();
    $_SESSION['sessTotal'] = $_POST['txtTotal'];
    and the payment page has
    session_start(); at the top of the page and <?php echo $_SESSION['sessTotal']; ?> where I want the total to display. The total does not carry over to the payment page and I can't work out why.
    Here is all the PHP from the form page as I'm pretty new to PHP and not sure if there's a conflict (should session_start appear more than once?)  Thanks guys
    <?php require_once('Connections/df.php'); ?>
    <?php
    //initialize the session
    if (!isset($_SESSION)) {
    session_start();
    $_SESSION['sessTotal'] = $_POST['txtTotal'];
    // ** Logout the current user. **
    $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
    if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
      $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
      //to fully log out a visitor we need to clear the session varialbles
      $_SESSION['MM_Username'] = NULL;
      $_SESSION['MM_UserGroup'] = NULL;
      $_SESSION['PrevUrl'] = NULL;
      unset($_SESSION['MM_Username']);
      unset($_SESSION['MM_UserGroup']);
      unset($_SESSION['PrevUrl']);
      $logoutGoTo = "index.php";
      if ($logoutGoTo) {
        header("Location: $logoutGoTo");
        exit;
    ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "index.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname_userDets = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_userDets = $_SESSION['MM_Username'];
    mysql_select_db($database_df, $df);
    $query_userDets = sprintf("SELECT usersId, userName, password, name FROM users WHERE userName = %s", GetSQLValueString($colname_userDets, "text"));
    $userDets = mysql_query($query_userDets, $df) or die(mysql_error());
    $row_userDets = mysql_fetch_assoc($userDets);
    $totalRows_userDets = mysql_num_rows($userDets);
    ?>

    OK I got it.  I needed 
    session_start();
    $_SESSION['sessTotal'] = $_POST['txtTotal'];
    on the payments page as well, not just session_start();

  • Dimension based on hierarchy variable not showing attributes

    Hi all.
    I created a BEx query with a hierarchy variable on 0MATERIAL ready for input, so that when I execute the query it prompts me to select one of the hierarchies node. I created a universe on top of this query and the prompt is also present in the universe, as it should be. When I execute the webi report selecting on of the hierarchies available there is no problem. But when I execute the webi report without selecting any hierarchies (I want the report to show without the hierarchy bahavior), the dimension L01 material shows the values, but the L01 Material details are all empty.
    Anybody know a solution for this problem?
    Using BO XI 3.1 SP2 latest fixpack available.
    Regards,
    André

    Hi Ingo.
    I think I may not be able to generate this log, the basis team refuses to change the registry entries on Windows server. Are there other ways you can analyse this problem?
    I think this problem is related to the fact that the dimensions L00 to L06 have a select statement like .[LEVEL01].. and the details are like .[LEVEL01].[[20MATERIAL]].[Value], and when we run the webi report without choosing any value for the hierarchy, the !V000006 is not being properly substitute to "0MATERIAL". But this is a hunch. I tested creating a dimension with select statement .[LEVEL01] and substituting the details as well, then it works, but this is not a solution, because this "adaptation" leads to others problems and errors executing the report.
    André

  • 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

  • BOXI 3.0 Units of Measure not coming over to universe based on Infoset

    We are noticing that the Unit of Measure for Infoset based query objects are not coming over with the base install of the SAP integration Kit. However, it does seem to work after fixpack 2. Can anyone confirm this?

    Hi Mark,
    we had a separate thread on this already - or ?
    for Universes on top of Web Intelligence it has been identified as an issue.
    For Universes on top of InfoCubes it works fine.
    Ingo

  • BW Variables not showing up in universe based on BEX query

    We've been trying to create BO Universes on BEx Queries.  When we create the connection, it reads the query into the Universe, however, it does not always read all of the BW variables associated with the queries.  We've moved all filters in the BEx Query into Free Characteristics but BO Designer still does not read them into the universe or create them as mandatory filters in the universes as the documentation states.  Any assistance is appreciated. Thanks

    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

  • Environment variables not passed through to player in flexunit 4.1.0-beta3

    fyi, to get flexunit-4.1.0-beta3 FlexUnit4AntTasks invocation of flashplayer to not be rejected by the vncserver, i needed to modify the FlexUnitLauncher to pass through the environment variables to the command environment.
    the reason this is required, i think, is the use of Runtime.exec() directly in CustomPlayerCommand -- in flexunit-4.0.0, the same function was accomplished using the ant executor, which does passthrough by default.
    anyway, curious if anyone else has seen this issue, or if i'm doing something dumb.
    --- flexunit/flexunit-4.1.0-beta3/flexunit-flexunit-da29198/FlexUnit4AntTasks/src/org/flexuni t/ant/launcher/FlexUnitLauncher.java    (revision 7250)
    +++ flexunit/flexunit-4.1.0-beta3/flexunit-flexunit-da29198/FlexUnit4AntTasks/src/org/flexuni t/ant/launcher/FlexUnitLauncher.java    (revision 7251)
    @@ -79,7 +82,13 @@
           command.setSwf(swf);
           if (runHeadless())
    -         command.setEnvironment(new String[]{ "DISPLAY=:" + xvncStart.getCurrentDisplay() });
    +         Map<String, String> env = System.getenv();
    +         List<String> envArgs = new ArrayList<String>();
    +         for (Map.Entry<String, String> entry : env.entrySet()) {
    +            envArgs.add(entry.getKey() + "=" + entry.getValue());
    +         }
    +         envArgs.add("DISPLAY=:"+xvncStart.getCurrentDisplay());
    +         command.setEnvironment(envArgs.toArray(new String[0]));
              LoggingUtil.log("Setting DISPLAY=:" + xvncStart.getCurrentDisplay());

    ok. i went looking for a JIRA link somewhere around here and couldn't find it.  do you have a URL handy?
    there are a couple of other things too:
    you probably want trustDirectory.mkdirs() rather than mkdir() in TrustFile.java
    you probably want CustomPlayerCommand.setLocalTrusted() -- my player command isn't in the machine's path, but i still want to be able to touch the trust file.  So I copied the trustFile.add() stuff from FlashPlayerCommand.launch() into CustomPlayerCommand.launch().  probably a better solution would be refactoring CustomPlayerCommand to be more like FlashPlayerCommand.
    anyway, if you want patches, tell me where to put them and i'll post some.

  • GetURL(varLink01, "_self"); variable not passing???

    i'm passing varLink01 from PHP to a flash file no problem (it
    loads into a dynamic text field fine).
    but when i try and load this variable to the getURL command
    the link is not working, the flash takes me to a "page not found."
    here is my code:
    DECLARE VAR
    var passed:String = varLink01;
    (different layer, same frame)
    ACTION SCRIPT
    on (release) {
    getURL(varLink01, "_self");
    i've put hours into this.... any help???
    Thanks, Joe

    i'm getting this in my Output Panel:
    "One or more breakpoints have been removed because they are
    not on valid lines of code." this is weird since the SWF file runs
    perfectly other than this issue.
    i updated my code to be sure my vars are declared and
    defined--
    var varImage01:String = "
    http://www.liquidmilitia.com/gallery2/d/2966-1/01.jpg";
    var varLink01:String = "
    http://www.yahoo.com";
    var passed:String = varImage01;
    i01load.contentPath = varImage01;
    var passed:String = varLink01;
    BUT-
    i'm using Actionscript 2.0. if i can RUN and DISPLAY the
    value of varLink01 in a dynamic text box like
    i am in the SWF file -- doesn't this confirm that the
    variable is succifiently declared and defined?
    I'm really sorry if i'm missing something here...

  • QuickTime Media Link (qtl) not passed over to Player

    Safari saves all movies with .qtl to my desktop.
    They only open in QuickTime, if I have checked the option "open save files after downloading" (something like that - I have translated it from German).
    Is this the default setting in Safari? What about the other Browsers?
    I mean, if I export my videos in QuickTime Media Links,
    how many of my website viewers just will have saved a file to their desktop without anything happening after?
    I also wonder, if this saving of the QuickTime Media Link files is normal.
    Thank you for any replays

    I am looking for a way that my podcast-videos can be played fullscreen not only in iTunes but also on my website.
    With a (xml) QuickTime Media Link I can let the videos play in fullscreen and shut down the QuickTime Player at the end.
    A plug-in with optional fullscreen playback would be a much easier solution,
    but Apple possibly won't add this because they want the users download iTunes.

  • Problem with preloader not passing over nextFrame();

    The preloader I created doesn't transistion to the next frame, it just hangs on the preloader frame at 0%.  Here is my code:
    stop();
    loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
    function updatePreloader (evtObj:ProgressEvent):void{
      var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
      preloader_bar.width = (percent/100) * 600;
      preloader_txt.text = "Loading " + percent + " %";
      if (percent == 100) {
       nextFrame();
       this.removeEventListener(ProgressEvent.PROGRESS, updatePreloader);
    The problem is when the swf is called online it stops on the 1st frame and shows the preloader at 0% and does nothing.  I can right-click on the non-functional embedded flash swf and select play and it runs fine; but this doesnt make any sense for my users to be doing the same...  However, when the file is recalled after the first attempt it works fine.  Any ideas what could be going on?

    Thanks, I think it’s working!  I can't recreate the problem...
    Code:
    stop();
    if (this.framesLoaded == this.totalFrames){
    nextFrame();
    else{
    loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
    function updatePreloader (evtObj:ProgressEvent):void{
       var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
       preloader_bar.width = (percent/100) * 600;
       preloader_txt.text = "Loading " + percent + " %";
       if (percent == 100) {
        nextFrame();
        this.removeEventListener(ProgressEvent.PROGRESS, updatePreloader);

  • 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

  • Filters 'OR' function not passing the values to the sql

    Hi,
    I am facing an issue with the 'OR' function on the filters that are used in the reports.
    The report needs to fetch all the records on the three tables as the user enters the value in the dashboard prompts.
    eg: [   update_dt_A1 is prompted
    and user_name_A1 is prompted ]
    or
    [    update_dt_B1 is prompted
    and user_name_B1 is prompted ]
    or
    [    update_dt_C1 is prompted
    and user_name_C1 is prompted ]
    The values entered in the dashboard prompt gets passed to the filter, but the vaules are not passed over to the SQL that runs on the database, hence the reports shows all values and does not reflect the values entered.
    When the 'OR' function is replaced with 'AND' the values get passed to the SQL.
    Can anyone help on what is the issue on the filters?
    Thanks

    Here is how my Filters are set up
    Vendor Name is Prompted
    AND
    Vendor Number is Prompted
    AND
    [   [Last_update_date_Vendor is prompted
    AND
    User_name_Vendor is prompted]
    OR
    [Last_update_date_Site is prompted
        AND
        User_name_Site is prompted]
    OR
    [Last_update_date_Bank is prompted
        AND
        User_name_Bank is prompted]
    The values from the dashboard prompts gets passed to the filter, but the sql that runs does not take the values in the where clause.

  • Some CATIA information is not passing to Adobe 9 Pro Extended

    When creating 3D PDF files some information from CATIA is not passing over to Adobe depending on the workbench the part was designed in in CATIA.
    This information is stored as Parameters in CATIA. Used in this case to store text. When the part is created with the "Part Design" workbench these parameters transfer over. When the part is created with the "Sheet Metal Design" workbench they do not transfer over leaving behind vital information such as part notes. The PMI information translates just not the parameters. See attched picture for example.

    Yes, this is a known issue, but I have no idea if anything is being done about it.
    We are dealing with this problem by using other applications to view sheet metal files. But this is a miserable fix.
    ~Joe

  • Input hierarchy  variable is not working

    Hi,
    i have created a BI quary which have a manual input hierarchy variable.Now i have created a Universe on it,and then Qaaws.
    In Qaaws this varibale working fine,its gives proper result aCcording to selection of node.Then i have used this in Xcelsius,i have created a connection and then as input value i provided ROOT node key thorugh mapping this to one cell, and mapped the output cell.
    Now if when i preview it,its showing no data,and if remove the input node value(balnck cell) then its showing data.I find out that its not taking the value.
    What could be wrong here?How  to pass hhierarchy  node in xcelsius?
    Thanks,
    Piyush

    Hi,
    I had the exact same problem. Please have a look at this thread:
    xPost: QaaWS, BW, Xcelsius and aggregation
    Here is what you need to do (assuming you are on XI 3.1 SP2)
    1) Refresh you universe with the option Generate technical names. This will give you an additional detail for each dimension in your universe called ...techname. So if you now check e.g. L01, L02 in your hierarchy they will have this attribute.
    2) Create a new web service that includes key and the techname detail
    3) Insert this into your visualization and use it to fill e.g. a combo box (key) and return the key + techname when selected
    4) You can then use the techname to filter your second web service in the input values
    Hth.,
    Jacob Lund

  • Hierarchy variables in webi / Universe

    Hi,
    I am running XI 3.1 and have defined a hierarchy variable in the BW Query. When testing from query designer it works fine (I am being prompted), but the variable is not carried through to the universe and when trying out the universe in webi I get an MDX error.
    What am I missing. Anything special to be aware of when it comes to hierarchy variables?
    Regular variables show up fine in universe and webi.
    Best regards
    Thomas

    Hi Thomas,
    lets clarify one thing first : there is not need to do any special resitrction in the BI queyr.
    enure the characterististic with the variable shows up in the rows / columns, free characteristic or in the restriction area.
    try the following :
    - go to transaction SE37
    - run the function BAPI_MDPROVIDER_GET_VARiABLEs
    - as cub-name enter the technical name of the BI Query in the syntax cube/query
    in case that list is empty look at the note mentioned above
    ingo

Maybe you are looking for

  • ORA-13033 ORA-06512 at 11.1.0.7

    I have a single shape that seems to cause ORA-13033 at 11.1.0.7 but not at 11.1.0.6. Wondering if I am missing something stupid, or if anyone else has seen this problem. I did a quick search of the posts, but didn't find anything. It could also be th

  • Application Structure Advice - preplanning

    Hi all - Thought I would get some advice from you before starting up a new project.  Not really how to do it, just which structure to use... Originally I took over a project at my work that is very unresponsive and the way its coded it cannot accurat

  • JMenu causing image problems!

    I have Installed a JMenu that has an Image directly below , but! When i open the menu, The Text Value of the menu Disappears and the image has "Gray-Space"where the menu drop down was opened. Can anyone Help and tell me why this is happening and how

  • HT4994 old sim does not fit in the iphone

    Trying to move old sim data to new iphone4s sim, but the old sim card is to big to fit in the iphone as instructed to do - any suggestions would be grateful of do i need to get this done at a shop??

  • "loading initial ramdisk" hang....

    FYI, an Arch installation that's been working well for 2 year is now freezing on "loading initial ramdisk" on boot. Still looking into it. Not seeing any other recent reports. If anyone has any quick ideas, it would be appreciated.  Need to get the c