DSO or ODS "Insert New Hierarchy Nodes" under Data Fields

When you insert info objects under the Data Fields in DSO right mouse click on the Data Fields icon and you will find Insert New Hierarchy Nodes . I created a hierarchy node with infoobjects associating with it which will be visible under the Filters Folder in BEx Query designer as a seperate folder. I can add them to the infoobjects from this folder into the query. I did not know how to apply this functionality in Queries and what it really does. My guess was you can create dynamic hierarchy using characteristic infoobjects from transactional data.Any ideas or links to documentation. This option was available from 7.X in DSO's and i think even in 3.x ODS.

Hi,
May help you:----
http://help.sap.com/saphelp_nw70/helpdata/en/4a/e71f39488fee0ce10000000a114084/content.htm
You could feel the flexibility of using this hierarchial display in the Query. Try to create any Query on this DSO.
Regards,
Suman

Similar Messages

  • Insert new hierarchy nodes for key figures

    Hi All,
    In BI 7.0. when you right click on the key figure folder , you get an option called " insert new hierarchy node". Can anyone please explain what is this feature for. Is is just for reporting purpose where you can drill down for a particular key figure for more clarity. Thanks in advance.
    Regards,
    Satish

    Hi,
    This is for reporting purpose.
    For example you have four key figures which consists the "TOTAL DEMAND".
    Suppose TOTAL DEMAND = Purchase Requistion + Planned Order + Purchase Order + Production Order
    We may provide hierarchy on TOTAL DEMAND, so that in display you may expand TOTAL DEMAND. When expanding TOTAL DEMAND it will show all four key figures with the total numbers in TOTAL DEMAND.
    You may refer follwoing document as well.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c6e6ed94-0501-0010-2886-b6944515cfd9
    I hope it will help.
    Thanks,
    S

  • XML Forms Builder: Sorting news based on a date field in a XML form

    Hi Experts
    I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
    The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
    The users who post the news in our portal needs the information to be sorted based on a date field shown.
    Thank you
    Best regards
    Ramamoorthy D

    Hi Experts
    I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
    I removed the property link from the screen field Input field.
    Thank you
    Best Regards
    Ramamoorthy D

  • Authorization to new hierarchy node (Profit center) in 3.5 Transaction code

    Dear Colleagues,
    I have an autorization problem that I wish you can help me with.
    I have a (3.5) profit center hierarcy with authorizations on each node. These were made a long time ago by another consultant. Suddenly we have an additional node in the hierarchy (a new region). How do I give authorizations for this new node? Which transaction codes do I use, and how? I am a little bit familiar with PFCG, and have just briefly seen RSSM and SU01. But I can't see where I add authorization functionality yo the new node, and then give it to the user.
    Will sign points!
    Regards Silje

    Look in RSSM to find out what your authorization object is for Profit Center.
    Then lookup the roles that use this Profit Center authorization object -- Not sure how to do this because I usually know the roles I create!  Ask the security or basis team for help if you can't find them.
    Look at those roles and get an idea of how they are used ... In some cases you can group together values and use a wildcard to select a whole group.  Such as, if I have profit centers ABC, ACD, ADE and BAC, I can select the group A* to only allow access to the profit centers starting with A.  This person will not have access to the BAC profit center.
    So, try to figure out how the other consultant assigned the profit centers, then add your new one in in the same way.
    Brian

  • Insert New Record in Master Data by Code

    Hi guys,
    I need to insert a new value in an infoobject by code creating:
    1 new record in table P (data not time dependent)
    1 new record in table S (SID table)
    This code could be executed by many tasks in parallel and so it could create problems of concurrency in writing and in quality of the value of new SID selected.
    The first question is:
    THERE IS A STANDARD CODE THAT INSERT A NEW RECORD ALSO CREATING SIDS, managing concurrency in writing and reading?
    The second (if not answer to first)
    This is a part of my code (draft)... any suggestions:
    insert into TABLE P
    INSERT INTO /bic/pzck9idfl VALUES st_p_zck9idfl.
    IF sy-subrc = 0.
    FLAG = 1.
    WHILE FLAG = 0.
        SELECT MAX( sid )
        INTO v_sididfl
        FROM /bic/szck9idfl.
        ADD 1 TO v_sid.
    *record for SID table
        st_zck9idfl-sid = v_sid.
        st_zck9idfl-/bic/zck9idfl = v_idfl.
        st_zck9idfl-chckfl = 'X'.
        st_zck9idfl-datafl = 'X'.
        st_zck9idfl-incfl  = 'X'.
    insert record in SID Table
        INSERT INTO /bic/szck9idfl VALUES st_zck9idfl.
        COMMIT WORK AND WAIT.
    IF Sy-subrc = 0.
    SELECT SINGLE FROM /bic/szck9idfl
    WHERE SID = v_SID
    AND /bic/zck9idfl NE v_idfl.
    IF Sy-SUBRC = 0.
    FLAG = 1.
    ELSE.
    FLAG = 0.
    ENDIF.
    ELSE FLAG = 1.
    ENDIF.
    ENDWHILE.
    Thanks and points to helpful answer!
    ciao
    C@f

    Hi Claudio,
    I would not recommend to do this. Please have a look for standard fm to that job of have a look into the class library to find some methods. On the first look at your code here my comments:
    SELECT MAX( sid )
    INTO v_sididfl
    FROM /bic/szck9idfl.
    ADD 1 TO v_sid.
    Not a pretty good idea, as there is a number range object for getting a sid for each infoobject. If you get your sid like this, all later standard postings will fail with 'duplicate records'.
    *record for SID table
    st_zck9idfl-sid = v_sid.
    st_zck9idfl-/bic/zck9idfl = v_idfl.
    st_zck9idfl-chckfl = 'X'.
    st_zck9idfl-datafl = 'X'.
    st_zck9idfl-incfl = 'X'.
    if you mark all these flags with 'X' you will tell the system that this record is used somewhere in masterdata or in a datatarget and you cannot delete it with standard methods.
    regards
    Siggi

  • IC Webclient - Creating new context node

    I am trying to add a new Myfavorites functionality in AUISearch.htm (Inbox Search View). While creating a new context node under SearchAuiItems using the Wizard the following attributes have been entered:
    Attrib. Name - FavoriteName
    BOL Entity - BTQueryAUI
    BOL Attrib - FAVNAME
    and after confirming I get a popup for entering the 'Name of the Derived Class'. When I enter a class (ZXXXX) which isnt existing I get a short dump.
    The current ABAP program "CL_BSP_WD_ENHANCEMENT_API=====CP" had to be terminated because one of the statements could not be executed. 
    My questions are:
    1. Is this the right way of creating a new context node under an existing standard view?
    2. Has anyone come across a similar short dump?

    It sounds like when it askes for a derived class, that the it wants a class that inherits from some SAP class.  I would assume that this derivied class is something you must create to handle the processing of your additional nodes.

  • Reg Data fields in DSO

    Hello SAP Guru's!!!!
    I have some doubt on maximum number of data fields in DSO. I gone through so many threads on SCN, but could not clarify my doubt.
    The max no of key fields in DSO is -- 16
    Max no of data fields in DSO is --749.
    But i read in some of the scn documents  a table can have maximum 256 columns .
    DSO is also like a two dimensional table which can also have the same properties of a two dimensional table.
    if the above statement of mine is correct.. the number of columns in a DSO is 256 columns = 16(primary key)+240 (data fields--non key fields)
    but how come 749 data fields (max) will be there ? if it is so ... the max no of  fields will be  749+16 = 765.
    I need some clarification on this ....
    Awaiting for your responses!!!!
    regards,
    vamshi

    Hi Rajavamshi,
    For DSO:
    1. See for Standard DSO we have Key fields & Data Fields will be there
    2. Key Fields will store only Characterisitc Info Objects, maximum no.of characteristic info object we can add here was 16
    3. But in Data fields we can add both Characterstics & Keyfigure infoobjects, Max of 749 data fields we can add here.
    4. Atleast one field should be there in either Key fields & Data fields.
    For InfoCube :
    1. Info cube structure will be having the 16 Dimensions and the Key Fields.
    2. In that 16 Dimensions 13 User defined and the 3 pre defined dimensions.
    3. One user defined Dimension will maximum can hold 248 Characteristics Info Object, not the Keyfigure Info Object here.
    4. But the Key Fields here will store maximum will hold 233 Key Figure Info Object.
    Thanks..!!
    Regards,
    Harish. K

  • Key Fields and Data Fields in ODS

    Hi Guru's ,
    Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
    Thanx in Advance.

    Hi Pradeep,
    An ODS’ key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
    For example, you have the following key fields:
    Doc No, Doc line item (item no in the doc) and you load the following data:
    Doc# Item# Amount CALDAY
    1234  1        100       26.09.2005
    1234  1        150       27.09.2005
    1234   2        300      27.09.2005
    1235   1        400      27.09.2005
    The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
    What I said is true if for Amount key figure the ‘Add’ option is set.
    But if you set an ‘Overwrite’ option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
    But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
    So, ODS’ key fields choice and KFs settings are very important for data aggregation in the ODS.
    Best regards,
    Eugene

  • Insert timestamp into a Date field.

    Hi anyone knows if I insert a timestamp into a date field, will it sort according to the date field if I use an sql statement to sort the data?

    Your question is quite unclear, it sounds like you have two questions:
    1. Can I insert a timestamp into a date field (in the database?)?
    2. Can I sort my sql statement using the date field?
    Is this what you are asking? If not, please clarify.

  • Number of records under a hierarchy node

    Hi,
    Does anybody know of an easy way to measure the complexity of a hierarchy node (e.g number of entries below and depth)? I looked in the Hierarchy table but it does not seem too simple to analyze. This is for some performance tuning issue.
    Thanks a lot,
    Patrick

    Hi Patrick,
    I know you can use the data manager tool and check in there under either the free form search or the field search to find the records for each hierarchy.
    -Dave

  • Use of filters and aggregations based on hierarchy nodes in an update rule

    Hello,
    I need to calculate some indicators from a ODS (BW 3.5) that contain raw data to another one that will contain indicators. These figures are the results of the use of filters and aggregations based on hierarchy nodes (for example: all sales accounts under a node).
    In fact, this is typically a query but I want to store these figures, so I need
    I understood I have to use a start routine. I never did that before.
    Could you provide me with easy-to-understand-for-newbies examples of:
    - filtering data based on the value of an infoobject (value must be empty, for example)
    - filtering and aggregation of data based on the appartenance to hierarchy nodes (all sales figures, ....)
    - aggregation of the key figures based on different characteristics after filtering of these
    Well, I am asking a lot ...
    Thank you very much
    Thomas

    Please go through the following link to learn more on aggregates:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e55aaca6-0301-0010-928e-af44060bda32
    Also go through the very detailed documentation:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
    Regards,
    Mahesh

  • Behaviour of GL Accounts in Hierarchy Nodes

    Hi experts,
    We have a BI report on Financial statement version. We have a hierarchy used on GL Account.
    In the hierarchy in a node, suppose in the node Assets some gl accounts are maintained.
    And another node Liabilities some gl accounts are maintained.
    But few gl accounts are maintained in both the nodes i.e assets and liabilities.
    In the BI report output, the balance against  these gl accounts is coming under both nodes Assets and Liabilities.
    But the requirement is if the balance against a GL account is Negative then it should be displayed only under Liabilities node and
    if the balance against the gl account is postive then it should be displayed only under Assets node.
    It should be displayed in either Asset node or in Liability node depending on the sign of the Balance.
    We have only some GL accounts like this.
    Please provide some inputs to solve this.
    Regards,
    smitha.

    Hi All,
    Thanks for the reply. I have loaded the data into the cube 0figl_c10. Installed the virtual cube 0figl_v10 and also the query
    0FIGL_V10_Q0001( Bal.Sheet and Profit and Loss (New):Actual/Actual Comparison ) from BI content. Extracted the hierarchies
    for the infoobject 0GLACCEXT.In this hierarchy for some gl account in the field BAL_DEPEND ( Balance Dependency of a
    Hierarchy Node ) the value is maintained as "1" "Suppress Balance if Positive" for some gl accounts and "2" "Suppress Balance
    if Negative" and blank "No Balance Dependency" for some gl accounts.
    We have a gl account 60380 for this gl, in the bal dependency field the value is maintained as 1 in Assets and 2 in Liabilities(
    coming from R/3).
    This gl is maintained both in assets and liabilities. I executed the report.
    In a business area in a period the value for this gl is both +ve and -ve. But actually assets should show only +ve values and
    liabilities should show only negative values.But this gl account is appearing in the node "Assets" only and the balances have
    both the values i.e +ve and -ve.
    As per the setting in the field BAL_DEPEND i.e 1 in Assets, the postive values should be suppressed.
    But it is not suppressing the postive values. It is showing both the values under only assets node.
    I changed the bal depedencey value to 2 in the assets to see whether it suppresses -ve values but also it is not suppressing.
    Any solution or explanation ?
    Regards,
    smitha.

  • Insert new line type at ctrl break in Smartforms

    Hi Guys
    I am developing a timesheet in smartforms.
    In the Smartform my table contains data for two weeks, but I need to bifurcate it on a weekly basis. So when the form starts I print e.g Weekly record:- 01.01.08 to 01.07.08
    Now I want that as soon as the control reaches 01.08.08 A new line type should get inserted saying
                  Weekly record:- 01.08.08 to 01.14.08
    Please guide me how this can be done.
    Thanks a lot.

    Create your internal table in such a way that it contains the data as per your printing requirement.
    E.g.
    01.01.08   01.07.08    XXX.XX   123.45
    01.08.08   01.14.08    XXX.XX   123.45
    Now, if your smartform just create a table node under the MAIN window and prints this values.
    Regards,
    Naimesh Patel

  • Inserting new records into database table at runtime

    Hi all ,
    How to insert new records into database table at runtime on click update?
    Thanks.

    Hi Sasikala,
    Just for your understanding am giving a sample code snippet which you can use to read the contents of your Table UI element & save the data on to your database. Suppose you have a button up on pressing which you want to read the data from your screens table & save on to the database then you can proceed as shown below:
    1) Obtain the reference of your context node.
    2) Fetch all the data present in your table into an internal table using methods of if_wd_context_node
    3) Use your normal ABAP logic to update the database table with the data from your internal table
    In my example I have a node by name SFLIGHT_NODE and under this I have the desired attributes from SFLIGHT. Am displaying these in an editable table & the user would press up on a push button after making the necessary changes to the tables data. I would then need to obtain the tables information & save on to the database.
    data: node_sflight           type ref to if_wd_context_node,
            elem_sflight           type ref to if_wd_context_element,
            lt_elements            type WDR_CONTEXT_ELEMENT_SET,
           stru_sflight           type if_main=>element_sflight_node,
           it_flights             type if_main=>elements_sflight_node.
    "   navigate from <CONTEXT> to <SFLIGHT_NODE> via lead selection
        node_sflight_node = wd_context->get_child_node( name = 'SFLIGHT_NODE'  ).
       lt_elements = node_sflight->get_elements( ).
    "   Get all the rows from the table for saving on to the database
        loop at lt_elements into elem_sflight.
          elem_sflight->get_static_attributes( importing static_attributes = stru_sflight ).
          append stru_sflight to it_flights.
        endloop.
    " Finally save the entries on to the database
        modify ZSFLIGHT99 from table it_flights.
        if sy-subrc eq 0.
    endif.
    However a word of caution here.... SAP doesn't ever recommend directly modifying the database through an SQL query. You would preferably make use of a BAPI for the same. Try go through Thomas Jung's comments in [here|modify the data base table which is comming dynamiclly;.
    Regards,
    Uday

  • Hierarchy node variable: select multiple values at once

    Dear,
    We have a hierarchy node variable (Multiple single values, optional) on profit center. If I launch this query in the BEx, it is possible to enter multiple single values in one go. However, on the web, it is required to insert a new row for each extra value the we want to select. However, when selecting a filter value on the web, it is possible to select several values at once (by checking a checkbox).
    Is it possible to select several values at once in the selection screen on the web for this variable?
    Thank you!

    we recently had the same requirement and posted the question at SAP. their reply was : this is not possible. even through the exit it was not possible, due to the logic of the sql select when executing the query, it seems.
    concerning the fact if this would be possible in a near future, there was no reply
    M.

Maybe you are looking for

  • Internal server reporting not working in Cap 7.0.1

    I am running Captivate 7.0.1 on a Mac and am having problems with the internal server reporting option. I have a project that is published as both an SWF and HTML5 output file. When I view the published project via SWF, the project reports fine. When

  • Library Corrupted -- Restore form Backup Loop

    Greetings: I recently upgraded to iPhoto 9.1.1 and now am in the following problem loop: - When I first started iPhoto 9.1.1 I got the message that my iphoto library was corrupted and that I shoudl restore from backup. - Restored from time machine ba

  • Unsharp Mask

    I have Photoshop Elements 10 on my Mac Mini, and the unsharp mask feature, which originally worked fine, no longer works. When you click on it all you get is a little square that replaces the curser and doesn't do anything, while most of the menu bar

  • Disable Line wrap in Terminal

    How do you disable line wrap in bash? As in $ls -la or mysql> select * from db; displaying exceedingly lengthy data. Or perhaps readline options to disable wrapping? May be just a horizontal scroll bar in Terminal?

  • Enhancement MEREQ001 problem

    We are upgrading from 4.6B to ECC5.0. To get rid of MODS we wanted to use PReq enhancement MEREQ001. The scenario is that we want to change the Preis(Std price) field of an item for a certain condition on PReq creation. We included this enhancement i