Query hierarchy question (NW04s)

I assigned a hierarchy to 0GL_ACCOUNT and restrict on certain nodes just below the root.
How do I prevent these nodes from being expanded in query?

You can set Hiearchy Properties either in Query Level or Hierarchy Maintenance Screen.
You need to enable check box for Expand Level to '1'.
Assign points if it helps.
Nagesh Ganisetti.
Assign points if it helps.

Similar Messages

  • Query design question (NW04s)

    In query designer, how do I hide a column that has no data. I know how to suppress zero result columns, but these columns are not zero because they had no data.
    Can this be done using a local formula?

    Hi Raynald,
    Yes you can do this by restriction. I mean you restrict the report only display for the column that has a data.
    How you do this :
    1. Open your query.
    2. Right click for the characteristic (column), choose restrict.
    3. Choose for fix values, and singles value for selection type.
    4. (there will be 2 area) You restrict it by choose no-data / symbolized by # (move it from left to right pane).
    5. (After moving it to right pane) You right click to that symbol then choose exclude from selection in the context menu.
    If you have already made it, the column that has no data will be hidden.
    Hopefully it can help you.
    Regards,
    Niel.
    award points if it helps you.

  • 2 issues - Invalid Serial Number issue & Lightroom 5 Trial vs full version folder hierarchy question

    Hello
    not sure if I should split these two questions...
    1 - Invalid Serial Number issue
    I'm helping out a friend with their large photo collection and they bought Lightroom 5 and received the serial number but when we add this to Lightroom it states that it's invalid - I tried leaving it until the following week (I visit them weekly) and it still refusing the number - when I went into their Adobe account and took a look at downloads the option to download the full version is greyed out (or an x - I'm not sat on their computer right now so can't double check) but it wouldn't allow me to do anything so we just had the trial version.
    anyone know what the issue is - shall I get them to contact Adobe to get them to take a look - I also had issues trying to find a customer support email address lol. (I seem to faffing with lots of websites/software/companies this week so getting a little frazzled!)
    2 - Lightroom 5 Trial vs full version folder hierarchy question
    This question is linked to the above i- I am wondering if the folders in Lightroom are different in the trial version vs the fully paid version.
    I had set up some greeting card templates and contact sheet layouts for my friend and tried to transfer them to her computer but whilst, LR 'sees' the folders it just doesn't acknowledge the templates - I tried it several ways but I've not had that issue before so will that sort itself when I get the serial number fixed?
    Thank you for any help or suggestions - hope you all have a good weekend :-)
    Lenny

    Hi Lenny, the two questions may be related but the trial is actually the same as the full version. I would suggest getting the serial number issue sorted out first. There have been known issues where a paid for product still shows up as a trial.There is not a lot the community can do. You need to contact Adobe directly using the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Lightroom
    2. Serial number issues or activating my product
    3. Click on the blue button: Still need help? Contact us – then click the button marked “chat now”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away.
    Click here to get help now Contact Customer Care

  • Query Design - Hierarchy Question

    Hi guys,
    I am making a query with Cost and Profitaccounts. All the accounts are listed up in a hierarchy.
    6>61>610, 6>61>611,6>62>621 etc
    Under each 3digit account we have vendor information.
    Now one users wants me to create a query that only shows the 1digit accounts with directly the vendor information underneath it.
    How do you do this?
    Thank you,
    Filip

    Hi Filip,
    if you want to display the 1 digit accounts then give the restriction by selecting it in the filter and give the range of fixed values.and if you want to display the heirarchial values then select the particualr dimension and right click and go to properties and select the hierarchy level and give for the display which node you want to display and hide the other fields by hiding them and you can gieve the selction also on hierarchy nodes by creating the hierarchy node variables.if this is not you are looking for exactly then post your question more clear way then we will help in resolving your issue.
    assign points if it helps.
    Regards,
    ashok.

  • Hierarchy question -- Can I insert more than one in a query?

    I have query where Iu2019m measuring sales across 5 divisions.  Sales are in the columns and the divisions are in the rows.  In the rows, I created a structure with 5 selections for each division.  Within each division, I need to insert a different hierarchy based on 0material.  Has anyone been successful with putting multiple hierarchies in a query?   Iu2019ve tried restricting each selection to their hierarchies but they arenu2019t displaying properly.

    statement.executeBatch() maybe?

  • Query design question - Adding Key Figures (NW04s)

    I have a simple query defined as follows:
    -- Rows:
    2 characteristics with result 'Always suppress'
    -- Columns:
    1 characteristic (posting period)
    1 Structure with 2 calculated key figures
    I want to add a formula that adds all the CKF's on each row and displays only once on the far right of row. Best method?

    Hi,
    You can go ahead with restrictions for keyfigures with two variables. One variable is for ready for input and another variable with customer exit which should pick the first month of the year entered in the previous variable.
    Ex: if a user enter a month for 02.2008, then the customer exit will pick the year based on the enterd month and finds first month of that year and display the data with month ranges.
    In the variable you have take value ranges.
    Reg
    Pra

  • Querying Hierarchy - Above + Below

    Hi,
    I have the following situation:
    I have a table HIERARCHY with the following fields:
    <PRE>
    CHILD PARENT          
    ===================
    100               
    101 100          
    102 101          
    103 102          
    104
    105 100          
    106 105          
    This is what I need :
    CHILD     PARENT     PATH      LEVEL
    =============================
    100 100 1
    101 100 100/101 2
    102 101 100/101/102 3
    103 102 100/101/102/103 4
    104 104 1
    105 100 100/105 2
    106 105 105/106 2
    Now, the important part is when I query on the above result for example "WHERE CHILD = 102", I should get the whole hierarchy (above + below).
    So the result would look like ...
    CHILD     PARENT     PATH      LEVEL
    =============================
    100 100 1
    101 100 100/101 2
    102 101 100/101/102 3
    103 102 100/101/102/103 4
    </PRE>
    Any idea how this can be achieved via SQL query....
    Thanks in Advance.
    Regards
    Pat

    Hi, Pat,
    It sounds like you want a to do a CONNECT BY query on the resuot set of a UNION of 2 CONNECT BY queries
    (1) a bottom-up query, of the ancestors of the target row
    (2) a top-down query, of the descendants of the target row
    WITH  universe  AS
        SELECT   child, parent
        FROM    hierarchy
        START WITH  child = :target_child
        CONNECT BY  child = PRIOR parent
            -- Bottom-up part (for target and its ancestors) is above
        UNION
            -- Top-down part (for descendants) is below
        SELECT  child, parent
        FROM    hierarchy
        START WITH  parent = :target_child
        CONNECT BY    parent = PRIOR child
    SELECT  child
    ,       parent
    ,       LTRIM (SYS_CONNECT_BY_PATH (child, '/'), '/')  AS path
    ,       LEVEL
    FROM    universe
    START WITH  parent IS NULL
    CONNECT BY  parent = PRIOR child
    ;I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data (if they are not the results you already posted).
    Always mention your version of Oracle.

  • How do I avoid ORA-01473 when querying hierarchial on tables with VPD predicates

    My question is how to circumvent what seems to be a limitation i ORACLE, if at all possible. Please read on.
    When using VPD (Virtual Private Database) predictaes on a table and performing a hierarchial query on that table I get the following error message:
    ORA-01473: cannot have subqueries in CONNECT BY CLAUSE
    My query may look like the folwing:
    SELECT FIELD
    FROM TABLE
    START WITH ID = 1
    CONNECT BY PRIOR ID = PARENT
    As my predicate contains a query in it self, I suspect that the implicit augmentation of the predicate results in a query that looks like:
    SELECT FIELD
    FROM TABLE
    START WITH ID = 1
    CONNECT BY PRIOR ID = PARENT
    AND OWNER IN (SELECT OWNER FROM TABLE2 WHERE ...)
    at least, when executing a query like the one above (with the explicit predicate) I get the identical error message.
    So my question is:
    Do you know of any way to force the predicate to augment itslef onto the WHERE-clause? I would be perfectly happy with a query that looks like:
    SELECT FIELD
    FROM TABLE
    START WITH ID = 1
    CONNECT BY PRIOR ID = PARENT
    WHERE OWNER IN (SELECT OWNER FROM TABLE2 WHERE ...)
    or do you know of any fix/patch/release to ORACLE that allows you to include subqueries in the CONNECT BY-clause and eliminates the error message?

    The WHERE clause or AND clause applies to the line directly above it. Please see the examples of valid and invalid queries below, which differ only in the placement of the WHERE or AND clause. If this is not sufficient, please provide some sample data and desired output to clarify what you need.
    -- valid:
    SQL> SELECT     empno,
      2            mgr,
      3            deptno
      4  FROM     emp
      5  WHERE     deptno IN
      6            (SELECT deptno
      7             FROM     dept
      8             WHERE     dname = 'RESEARCH')
      9  START WITH mgr = 7566
    10  CONNECT BY PRIOR empno = mgr
    11  /
         EMPNO        MGR     DEPTNO                           
          7788       7566         20                           
          7876       7788         20                           
          7902       7566         20                           
           800       7902         20                           
    -- invalid:
    SQL>
    SQL> SELECT     empno,
      2            mgr,
      3            deptno
      4  FROM     emp
      5  START WITH mgr = 7566
      6  CONNECT BY PRIOR empno = mgr
      7  WHERE     deptno IN
      8            (SELECT deptno
      9             FROM     dept
    10             WHERE     dname = 'RESEARCH')
    11  /
    WHERE      deptno IN
    ERROR at line 7:
    ORA-00933: SQL command not properly ended
    -- valid:
    SQL>
    SQL> SELECT     empno,
      2            mgr,
      3            deptno
      4  FROM     emp
      5  START WITH mgr = 7566
      6  AND     deptno IN
      7            (SELECT deptno
      8             FROM     dept
      9             WHERE     dname = 'RESEARCH')
    10  CONNECT BY PRIOR empno = mgr
    11  /
         EMPNO        MGR     DEPTNO                           
          7788       7566         20                           
          7876       7788         20                           
          7902       7566         20                           
           800       7902         20                           
    -- invalid:
    SQL>
    SQL> SELECT     empno,
      2            mgr,
      3            deptno
      4  FROM     emp
      5  START WITH mgr = 7566
      6  CONNECT BY PRIOR empno = mgr
      7  AND     deptno IN
      8            (SELECT deptno
      9             FROM     dept
    10             WHERE     dname = 'RESEARCH')
    11  /
    FROM       emp
    ERROR at line 4:
    ORA-01473: cannot have subqueries in CONNECT BY clause

  • Hierarchy questions

    I have 2 questions related to hierarchy :
    1. How do I assign a record say individual product record to an hirarchy e.g.
    All Product ->Electrical Products->Fan->4 blade fan , 230 V AC
                                                    ->Motors-> 3 phase induction motor , 415 V AC
                     ->Mechanical Products->Compressor-> 1000 cc air compressor
    2. Also how can i assign attribute to specific node of an hierarchy say Fan in this case .
    Guess above can be achieved using taxonomy  but how to do it in the hierarchy
    Can some one provide the steps , thanks

    Hi Amit,
    Replying to ur first query:
    This u can do in the hierarchy mode of the data manager.
    Note:Although you can view, add, edit and delete the records of a hierarchy table in <u>Record mode</u>, you should usually edit a hierarchy table in <u>Hierarchy mode</u> so that you can view and edit the hierarchical relationships in addition to the other fields of each record.
    MDM supports inner node assignments indirectly , while preserving the rule that a hierarchy lookup field be assigned only to a leaf node in the hierarchy – using an internal leaf node .
    You can then make inner node assignments to the parent by assigning records to the internal leaf – which acts as a proxy for the parent for assignment purposes – just as you would assign records to any other leaf node .
    When you use the Create Internal Leaf command to create an internal
    leaf for a parent node, MDM creates a duplicate of the parent node as
    its first child
    Steps:
    To create an internal leaf node for a hierarchy tree item:
    1. In the hierarchy tree, select the parent node for which you want to
    create an internal leaf.
    2. Right-click on the node and choose Create Internal Leaf from the
    context menu, or choose Tree > Create Internal Leaf from the main
    menu.
    3. MDM adds an internal leaf node named “[parent]” as the first child of
    the selected node.
    NOTE &#9658;&#9658; The name of the internal leaf node is the name of the
    parent node in square brackets ([]).
    NOTE &#9658;&#9658; You cannot edit the node name nor any of the fields of the
    internal leaf, which are auto-populated with the values of the parent
    when the internal leaf record is first created. This means that if the
    name of the parent changes, the internal leaf will continue to display
    the old parent name in square brackets.
    NOTE &#9658;&#9658; A normal leaf node cannot be converted into an internal
    leaf node nor can an internal leaf node be converted into a normal leaf
    node. Instead, you must create a second node, reassign records from
    the first node to the second node, and then delete the first node.
    Create Internal Leaf Constraints
    Operation Constraints
    Add
    Internal Leaf
    &#56256;&#56451; Must be in Hierarchy or Taxonomy mode
    &#56256;&#56451; Tree must have focus
    &#56256;&#56451; Exactly one node must be selected
    &#56256;&#56451; Root node cannot have internal leaf node child
    &#56256;&#56451; Node cannot be an alias
    &#56256;&#56451; Node cannot have an alias
    &#56256;&#56451; Node cannot have a matching set
    &#56256;&#56451; Node already has internal leaf
    &#56256;&#56451; Node is an internal leaf
    Please reward me with points if u find this information useful.
    Thanks & Regards
    Deepankar

  • Query panel questions?

    hi , i am using jdev11g r2, and ADF BC
    i can drag and drop the view criteria on a page as a query with table result, I can make query perfectly.
    my question is if I want to bold the lable of the criteria input fields in the af:query. How to do that, Thanks!
    Rgds!

    you have to use it like
    .label af|query::criterion-label{
    font-weight: bold;
    }and use the .criteria in ur af:query component like
    <af:query styleClass="label">for detailed information on how to use css changes refer
    Re: How to make panelHeader title to be in Red color.

  • Hierarchy Question

    Hello, I have a question regarding hierarchy. I want to download my hierarchy to an excel file. I found this one link that shows how to do that (http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?QuickLink=index&overridelayout=true&5003637719024) but it puts it in a flat file which does not make sense. is it possible t odownload it in Excel file in different cells that one can understand? Thanks.

    hi,
      Please see the below link that might be useful
    http://wiki.sdn.sap.com/wiki/display/BI/HierarchyDownloadto+Flatfile
    Also  you try t-code RSH1 and click on "print hierarchy", then will it show in excel, you cant download but you can print or take snapshot similar to excel view
    regards
    laksh

  • Query using Infoset (NW04s)

    I have an infoset based on a CUBE & DSO. I create a query on Infoset. The query uses 0GL_ACCOUNT and uses a hierarchy. In the query result, there are instances where the a G/L account amount does not roll up to the associated hierarchy node.
    Example
    GL Node 1 -
    $0.00
    GL Acct----
    $500.00
    I don't get this problem when I run a similar query on CUBE.

    Hi Rajesh,
    There will be two querry areas, check in which area you have created Infoset and user group. You will find the combination in relevant query area only.
    Two area are
    Standard Area (Client-specific)
    Global Area (Cross-client)
    Thanks
    ANAND K

  • Problem executing BEx query Hierarchy variable with default value

    My query has hierarchy variable on 0MOVETYPE char with a default value . The 0MOVETYPE variabale restriction is in Static filter area.
    I got timeout on query execution not because of amount of data but because of this hier. variable. Any ideas why?
    Notes:
    a) The hierarchy and the 0MOVETYPE characteristic are active and correct.
    b) I've tried RSRT check, but got the same timeout error.
    c) query executes fine on dev environment. I'm getting timeouts on PRD (as I say not because of amont of data)

    Hi,
    1. Try generating the report in RSRT and see if query runs correctly
    2. Looks like you are dafulating onto top node which contains whole data may be. This is not correct as it will definitely slow down the report based on amount of data it contains. Try to remove default and try first whether query is opening.
    3. You can put some lower level defualt to understand whether amount of data is the issue.
    4. Try to increase the server time out setting and see if it runs.
    Thanks and regards

  • Error in Save Query in BI NW04s

    Dear all,
    I'm able to execute query in new BI 04s environment, but when I save query (new query or modified existing query) I got error message "Program error in class SAPMSSY1 method UNCAUGHT_EXCEPTION".
    Could you help me for this ?
    I tried to search in SDN and OSS note but nothing related ...
    We're in BI NW04s SPS 10 ...
    Thx
    Regards,
    DI

    Hi DI,
    Seems like a problem with your frontend. Are you using the new BI2004s frontend. If so, also check if it is on SPS10. Check this link:
    Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation
    Bye
    Dinesh

  • MVA SQL Server Query Assessment question

    Hi Guys
    I was doing a course on MVA, Querying Microsoft SQL Server Quick Start. This question came up in the assessment:
    True or False: You use the INTERSECT operator to combine results from two SELECT statements. Only rows that appear in both results sets are displayed.
    I answered it as TRUE but it marked it wrong.
    Am I not right??
    Thanks

    Hi,
    Choose yourself :-)
    http://technet.microsoft.com/en-us/library/ms188055.aspx
    [Personal Site] [Blog] [Facebook]

Maybe you are looking for

  • BAPI_SALESORDER_CHANGE -Problem in Background

    Hi all, There is a requirement to change pricing conditions in Sales order.The pricing condition is based some values passed in tab additional data B. Am using the standard BAPI for modifying the value. But the changed pricing appears only when the S

  • Specifying the language of unknown audio tracks

    I've been using MTR and Handbrake to convert and import a couple of foreign TV series into iTunes.  I understand them just fine in their native language, but I wanted to keep the English dub so that others can enjoy it as well if they want to check o

  • Can't Locate Rendered Files

    Premiere Pro CC Macbook. I am around 2 minutes deep into a well polished project, When i opened the project, my latest rendered images weren't there. The entire project was still fully rendered but seemed to be a much earlier save than my last save.

  • Pagemaker 7.0

    I still use Pagemaker 7.0.  However, I just got a new computer and I don't have the CD to install it.  I originally downloaded 7.0 from the Adobe website, but they are telling me that it is no longer available for download.  They suggested that I see

  • Create Edit Delete in Oops ALV

    Hi Experts, I need to create an ALV which will provide all the functionality of Create, Edit, Save and Delete records and update the Custom table accordingly. I want to design it as follows - 1. Display should be in non-ediatble mode initially (becau