Parent of Top node is getting added as Orphan node

Hi ,
When I am trying to import the below test import file in DRM 11.1.2 -
[hier]
Product|P000000
[node]
P000000
[relation]
P000000|None|Total Product|True
the parent of top node P000000 which is 'None' as defined in System preferences , is getting added as an Orphan node. We dont want any orphan node to be created.
Can someone please help in avoiding this.
Thanks for the help in advance!!
Edited by: user10979332 on Jun 26, 2011 9:16 PM

Hello
Try to exclude the [relation] section:
[hier]
Product|P000000
[node]
P000000|Total Product|True
This will allow you to create the Hierarchy with TopNode and to fill the attributes of TopNode.

Similar Messages

  • Action Script to add a parent node value to the top node

    I need to add a new parent node value to a hierarchy for the top node.  The action script parameters to add a node is "Add|Version|Hierarchy|Node|Parent Node|Leaf property".  I am at a loss on what to do for the top node since there is no Parent Node above this top level, but the parameters require it.  I have reviewed both the user manual and admin manual, but did not find any assistance.  Can anybody help me?
    Thanks!

    You have the answer with you, don't get confused between Parent Node and Top Node in this context, while Adding a new node your Top Node will become your Parent Node.
    "Add|Version|Hierarchy|Node|Parent Node|Leaf property"
    If you still have confusion, simply do the below,
    1. Right Click on your Top Node and Add a new Leaf or Limb Node manually
    2. Once added, go back to Home -> Script
    3. Select Source Type as Transaction Log and then select the newly added node and Load
    4. In the bottom select Script -> Download -> Download as Action Script.
    5. Open in a Notepad and leverage it to create your new script.

  • Row getting added in the end of the scroll

    Hi -
    I am using a scroll area on a page on level 1. The issue iam encountering is that when ever i click the plus sign to add a second or third row (assume one record already exists in scroll 1) , the row gets added in the end of the scroll and also the fields are blank. However as delievered the new row should get added on the top of the scroll meaning 1 of 2 not 2 of 2, and also it should carry forward the values from the prior row. Please any suggestion or help is greatly appreciated.

    I figured it out. The reason it was happening was because, my scroll record had another key field after EFFDT and EFFSEQ, due to which the delivered copy forward logic for new rows in scroll did not work and the row was getting added in the end or after the first blank row always.

  • Data getting added in DSO

    Hi ,
    I am having DSO in which data is coming from cube .In transformation ( Cube --> DSO )  Rule Type EQ "Direct Assignment  & Aggregation EQ 'Overwite'  & there is no Start & End routine present .
    Cube Data
    Planning Area  Plant   Country Customer Group Chiild Material  Parent Material   Quantity
    xxx                    yy        z                ABC              100                     10                    250
    xxx                    yy        z                ABC              100                     20                    150
    xxx                    yy        z                ABC              100                     30                     50
    DSO Data  ( Planning Area,  Plant ,  Country, Customer Group, Chiild Material are Key Field  & Quanity is data field )
    Planning Area  Plant   Country Customer Group Chiild Material   Quantity
    xxx                    yy        z                ABC              100                  450
    Ideally when data flowing from cube to dso ,dso data should get overwrite if key field are same but in mine case quanity is getting added .I don't know  please guide me .

    Hi ,
          If you need different records in DSO as per  your example (without adding the parent material) ,then load two different plant values in the InfoCube and see the result. For example , load Plant '100' and Plant '200' into your InfoCube first and then load these two records into your ODS. The records will not get aggregated and you will find two records in your ODS .But if you want only the last record,then you may need to write routine in your update rules.
    Hope it clarifies your doubt.
    Thanks.

  • How to hide columns that are getting added dynamically to UI Element 'Table

    In SRM 7.0 while displaying a RFx, click on "responses and awards" button.
    In the response comparision tab once the user selects response number and clicks on "compare all responses".
    Item details table is displayed with fields item number,internal number,item description,........,Price etc.
    Requirement is  to hide the price column from the table.
    The UI element type is 'Table'.
    But the catch is there is no column price visible at layout design level.
    This field is getting added dynamically at run time.
    When i right click and see the 'more field help' at the front end i get the field id as 'GRP_1_COL_3_TXTV'.
    lo_table ?= view->get_element( id = 'ITEMS_TABLE' ).
    lo_column = lo_table->get_column( id = 'GRP_1_COL_3_TXTV').
    ASSERT lo_column IS NOT INITIAL.
    lo_column->set_visible( EXPORTING value = '01' ).
    I had written the above code in the pre-exit of WDDOMODIFYVIEW.
    But i am getting dump as assertion failed.it says no column by name 'GRP_1_COL_3_TXTV'.
    Please help me inhow to hide fields or buttons getting generated dynmically.
    Regards,
    Venkat Raghavan.

    Hi Anitha,
    What i understood from your question is,you want to control the table from your inputs.I have a one question for you what do you want to show defaultly i.e when you run the application what you want to show,either no table or table with some values.
    Any how i am giving solution in this way.
    If both inputs are given proper table output is displayed
    Write your below logic in the WDDOMODIFYVIEW )
    Here i am assuming that you already have a table element in the view.
    Get the values entered in the input fields and compare those 2 values ,if the condition is satisfied then bind the values which you want to show in the table to the context node.
    but if only 1 input is given a column is empty in the output table so i want to hide this column dynamically at runtime based on my inputs
    You are telling that you know the empty column.If so get the view element reference and use the REMOVE_COLUMN to remove the column.
    data:lr_table type ref to cl_wd_table,
           lr_column type ref to L_WD_TABLE_COLUMN.
    lr_table ?= view->get_element( 'TABLE1' ).
    CALL METHOD LR_TABLE->REMOVE_COLUMN
        EXPORTING
          ID          = 'TABLE1_color'
         INDEX      =
        RECEIVING
          THE_COLUMN = lr_column.
    i want to hide some empty rows also at runtime based on inputs.
    Removing the rows is very simple.if you know the key fields data of internal table from your input fields then do in this way.
    delete itab from wa where key1= "12" and key2="abd".
    Now bind the internal table to context node.
    LO_ND_hcm->BIND_TABLE(
          NEW_ITEMS            = it_final
          SET_INITIAL_ELEMENTS = ABAP_TRUE ).

  • How to identify the current lead selection is child or parent in rec node

    Hi
    I am using a recursive node to populate a table with TreeByNestingTableColumn as master column. Now my problem is how do I identify if the current selected row in the table is a child or parent? When I get the lead selection value, I find that its the same for the parent and the child. I am setting the isLeaf and hasChildren boolean properties appropriately as false and true for parent and true and false for child. But since the lead selection is returning the same the below rsTableElement always gives me the parent, I always get those parameter values as that of parent. I am writing this inside the onleadSelect event of the table.
    IRsTableElement rsTableElement = (IRsTableElement) wdContext.nodeRsTable().getElementAt(wdContext.nodeRsTable().getLeadSelection());
    In this scenario how do I know if the current selection is made on a child?
    Appreciate for all help and any code snippets.
    Thanks,
    KN.

    Hi KN,
    I guess you want to check if the node that you selected is parent or child.. This can be achieved by using getTreeSelection() method of IWDNode.
    If you write following code in your lead selection action, you can determine the if it is a parent or child node.
    wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeRsTable().getTreeSelection() +"");
    the output will be something like
    <ViewName>.RsTable.0.ChildRsTable.1.ChildRsTable.0.. depending upon which node you have selected.
    That way you can find out if it is a parent or child node.
    Abhinav

  • Programmatic, using bean add Parent and child nodes in af:tree dynamically

    Hi All,
    i have to add parent and child nodes dynamically in tree .
    Example :
    i have created a tree like below.On click of button i will get value A ,from pl/sql function i will A1 and A 2 values.which i have to show in pop as tree.
    A
    |-----A1
    |-----A2
    If user clicks on A2.I have to catch A2 value and pass to pl/sql function which gives A2.01 and A2.02 values.
    A
    |-----A1
    |-----A2
    |------A2.01
    |------A2.02.
    A, A1 ,A2,A2.01 ...........values comes from pl/sql funchtion .
    thanks in advance ......... any suggestion will greatly helps

    no use ......................

  • Function module to find the top node in the Profit Center standard hierarch

    Hi,
    Please let me know the function modules/Tables to do the following.
    1. To find the Top node in the Profit center standard hierarchy which is displayed via KCH6N Transaction.
    2. To read/retrieve standard hierarchy displayed in KCH6N Transaction.
    Thanks in Advance,
    Madhuri.

    Hi Madhuri ,
    have a look @<b>SETLEAF</b> or SET* in se11 , u can get the Top Node by putting the Logic like this
    ex: i am searching for Top Node of A3
    <b>select setname from setleaf where  valfrom eq 'A3'.</b>and for that selected setname u have to do one more
    loop.
    <b>select setname from setleaf where  valfrom eq 'A2'.</b>
    then only u will net Node A1.
    this is a sample code only , dont check F2.
    let me know if u want more inputs of Set Ids.
    regards
    prabhu
    [email protected]
    NjoySAP

  • D3L "produce" error: unable to find attribute object for top node

    Hi
    I'm new to this forum, hope someone can help me with this because it's really been causing a headache for a few days now.
    I'm trying to deliver a flat file message with an interconnect standard ftp adapter. All the transformations go well but then i get this error message:
    oracle.oai.agent.adapter.technology.D3LException: [SmartQueueDispatcher] <struct id="GallupData" name="" comment="" ...>: unable to find attribute object for top node, got `[  stationId: 01
    startDate: 040801
    (messsage truncated)
    emission: 1
    ]' instead
         at oracle.oai.agent.adapter.technology.D3L.produce(D3L.java:391)
         at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:876)
         at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:451)
         at java.lang.Thread.run(Unknown Source)
    The message is exactly 65570 bytes (in the format written to the log).
    Any help appreciated.
    Leon Simonsen

    I finally solved the problem: The name of the d3l xml file must be named with the name of the data type. Just thought i'd let anyone know.

  • Can't move Popup TitleWindow when it gets added to a canvas

    Hi,
    I've created a TitleWindow that gets popped up using
    PopUpManager. When this gets added to the Application.application,
    I can move this popup window around just fine (via mouse
    click-n-dragging the top part of the window). However, when I want
    to add this popup window as a child to a canvas (using addChild()),
    I can see the window on the canvas but I can't move the window
    around (seems to be static). I also can't close the window anymore
    as well. Is there something wrong?

    Maybe because Canvas is absolute layout.

  • Keywords don't get added in iMovie 09

    I have some events in my iMovie where I can't add keywords to video.
    I select the keyword tool, use the auto add feature (the cursor turns into a small key as usual) and when I drag the cursor over the video section, the keyword flies over it (as usual), but the keyword line doesn't appear on top of this video, and the keyword panel doesn't show that this portion has any keywords. Also the keyword filter doesn't find anything.
    Yet, I do have some events where keywords work. The video is from the same camera, and events are created in the same manner.
    I thought it could be an issue of Optimized video (AIC) vs Non-optimized video (Original MP4), but I converted the video segment to Optimized, and still keywords can't be added. The procedure works fine, as usual, but at the end, the keywords simply don't get added.
    I can do all the other stuff with these problematic videos, just not add keywords.
    I couldn't find anything related to keywords on the internet, so this forum is my last chance.

    Found the answer to my problem.
    http://support.apple.com/kb/HT1372
    Seems that Apple has been reading the Microsoft playbook and by providing a free "upgrade" to iMovie 09 from 08 has now removed the ability to import MPEG2 files directly...where previously you could.
    I can now pay to upgrade to '11 which claims to support MPEG2 on this camera. Has anyone else been down this road and paid to fix what Apple broke for free? Cost isn't the issue, just hoping to avoid the hassle of the upgrade to discover it won't work
    Thanks

  • Disable collapse of top-node.

    hi, i want the top-node to be collapsed at the start, but automatically, it starts expanded. thank for your helpings.

    If you have a single child node of the root node and then use setRootVisible(false) then you may get the effect you want.
    Cheers,
    Huw

  • I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    The following previous discussion has a solution that worked for a variety of people with the -1712 error on a variety of applications and may help: The application Safari can't be opened -1712

  • VALUES NOT GETTING ADDED IN JAVA DICTIONARY

    HIII ,
    AM DOING AN APPLICATION IN WHICH I AM TRYING TO INSERT VALUES IN A TABLE(CREATED THRU JAVA DICTIONARY), USING EJBS(ENTITY BEAN AND SESSION BEAN) AND COMMAND BEAN..AND WEBDYNPRO....
        AFTER DEPLOYMENT EVRYTHNG IS RUNNING FINE BUT VALUES NOT GETTING ADDED IN THE TABLE...
    THE CODE FOR THE "ADD" BUTTON IS :
    wdContext.currentEmp_cmdElement().modelObject().add(wdContext.currentEmp_cmdElement().getEmpno(),wdContext.currentEmp_cmdElement().getEmpname());
    THE CODE FOR ADD function IN COMMANDBEAN IS
    public void add(String empno,String empname){
              try {
                     local.createdata(empno,empname);
                   } catch (Exception e) {
                        e.printStackTrace();}
    PLZZ DO HELP OUT!!!

    The message in simple English just means that "You are doing something really bad" !!! It is absolutely not the communication problem, but understanding problem.
    Though you may be executing the same function using SE37 or in the webshop application through JCo, the runtime context is different and without knowing what exactly your Z rfc is doing, it is very difficult to help. To start with, the userid - that is who is running the RFC is different in both situations. In SE37, it is the logon user and in the web, depending upon whether the connection is stateless or stateful, it could be the anonymous ICSS user or the logged in user. Here again, if you have used UME, it is the user id and if you have used ALIAS user, then it is the alias user id. This is just an example. Your runtime context can be different due to many other reasons too.
    So, to make this simpler - what is that you are trying to do?
    BTW, try not to create multiple threads for the same issue..

  • Arrears amount not getting added to /559

    Dear Experts,
    We want to pay September’14 arrears, September’14 Leave Salary and October’14 salary to the employee.
    In system arrears and leave salary is calculated correctly also wage types are displaying in payslip as well as in RT tabel.
    But in T-code pc_payresult arrear  and leave salary amount is not getting added to the /559.
    Amount showing in /559 is only October’14 salary.
    We have checked all the processing classes and cumulation classes for all the wage types.
    Need your help to resolve this issue.
    We have attached screen shot for your reference.
    Thanks !!!!

    When talking about a Payroll problem, it is always useful to indicate what Country code is involved since Payroll may not work the same for all Countries.
    Your screen capture does not enable us to identify what WTs cumulate in /101 (Total gross), but if I substract /110 (Net deductions) from it the result is nearly the sum of /559 (Payment), which looks OK (the difference may be a WT that does not cumulate in /101 but impacts /559).
    Use t-code PC00_M99_DLGA20 to confirm if WTs 1003 and 4003 cumulate in /101.
    Are WTs 1003 and 4003 considered "Information WTs" for payments that must be done at a later date?

Maybe you are looking for

  • How can I access my purchase history on my iphone

    Can I find my Apple ID purchase history  on my iphone?

  • PS Elements 11

    PS elements 11 lässt sich nicht mit Win 8.1 öffnen. Über ein mit PSE11 bearbeitetes Bild öffnet sich das Program und funktioniert einwandfrei.

  • Firefox 31.0 (Macbook Pro) computer shuts down when Bing is accessed.

    On my Macbook Pro and Firefox 31.0 , Bing crashes, rolling a grey shade down my screen, forcing me to execute a complete shutdown (no other option) and restart. Also tried Firefox in safe mode with no success. So far this has only occurred with Bing

  • Batch processing of images..

    I know I saw this somewhere that if there are a large amount of images that need to have exposure adjustments (ie under/over expose in varying increments) that you can select those images and have them batched processed all at the sam adjusted exposu

  • Custom TrustManager called too often

    Greetings, I'm trying to write a custom TrustManager that will display a dialog to the user giving the opportunity to accept or decline certificates. My problem is that "isServerTrusted" gets called entirely too often for this to work as desired. Wha