Editing tree ui for MDM hierarchy tables in a WDJ aplication

Hi ,
We have a requirement where MDM hierarchy tables are displayed using a tree UI in WDJ application.
However, tree UI is used only for the display purpose. Is there anyway or any other UI available
using which we can achive edit option in the tree as well?
Not only this, we are supposed to provide functionality to support moves across the nodes of hierarchy.
Like PC move or SBU move from one hierarchy to another.
First of all, can we achive this in WDJ or MDM WebDynpro COnfigurator? If we can, then how? Any links or pointers for this?
Thank You,
Apoorva Dave

i think u can use the method addNodeType (IWDAbstractTreeNodeType nodeType, int index) to add/edit an element at a particular index in the tree.
but drag drop features i think are not supported in standard WD and u need to use a java script in the view to achieve this ?
thanks
-Adrivit

Similar Messages

  • Editing Tree UI for MDM Hierarchy tables ina WDJ application

    Hi ,
    We have a requirement where MDM hierarchy tables are displayed using a tree UI in WDJ application.
    However, tree UI is used only for the display purpose. Is there anyway or any other UI available
    using which we can achive edit option in the tree as well?
    Not only this, we are supposed to provide functionality to support moves across the nodes of hierarchy.
    Like PC move or SBU move from one hierarchy to another.
    First of all, can we achive this in WDJ or MDM WebDynpro COnfigurator? If we can, then how? Any links or pointers for this?
    Thank You,
    Apoorva Dave

    You could use a Tree UI element together with a detail view for editing the selected tree node. Or you could use a "TreeTable" which is a Web Dynpro Table with a TreeByNestingTableColumn.

  • MDM Hierarchy Table Into Tree (Java WebDynpro)

    Hello all,
                I have a requirement of showing a MDM Hierarchy Table into Tree UI element.
    These are the steps am following:
    1) MDM Connectivity
    2) Using RetrieveLimitedHierTreeCommand command to retrieve tree structure of the table
    3) Using getChildren() method of each node to get the children
    4) Made a tree ui element with a recursive node
    Now since the Hierarchy table can reach any level of nodes how do i write code for dynamic tree node/leaf generation?
    Please guide me through with detailed steps/code if possible?
    Regards,
    Yogesh Bhatia

    Hi Yogesh,
    After getting the HierNode you have to recursively populate the hierarchy tree using the below code:
      private void createHierarchyTree( parent_element, com.sap.mdm.data.HierNode HierNode)
         if(HierNode != null && HierNode .getChildren() != null)
              for(int iChildCount=0 ; iChildCount < HierNode .getChildren().length ; iChildCount++)
                   IPublic<comp name>.Iparent_element objTreeElement = parent_element.node<Recursive node name>().create<name>Element();
                   objTreeElement.setattr1(HierNode.getChildren()[iChildCount].getDisplayValue());
                   objTreeElement.setattr1_Recid(HierNode.getChildren()[iChildCount].getId().id);
                   parent_element.node<Recursive node name>().addElement(objTreeElement);
    // call the method recursively               
    createHierarchyTree(objTreeElement, HierNode.getChildren()[iChildCount]);
    This will populate the tree, you need to create an action in the tree view and link it to TreeNode Type action property using which you can get the selected value.
    Hope this helps!!
    Cheers,
    Arafat

  • SAP Netweaver MDM Hierarchy Table Type

    Good Day         
    We need to implement an MDM solution using Hierarchy tables.
    Where can i find a good tutorial on how to use MDM hierarchy table??

    Hi,
    You can find in SAP help portal..just browse saying SAP MDM reference guides!!
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/loio30bf76947bb64c48a2e835fda42c5183_30bf76947bb64c48a2e835fda42c5183/95/aff04a0aae4a3592fcb3e75869a90b/frameset.htm
    use SMP credentials
    Regards,
    Girish

  • MDM Hierarchy Table Into Tree UI Control in ABAP WebDynpro & MDM ABAP APIs

    Experts,
    I am a newbie to ABAP / MDM ABAP APIs. I am looking into the possibility of using Tree as as a UI control in a webdynpro abap application to represent hierarchy tables, perform hierarchy / taxonomy search, create and update records involving hierarchy fields, using MDM ABAP APIs.
    I would like to seek inputs to check whether and how, is it possible to use MDM ABAP APIs to:
    1. To perform taxonomy search on material table
    2. To Create material records in the main table involving taxonomy fields.
    3. To search on main table records using taxonomy attribute values as search parameters.
    4. To use Tree UI control with in WebDynPro ABAP, to peform above operations.
    We intend to use function modules - service calls from within WebDynPro ABAP applications, hence would like to know the feasibility, actual build effort and complexity of function modules.
    Inputs and advice on same will be highly appreciated and duly rewarded.
    Regards,
    Paras

    1. To perform taxonomy search on material table - if material table is of type Taxonomy then possible
    2. To Create material records in the main table involving taxonomy fields - possible . you create records in main table and assign value of field to that of taxonomy table entry
    3. To search on main table records using taxonomy attribute values as search parameters. - possiblr
    4. To use Tree UI control with in WebDynPro ABAP, to peform above operations. - yes possible
    dont mix between hierarchy table and taxonomy table
    they are diff in MDM , but it is possible to build UI with WD tree element for each of these types.
    all that you said are supported in ABAP APIs
    thanks
    -Adrivit

  • How to retrieve the data from MDM hierarchy table using MDM Java API

    Hi,
    I had a hierarchy table in MDM. This table had some column say x. I want to retrieve the values of this x column and need to show them in a drop down using MDM Java API.
    Can anyone help me to solve this?
    Regards
    Vallabhaneni

    Hi,
    Here is your code...
    TableId Hier_TId = repository_schema.getTableId(<hierarchy table id>);
    java.util.List list = new ArrayList();
    ResultDefinition Supporting_result_dfn = null;
    FieldProperties[] Hier_Field_props =rep_schema.getTableSchema(Hier_TId).getFields();
    LookupFieldProperties lookup_field = null;
    TableSchema lookupTableSchema = null;
    FieldId[] lookupFieldIDs = null;
    for (int i = 0, j = Hier_Field_props.length; i < j; i++) {
    if (Hier_Field_props<i>.isLookup()) {     
                                  lookup_field = (LookupFieldProperties) Hier_Field_props<i>;
         lookupTableSchema =repository_schema.getTableSchema(lookup_field.getLookupTableId());
                                  lookupFieldIDs = lookupTableSchema.getFieldIds();
         Supporting_result_dfn = new ResultDefinition(lookup_field.getLookupTableId());
         Supporting_result_dfn.setSelectFields(lookupFieldIDs);
         list.add(Supporting_result_dfn);
    com.sap.mdm.search.Search hier_search =new com.sap.mdm.search.Search(Hier_TId);
    ResultDefinition Hier_Resultdfn =     new ResultDefinition(Hier_TId);
    Hier_Resultdfn.setSelectFields(rep_schema.getTableSchema(Hier_TId).getDisplayFieldIds());
    ResultDefinition[] supportingResultDefinitions =
    (ResultDefinition[])list.toArray(new ResultDefinition [ list.size() ]);
    RetrieveLimitedHierTreeCommand retrieve_Hier_tree_cmd =
    new RetrieveLimitedHierTreeCommand(conn_acc);
    retrieve_Hier_tree_cmd.setResultDefinition(Hier_Resultdfn);
    retrieve_Hier_tree_cmd.setSession(Auth_User_session_cmd.getSession());
    retrieve_Hier_tree_cmd.setSearch(hier_search);
    retrieve_Hier_tree_cmd.setSupportingResultDefinitions(supportingResultDefinitions);
    try {
         retrieve_Hier_tree_cmd.execute();
    } catch (CommandException e5) {
              // TODO Auto-generated catch block
              e5.printStackTrace();
    HierNode Hier_Node = retrieve_Hier_tree_cmd.getTree();
    print(Hier_Node,1);
    //method print()
    static private void print(HierNode node, int level) {
    if (!node.isRoot()) {
         for (int i = 0, j = level; i < j; i++) {
              System.out.print("\t");
         System.out.println(node.getDisplayValue());
    HierNode[] children = node.getChildren();
    if (children != null) {
              level++;
    for (int i = 0, j = children.length; i < j; i++) {
    print(children<i>, level);
    //end method print()
    Best regards,
    Arun prabhu S
    Edited by: Arun Prabhu Sivakumar on Jul 7, 2008 12:19 PM

  • How to generate web services for MDM Taxanomy Tables?

    Hi Experts,
    I have a Taxonomy table called eClass in material repository which contains the Hierarchical data. The data[Attributes of this table ] can be seen only in Taxonomy Mode, I want to generate the web service using MDM Web Service Generator. The service should perform the CRUD operation over this table and retrieve the attributes. I generated the service for this table but I am not able to retrieve the attributes. Please help me out for this situations. Any pointers regarding this will be appreciated.
    Thanks & Regards
    Jeetendra

    Hi Jeethandra,
    Please refere to the below link might be some help.
    [http://help.sap.com/saphelp_mdmgds55/helpdata/en/45/069152856241e1e10000000a1553f6/frameset.htm]
    regards
    shankar

  • Develop MDM Heirarchy table using Webdynpro Tree

    Hi
    Can anyone let me know how i can build a MDM Heirarchy table using webdynpro tree.
    Thanks

    Can you be more specific? Is your problem with MDM or Web Dynpro? And what do you mean by "build an MDM Hierarchy Table"?
    Walter

  • Key Mapping in Hierarchy Table

    Hi,
         I have enabled the Key Mapping = Yes  for Hierarchy table. But when I imported the records to the Hierarchy table, I am not seeing any key mapping info for the Hierarchy table records. Any thoughts?. Key mapping does not work for Hierarchy tables?.
    Thanks
    Job.

    Hi Job
    Key mappings work fine with hierarchy table as well.What was the means of import for hierarchy table. If you have used a excel file and while connecting to Import manager which remote system you selected. If you have used MDM as remote system key mapping will be blank. we need to add the record key mappings. Select all the records in record mode for hierarchy table and edit key mappings.
    Also which mode you are ssing the records. This will not come in hierarchy mode, select record mode and check the edit key mapping functionality.
    Please award if useful.
    Regards
    Ravi

  • Table data getting locked for multiple user for a Z-table updation after EH4 to EHP6 Upgrade

    Hi,
    We have one new upgraded system at EHP6, earlier system was at EH4 where multiple user can Run one Z  T-code and can edit the entries for the Z-table.
    This Z-Tcode is calling SM30 internally for updating the Z-Table.
    Now in the upgraded system, when one user is into the transation code, and other user runs that T-code, systems throws a POP-UP mesg saying that the data is locked and can be displayed only(can not be edited).
    I have debugged the code in both the environment and found that there is one statement Call C_ENQUEUE ID < > field. for which the Sy_Subrc is coming as 2 in the upgraded system which is causing the issue, where as the sy-subrc is 0 in the system at EH4 level.
    Can any body tell me why this Z-tcode is not allowing to be accessed by multiple user at same time for Editing(updating the table) .
    Regards,
    Archana Jha

    Hi,
    When you create the lock object you can define the keys.
    and then you can use those in the ENQUEUE function.
    Regards.
    regards.

  • Can we import multiple language descriptions in Hierarchy tables of MDM

    Hello Experts,
    I am using MDM 7.1 SPS4 and working on the Vendor Repository standard content.
    My source file of Regions table contains data in multiple languages for each region record. All the required destination language fields have been mapped properly in the standard map. Import action is set to 'Create' for new records and 'Update Mapped only fileds' for existing records. Matching criteria has Name<English> filed defined in it.
    However, after importing these hierarchy records, in data manager only the Name description of English is populated while all other language descriptions for the same record is shown in Red (i.e not populated with the expected data).
    Is this a limitation of MDM itself or am I missing some setting?
    Thanks in advance,
    Elizabeth.

    Hi Elizabeth,
    steps for importing  into hierarchy tables
    To add new multilingual records:
    1 If necessary, create the hierarchy from the current language layer Name field that contains the hierarchy information (e.g. using the Split Hierarchy command).
    2Map the current language layer Name field and then Map/Add the entire set of hierarchy values.
    3 Map the other language layer Name field(s). No value mapping is necessary.
    4 Map the [Remote Key] field.
    5 Record match using: (a) the Name field; (b) the [Remote Key] field (if the Name field was not value mapped); or (c) the combination of both.
    To update the language layer of existing records:
    Map the other language layer Name field(s). No value mapping is necessary.
    Map the [Remote Key] field.
    Record match using the [Remote Key] field and set the import action to Update (All Mapped Fields).
    Just try and if you need any other info then please get back to me.
    Thanks,
    Sudhanshu

  • Extractor for Product Group/Member Allocation- hierarchy (table u2013 PGMI ).

    Hello experts
    I am looking for standard extractor for Product Group/Member
    Allocation- hierarchy (table u2013 PGMI on the ECC).
    Is there a standard extractor for product group-hierarchy?
    Best Regards,
    Tal Shalom.

    Hi Lory,
    I thought the document contained an explanation of remote key mapping. Obviously it doesn't, sorry.
    Setting up remote key mapping is a bit complicated.
    First of all go to the MDM console and check your product category field in the main table (catalog items). Is key mapping set to "yes"?
    then go to the data manager and switch to the table containing the product categories in record mode. Right click on any entry and check the remote key data. Are remote keys available for your product categories. I assume that there are no remote keys available - this is the reason the system behaves as you describe it.
    Setting up remote keys for existing product categories AFAIK can only be done manually in Data Manager. Alternatively you can delete your hierarchy and create it once more, creating remote keys for every entry in the table. You can chose any remote system, it just has to be the same all the time.
    In import manager you have to clode the code field of your product category (basically the material group number) and assign it once to the product category in MDM and once to the remote key.
    Be sure to check your configuration in MDM Import Manager, the entry "Do not update record matching field value" needs to be set to no. Otherwise no remote keys are created.
    Now you can import your categories creating your hierarchy, as usual. The remote keys are created automatically.
    You should assign remote keys to all fields that should be matched in a similar way, UOM, currency etc.
    Hope you could follow this brief version.
    Best regards,
    Marcus

  • ALV TREE FOR 3 internal table

    Hi ,
    I want to display report output in the form of ALV tree.
    Since I have data in 3 internal table for each hierarchial level, I can't use ALV hierarchial sequential list .
    Please guide me how to implement the same.
    Please share sample code other than SAP code if any.

    Hi Navdeep,
    You have to use class CL_GUI_CUSTOM_CONTAINER to create three different containers.
    A reference code on below link :-
    [http://wiki.sdn.sap.com/wiki/display/ABAP/TREE+ALV]
    Regards
    Abhii

  • Use MDM java Api for saving an image to mdm image table

    Hi experts
    I want to save an image from web dynpro java to MDM image table using java Api's
    Can anyone provide a code snippet .
    I am using MDM 7.1 sp6.
    Thanks and regards
    Suresh

    Hello Suresh
    Unfortunatly, this is no possible, i mean, to load images to mdm repository through JAVA API.
    Sure you can do it directly to database ( but for that you need to do saome investigation)
    Here you can found JAVA API classes for MDM:
    http://help.sap.com/javadocs/MDM71/
    Next two classes are working with BLOBs (pdf, images, video, etc.) in MDM repository:
    com.sap.mdm.blobs
    com.sap.mdm.blobs.commands
    Regards
    Kanstantsin chernichenka
    Edited by: kanstantsin_ch on Sep 8, 2011 2:36 PM

  • How to create editable tablecells for a single table row dynamically?

    Hi
    How to make the cell of a tablerow editable based on flag in backing list object bound to row? I can't decide the editable property while creating table columns. So i can't use setCellFactory() during creation. However setCellFactory() makes all cells in table column editable.How to make non-editable table row cell editable and vice-versa based on flag?

    hi
    good
    if you want to create two different view for a same table than you cant give the same name for the same view,otherwise it would allow you to create the view.Try out with different view name as well as the function group name,i hope this ll work.
    thanks
    mrutyun^

Maybe you are looking for

  • Satellite L850 - after 1 year of usage battery runs out quickly

    Hi, through programs such as care or BatteryBar battery battery I see a Toshiba Satellite L850 *battery wear from 48%* currently. I notice that playing a game the battery runs out quickly, as the warm up by a lot, and often descalibra and behaves err

  • Moving items in a Content Area/folder

    We're building a portal as a pilot project. I have a folder containing several url links that are currently sorted alphabetically. I want to specify the order, but I can't... they don't have the "move" icon showing. How do I turn this option on/off.

  • Combining form files

    I have 286 separate pdf form files that I need to combine to one pdf file so that I can export the text into a spreadsheet. Problem is that when I combine the files, Acrobat replaces the data on the forms with the data from the first file. For exampl

  • Nikon Lense compatibility

    My D40X pooped out and I want to buy a D5100 (body Only).  Will my lenses and speedlight work with the 5100?  I have a Nikon ED AF-S Nikkor 70-300 1:4.5-5.6G and a Nikon DX AF-S Nikkor 18-55 1:3.5-5.6 G II ED lense.  Also:  Nikon SB800 speedlight. So

  • Erro in MIGO

    Hi, I am doing MIGO  with reference of purchase order and getting error. Sales price for  000000000000000694   could not be found     Message no. M7158 Diagnosis     The sales price valuation is active in the valuation area.     The system could not