RE: Regarding : Creation of child nodes in a outlinefield

Hi, Balasubramaniam:
Try to set the isFolder attribute of your parent display node to TRUE.
This may solve your problem. Also, check isFilled attribute of display
node, you might find the answer.
Hope this helps.
Tien Wang
Indus Consultancy Services
http://www.indcon.com
Phone 201.261.3100 x233
Fax 201.261.1399
E-mail : [email protected]
-----Original Message-----
From: owner-forte-users [SMTP:[email protected]]
Sent: Friday, October 03, 1997 5:32 PM
To: '[email protected]'
Subject: Regarding : Creation of child nodes in a outline field
Hi,
I am facing a few problems in creating a child node. I read elements =
from an array to populate the outline field. The array has exact =
definitions as to what should be a parent and child respectively. While =
I am able to create nodes at the parent level, I am unable to create =
child nodes for any parent. I discovered that the value for the parent =
node is getting lost. I have tried to use some of the methods to arrive
=
at the parent node, but to no anvil. Could some one suggest how exactly =
to get the value of the parent node so that the child node can be =
assigned to the parent.
Thanks In advance.
Balasubramaniam Sures
[email protected]
P.S : I have seen the examples Simple Outline field and File Browser. No
=
clues from here.

I take it that you are traversing through the array and loading each
element into the OutlineField. At the risk of stating the obvious, for
each element you must also identify it's parent. This is necessary to
set the relationship from the child to the parent or vise versa.
If you are already doing this and are still having difficulty, the
problem may be as simple as setting the IsFolder property of the parent
node. Unless this is done, it's child nodes will not be visible.
Van Vuong
Lead Technical Analyst
Office: 972.985.5289
VoiceNow: 972.330.0822
Internet: [email protected]
PAGE NET
From: bala[SMTP:[email protected]]
Sent: Friday, October 03, 1997 12:32 PM
To: '[email protected]'
Subject: Regarding : Creation of child nodes in a outline field
Hi,
I am facing a few problems in creating a child node. I read elements from an
array to populate the outline field. The array has exact definitions as to
what should be a parent and child respectively. While I am able to create
nodes at the parent level, I am unable to create child nodes for any parent.
I discovered that the value for the parent node is getting lost. I have
tried to use some of the methods to arrive at the parent node, but to no
anvil. Could some one suggest how exactly to get the value of the parent node
so that the child node can be assigned to the parent.
Thanks In advance.
Balasubramaniam Sures
[email protected]
P.S : I have seen the examples Simple Outline field and File Browser. No
clues from here.

Similar Messages

  • Regarding : Creation of child nodes in a outlinefield

    Hi,
    I am facing a few problems in creating a child node. I read elements from an array to populate the outline field. The array has exact definitions as to what should be a parent and child respectively. While I am able to create nodes at the parent level, I am unable to create child nodes for any parent. I discovered that the value for the parent node is getting lost. I have tried to use some of the methods to arrive at the parent node, but to no anvil. Could some one suggest how exactly to get the value of the parent node so that the child node can be assigned to the parent.
    Thanks In advance.
    Balasubramaniam Sures
    [email protected]
    P.S : I have seen the examples Simple Outline field and File Browser. No clues from here.

    I take it that you are traversing through the array and loading each
    element into the OutlineField. At the risk of stating the obvious, for
    each element you must also identify it's parent. This is necessary to
    set the relationship from the child to the parent or vise versa.
    If you are already doing this and are still having difficulty, the
    problem may be as simple as setting the IsFolder property of the parent
    node. Unless this is done, it's child nodes will not be visible.
    Van Vuong
    Lead Technical Analyst
    Office: 972.985.5289
    VoiceNow: 972.330.0822
    Internet: [email protected]
    PAGE NET
    From: bala[SMTP:[email protected]]
    Sent: Friday, October 03, 1997 12:32 PM
    To: '[email protected]'
    Subject: Regarding : Creation of child nodes in a outline field
    Hi,
    I am facing a few problems in creating a child node. I read elements from an
    array to populate the outline field. The array has exact definitions as to
    what should be a parent and child respectively. While I am able to create
    nodes at the parent level, I am unable to create child nodes for any parent.
    I discovered that the value for the parent node is getting lost. I have
    tried to use some of the methods to arrive at the parent node, but to no
    anvil. Could some one suggest how exactly to get the value of the parent node
    so that the child node can be assigned to the parent.
    Thanks In advance.
    Balasubramaniam Sures
    [email protected]
    P.S : I have seen the examples Simple Outline field and File Browser. No
    clues from here.

  • Regarding creation of node element

    Hi
    i hav a doubt regarding creation of node element. u can create new node element using method create(cn)Element available either directly from wdContext or from wdContext.node(cn) where cn is any context node.
    can any one plz explain me what's the difference between two.
    does it has any thing to with node being singelton or non-singelton?
    also can anyone explain me the difference between add and bind method.
    thanks.

    hi
    good
    Data Binding Methods
    If a property can, or must be bound to the context, the respective bind and bound methods are available.
    ●     The bind methods bind the value of a property to the context element specified by the path.
    The name of the method is created according to the following pattern:
    BIND_<runtime name of the property>.
    Example: table, property: design, method: BIND_DESIGN.
    &#9679;     The bound methods return the path of the context element to which a property is bound and return NULL if no binding exists.
    The name of the method is created according to the following pattern:
    BOUND_<runtime name of the property>.
    Example: table, property: design, method: BOUND_DESIGN.
    ADD METHOD->
    Two add methods that add an element.
    &#9675;     If only the element is transferred as parameter, then the element is added at the and of a list
    &#9675;     If an index is transferred as well, then this element is transferred at the specified index position.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/18b44145143831e10000000a155106/content.htm
    thanks
    mrutyun^

  • Dynamic creation of ItemListBox and binding a child node

    Hello @all,
    I have the following context structure
    root
    --category
    -- --report
    -- -- --id
    -- -- --name
    -- --id
    -- --name
    the parent node is "category" with attributes "id" and "name" and the child node is "report" with "id" and "name".
    Now I want on an onAction-Event of a Button, that for every category an itemListBox will be created with the according report names. the creation of the itemList is not the problem, but the binding of the datasource and/or the descriptivetext.
    my code:
    public void initItemListBox( )
        //@@begin initItemListBox()
        IWDView view = wdContext.currentContextElement().getSelectView();
        IWDGroup group = (IWDGroup) view.getElement("ItemListGroup");
        if (group.hasChildren())
          group.removeAllChildren();
        for (int i = 0; i < wdContext.nodeCategory().size(); i++)
          ICategoryElement catEl = wdContext.nodeCategory().getCategoryElementAt(i);
          wdContext.nodeCategory().setLeadSelection(i);
          generateItemLists(wdContext.currentContextElement().getSelectView(), wdContext, catEl);
        //@@end
    public void generateItemLists( com.sap.tc.webdynpro.progmodel.api.IWDView view, de.mgi.portaldev.bc.mdw.msi.wdp.IPrivateCRSReportView.IContextNode wdContext, de.mgi.portaldev.bc.mdw.msi.wdp.IPrivateCRSReportView.ICategoryElement category )
        //@@begin generateItemLists()
        //    ItemListBox
        IWDGroup group;
        IWDGroup catGroup;
        IWDLabel label;
        String groupId = "group_" + category.getName();
        catGroup = (IWDGroup) view.createElement(IWDGroup.class, groupId);
        IWDMatrixLayout matrLayout = (IWDMatrixLayout) catGroup.createLayout(IWDMatrixLayout.class);
        String labelId = "label_" + category.getName();
        label = (IWDLabel) view.createElement(IWDLabel.class, labelId);
        label.setText(category.getName());
        IWDMatrixData layout = (IWDMatrixData) label.createLayoutData(IWDMatrixData.class);
        layout.setVAlign(WDCellVAlign.TOP);
        String itemListId = "itemList_" + category.getName();
        IWDItemListBox itemListBox = (IWDItemListBox) view.createElement(IWDItemListBox.class, itemListId);
        label.setLabelFor(itemListId);
        IWDMatrixData itemlayout = (IWDMatrixData) itemListBox.createLayoutData(IWDMatrixData.class);
        itemListBox.bindDescriptiveText("crsReporting.category.report.name");
        IWDNodeInfo reportNodeInfo = category.nodeReport().getNodeInfo();
    //    itemListBox.bindText(reportNodeInfo.getAttribute("name"));
        itemListBox.setVisibleItems(5);
        IWDMatrixHeadData matrixHead = (IWDMatrixHeadData) itemListBox.createLayoutData(IWDMatrixHeadData.class);
        IWDAction itemListAct = (IWDAction) wdThis.wdGetItemSelectAction();
        itemListBox.setOnLeadSelect(itemListAct);
    //    itemListBox.bindDataSource(reportNodeInfo);
        itemListBox.bindDataSource("crsReporting.category.report");
        catGroup.addChild(label);
        catGroup.addChild(itemListBox);
        group = (IWDGroup) view.getElement("ItemListGroup");
        group.addChild(catGroup);
        //    END ITEMLIST
        //@@end
    What am I doing wrong? in every ItemListbox there are only the report names of the last category.
    thanks.

    RowRepeater is available in WD Java since NW CE (7.1). With RowRepeater, the solution is trivial and can be done completely by declaration in view designer.
    In earlier releases, you can solve it as follows (non-trivial)
    - For each category, create a separate context node "Category_i" with an attribute "name"
    - Inside each category node, create a non-singleton node "Reports" with an attribute "name"
    - Foreach report, add a node element to the reports subnode of its category node <b>element</b>
    All this has to be done using the generic context API.
    On each change of the data, reset the context and re-create these nodes.
    In wdDoModifyView(), check if data have changes and create UI elements programmatically.
    - For each category, create a group, bind header text to category name.
    - Inside each group, create a ItemListBox, bind "dataSource" to reports sub-node of category (non-singleton!) and bind "text" to text attribute of report node.
    Sample code:
    To build context structure:
    private void createCategories()
        for (int i = 0; i < 3; ++i)
          IWDNodeInfo categoryNodeInfo = wdContext.getNodeInfo().addChild("Category" + i, null, true, CMICardinality.ONE, CMICardinality.ONE, true, null);
          IWDAttributeInfo att = categoryNodeInfo.addAttribute("name", "ddic:com.sap.dictionary.string");
          IWDNode categoryNode = wdContext.getChildNode(categoryNodeInfo.getName(), 0);
          categoryNode.getElementAt(0).setAttributeValue(att.getName(), "Category #" + i);
          IWDNodeInfo reportNodeInfo = categoryNodeInfo.addChild("Reports", null, false, CMICardinality.MANY, CMICardinality.ZERO_TO_ONE, true, null);
          IWDAttributeInfo attReportName = reportNodeInfo.addAttribute("name", "ddic:com.sap.dictionary.string");
          IWDNode reportNode = categoryNode.getChildNode("Reports", 0);
          for (int j = 0; j < 5; ++j)
            IWDNodeElement report = reportNode.createAndAddElement();
            report.setAttributeValue("name", "Report #" + j);
    To recreate UI:
    if (<data_have_changed>)
          IWDTransparentContainer root = (IWDTransparentContainer) view.getRootElement();
          for (int i = 0; i < 3; ++i)
            IWDNode categoryNode = wdContext.getChildNode("Category" + i, 0);
            IWDAttributeInfo attName = categoryNode.getNodeInfo().getAttribute("name");
            IWDGroup group = view.createElement(IWDGroup.class);
            root.addChild(group);
            IWDCaption header = view.createElement(IWDCaption.class);
            group.setHeader(header);
            header.bindText(attName);
            IWDNode reportsNode = categoryNode.getChildNode("Reports", 0);
            IWDAttributeInfo attReportName = reportsNode.getNodeInfo().getAttribute("name");
            IWDItemListBox list = view.createElement(IWDItemListBox.class);
            group.addChild(list);
            list.bindDataSource(reportsNode.getNodeInfo());
            list.bindText(attReportName);
    Armin
    Fixed code tags

  • Regarding DataNodeInfo(DisplayList.DynamicNode):unknown child node ACTION

    hi everyone
    I am facing such problem while working with dynamic elements the exception I am getting is as follows:com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(DisplayList.DynamicNode): unknown child node ACTION

    Hi Sumit
    I have pasted my code below:
    public static void wdDoModifyView(IPrivateDisplayList wdThis, IPrivateDisplayList.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         try
         IWDMessageManager msgMgr = wdThis.wdGetAPI().getComponent().getMessageManager();
              int intCat = wdContext.nodeField_Catalog_Disp1_Out().size();
              int intList = wdContext.nodeWeb_Table_Disp1_Out().size();     
              int intSelection =  wdContext.nodeSelectionNode().size();
    String selc_field=wdContext.currentReportTypeElement().getName();
    wdContext.currentContextElement().setField_selection("Selection Fields: "+selc_field);
              IWDTable theGrp = (IWDTable)view.getElement("Table2");
              theGrp.setSelectionMode(WDTableSelectionMode.NONE);
              theGrp.setFooterVisible(false);
              theGrp.setDesign(WDTableDesign.ALTERNATING);
                        theGrp.setReadOnly(true);
                             if(firstTime)
                             IWDNodeInfo node = wdContext.nodeDynamicNode().getNodeInfo();
                             for(int i=0;i<intCat;i++)
                                  wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("intcat"+intCat);
                                  //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("i"+i);
                                  node.addAttribute(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname(),"com.sap.dictionary.string");
                                  IWDTableColumn tabCln = (IWDTableColumn)view.createElement(IWDTableColumn.class,"Cln_"+wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname());
                                  IWDCaption clnCpt = (IWDCaption)view.createElement(IWDCaption.class,"hd_"+wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname());
                                  clnCpt.setText("");
                                  clnCpt.setText(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getHeading());
                                  IWDTableStandardCell tblStdcell = (IWDTableStandardCell)view.createElement(IWDTableStandardCell.class,"stdCell_"+wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname());
                                  IWDTextView txtHeader = (IWDTextView)view.createElement(IWDTextView.class,"Header_"+wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname());
                                  txtHeader.setText(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getHeading());
                                  txtHeader.setDesign(WDTextViewDesign.HEADER3);
                                  tblStdcell.setEditor(txtHeader);
                                  tblStdcell.setCellDesign(WDTableCellDesign.GROUP_LEVEL2);                              
                                  tabCln.addFixedTopCell(tblStdcell);
                                  IWDTextView clnTce = (IWDTextView)view.createElement(IWDTextView.class,"tce_"+wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname());
                                  clnTce.bindText("DynamicNode."+wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(i).getFieldname());
                                  clnTce.setWrapping(true);
                                  tabCln.setTableCellEditor(clnTce);
                                  theGrp.addColumn(tabCln);IWDTable table = (IWDTable) view.getElement("Table2");
                                  wdContext.currentContextElement().setTableSorter(new TableSorter(table, wdThis.wdGetSortAction(), null));
                             IWDTransparentContainer theTarnsDisp = (IWDTransparentContainer)view.getElement("TransparentContainer_3");
                             //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("intsel"+intSelection);
                             for(int k =0;k<intSelection;k++)
                                  //node.addAttribute("Disp_"+wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getName(),"com.sap.dictionary.string");
                                  IWDTextView clnTxt1 = (IWDTextView)view.createElement(IWDTextView.class,"Disp1_"+wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getName());
                                  clnTxt1.setText(wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getName()+ " : ");
                                  clnTxt1.setDesign(WDTextViewDesign.HEADER3);                              
                                  clnTxt1.setWrapping(true);
                                  IWDTextView clnTxt2 = (IWDTextView)view.createElement(IWDTextView.class,"Disp2_"+wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getName());
                                  clnTxt2.setText(wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getValue1());
                                  if(("".equals(wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getValue2())))
                                       clnTxt2.setText(wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getValue1());                         
                                  if(!"".equals(wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getValue2()))
                                       clnTxt2.setText(wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getValue1()" - "wdContext.nodeSelectionNode().getSelectionNodeElementAt(k).getValue2());                         
                                  clnTxt2.setWrapping(true);
                                  IWDGridData gridLayout1 = (IWDGridData)clnTxt1.createLayoutData(IWDGridData.class);
                                  gridLayout1.setWidth("5%");                              
                                  gridLayout1.setPaddingBottom("3");
                                  IWDGridData gridLayout2 = (IWDGridData)clnTxt2.createLayoutData(IWDGridData.class);                              
                                  gridLayout2.setPaddingBottom("3");     
                                  theTarnsDisp.addChild(clnTxt1);
                                  theTarnsDisp.addChild(clnTxt2);
                        //          wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("first ck in end of for");
                             }//end of intselection for loop                              
                             wdContext.currentContextElement().setModifyFlag(false);     
                        //     wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("first check aftr for1");
                        //}//end of intcat for loop
                        //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("first check aftr for2");
              //}// if first time ends
    //          second chk
                        //                 wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("second check");
                   if(wdContext.currentContextElement().getModifiedFlag())
                             String strLine = "";
                             int intLine =0;
                             Collection col = new Vector();
                             IWDTextAccessor textAccessor = wdThis.wdGetAPI().getComponent().getTextAccessor();
                             String strLan = textAccessor.getText("TXT_LAN");
                             if("EN".equalsIgnoreCase(strLan))
                        for(int j=0;j<intList;j++)
                             IDynamicNodeElement dynObj = wdContext.createDynamicNodeElement();
                             strLine = wdContext.nodeWeb_Table_Disp1_Out().getWeb_Table_Disp1_OutElementAt(j).getTline();
                             intLine = strLine.length();
                             strLine = strLine.substring(1,intLine-1);
                             for(int k=0;k<intCat;k++)
                                  Integer startIntger = Integer.valueOf(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getStartpos());
                                  Integer lengthIntger = Integer.valueOf(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getLength());
                                  int start = startIntger.intValue();
                                  int length = lengthIntger.intValue();
                                  String strVal = strLine.substring(start,start+length);
                                  if(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getDatatype().equalsIgnoreCase("DATE"))
                                       try
                                            String strdate ="";
                                            String strFmt = "";
                                            if("YYYY/MM/DD".equalsIgnoreCase(wdContext.currentUser_ProfileElement().getDatefmt()))
                                                 strFmt = "yyyy/MM/dd";
                                            else
                                                 strFmt = "MM/dd/yyyy";
                                            SimpleDateFormat ch1 = new SimpleDateFormat("yyyyMMdd");
                                            //SimpleDateFormat ch2 = new SimpleDateFormat("yyyy-MM-dd");
                                            SimpleDateFormat ch2 = new SimpleDateFormat(strFmt);
                                            strVal = strVal.trim();
                                            if(!"".equals(strVal))
                                                 strdate = ch2.format(ch1.parse(strVal));     
                                            dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),strdate);
                                       catch(Exception e)
                                            //     msgMgr.reportException(e.getLocalizedMessage(), false);
                                            //     msgMgr.reportException(e.getMessage(), false);
                                            //     msgMgr.reportException(e.toString(), false);
                                  else if(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getDatatype().equalsIgnoreCase("QUAN"))
                                       Double dblVal = null;
                                       DecimalFormat sdf = new DecimalFormat("#,###.000####");
                                       dblVal = new Double(strVal);
                                       dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),sdf.format(dblVal.doubleValue()));
                                  else
                                       dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),strVal);
                             col.add(dynObj);
                        }// for ends
                             else
                                  for(int j=0;j<intList;j++)
                                       IDynamicNodeElement dynObj = wdContext.createDynamicNodeElement();
                                       strLine = wdContext.nodeWeb_Table_Disp1_Out().getWeb_Table_Disp1_OutElementAt(j).getTline();
                                       intLine = strLine.length();
                                       strLine = strLine.substring(1,intLine-1);
                                       String[] strArr = strLine.split("#");
                                       for(int k=0;k<intCat;k++)
    //                                        Integer startIntger = Integer.valueOf(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getStartpos());
    //                                        Integer lengthIntger = Integer.valueOf(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getLength());
    //                                        int start = startIntger.intValue();
    //                                        int length = lengthIntger.intValue();
    //                                        String strVal = strLine.substring(start,start+length);
                                            String strVal = strArr[k];
                                            if(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getDatatype().equalsIgnoreCase("DATE"))
                                                 try
                                                      String strdate ="";
                                                      String strFmt = "";
                                                      if("YYYY/MM/DD".equalsIgnoreCase(wdContext.currentUser_ProfileElement().getDatefmt()))
                                                           strFmt = "yyyy/MM/dd";
                                                      else
                                                           strFmt = "MM/dd/yyyy";
                                                      SimpleDateFormat ch1 = new SimpleDateFormat("yyyyMMdd");
                                                      //SimpleDateFormat ch2 = new SimpleDateFormat("yyyy-MM-dd");
                                                      SimpleDateFormat ch2 = new SimpleDateFormat(strFmt);
                                                      strVal = strVal.trim();
                                                      if(!"".equals(strVal))
                                                           strdate = ch2.format(ch1.parse(strVal));     
                                                      dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),strdate);
                                                 catch(Exception e)
                                                      //     msgMgr.reportException(e.getLocalizedMessage(), false);
                                                      //     msgMgr.reportException(e.getMessage(), false);
                                                      //     msgMgr.reportException(e.toString(), false);
                                            else if(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getDatatype().equalsIgnoreCase("QUAN"))
                                                 Double dblVal = null;
                                                 DecimalFormat sdf = new DecimalFormat("#,###.000####");
                                                 dblVal = new Double(strVal);
                                                 dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),sdf.format(dblVal.doubleValue()));
                                            else
                                                 dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),strVal);
                                       col.add(dynObj);
                                  }// for ends
                        wdContext.nodeDynamicNode().bind(col);
                        if(wdContext.nodeDynamicNode().size()==0)
                             wdContext.currentContextElement().setDownLoadHide(WDVisibility.NONE);
                        else
                             wdContext.currentContextElement().setDownLoadHide(WDVisibility.VISIBLE);                    
                        wdContext.currentContextElement().setModifiedFlag(false);
                 }// if ends
         catch(Exception e)
              wdThis.wdGetAPI().getComponent().getMessageManager().reportException("Error Occurred in WdDoModifyView Method of DisplayList View. Please contact System Administrator"+e,false);
         finally
        //@@end
    Thanks & Regards
    Jaspreet Kaur

  • Problem with childs nodes and automatic key mapping in a Data Object

    Hi experts!
    I'm doing the service order tutorial from the mobile help at [this link|http://help.sap.com/saphelp_nwmobile71/helpdata/en/21/9b5b924c3b434fba4767731794b029/frameset.htm] and I have a problem...
    In the topic "Modeling the Equipment Data Object", says you have to mark the "Automatic Key Mapping" checkbox. So when I had to create a third child node ( the location node ) the system raised an exception with the message "Deselect automatic key mapping flag for more than two-level nodes". I'm trying deselecting the flag and creating the location node, but when I want mark again the automatic key mapping flag, this is disabled.
    What can I do to solve this and create the three child nodes with the flag marked? It's a configuration thing?
    Any help it's very welcome. Thanks in advance.
    Best regards,
    Simon.

    The thing is: Its not allowed to use automatic keymapping if you have more than two levels. This is why the message showed up, and this is why its been disabled.
    What automatic keymapping does: Figures out automatically which child node belongs to which parent (by guessing from the field name and type, which fields in the child correspond to which key fields of the parent).
    On three levels, this becomes more complicated => Its disabled.
    How to do keymapping yourself instead of having the DOE do it automatically: Do 'Explicit keymapping' from each child to its parent. Explicit keymapping is done by clicking on the corresponding menu button in the child node. Here you need to associate child node fields (they need not be key fields of the child, but they are allowed to be that as well) to each of its parent nodes key fields (so that each child can be associated to its parent).
    Cheers

  • How do I create multiple types of child nodes in ADF  Faces Tree Component

    Hi,
    I am trying to construct a tree using ADF Faces. The tree I am trying to develop should look something like:
    - Departments
    + Dept 10
    + Dept 20
    + Dept 30
    + Dept 40
    - Employees
    + SCOTT
    +ALLEN
    + BLAKE
    The nodes shown at the top level should serve as labels, indicating the various types of nodes available.
    I have created the top level RootLabelsViewObj, with a SQL clause:
    select rn, node_label
    from (
    select 1 rn
    , 'Employees' node_label
    from dual
    union all
    select 2 rn
    , 'Departments' node_label
    from dual
    union all
    select 3 rn
    , 'Bonusplans' node_label
    from dual
    I have created ViewLinks between the RootLabelsViewObj and the DeptView and EmpView respectively (created on top of DEPT and EMP table in SCOTT schema), based on the LABEL attribute in the RootLabelsViewObj and with ViewLink SQL specified like:
    :Bind_NodeLabel = 'Departments' for the link with DeptView and :Bind_NodeLabel = 'Employees' for the link with EmpView.
    In the ADF BC Application Module Tester, I get exactly what I want.
    However, when I create a JSF JSPX page and drag the RootLabelsViewObj from the Data Control Panel to the page as ADF Tree, I run into a little issue: it seems like I cannot create a second Branch Accessor rule for the RootLabelsViewObj1: I have created a first Branch Accessor Rule referring to DeptView and now try to create a second one for EmpView, to allow Employees to be displayed under the root label "Employees" - but I cannot.
    The PageDefinition looks like:
    <tree id="RootLabelsViewObj1" IterBinding="RootLabelsViewObj1Iterator">
    <AttrNames>
    <Item Value="Rn"/>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <nodeDefinition DefName="model.RootLabelsViewObj"
    id="RootLabelsViewObjNode">
    <AttrNames>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <Accessors>
    <Item Value="DeptView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="model.EmpView" id="EmpViewNode">
    <AttrNames>
    <Item Value="Ename"/>
    </AttrNames>
    </nodeDefinition>
    <nodeDefinition DefName="model.DeptView" id="DeptViewNode">
    <AttrNames>
    <Item Value="Deptno"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Does anyone know:
    - whether it is possible (intended) to have more than one branch accessor per node (i.e. more than one type of child under a node in the tree)
    - if so, how this can be achieved?
    Right now it looks like I am limited to each node in the tree having only one type of child node.
    Please tell me I am wrong.
    best regards,
    Lucas

    Give this a shot mate
    event.getNativeEventTarget();That will allow you to access the DOM object directly
    Id can be retrieved via
    event.getNativeEventTarget().id;

  • How to add a button in the child node of the Tree Table?

    Hi All,
    I am having a requirement to create a tree table and it should have a delete button to each child node (screenshot attached).
    Can anyone provide me a sample for how to implement this.
    Thanks in Advance
    Aravindh

    Hi Aravindhan,
    Try something like this:
    var ttDesvios = new sap.ui.table.TreeTable();
      var cbDesviacion = new sap.ui.commons.CheckBox();
      ttDesvios.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Col1"}),
      template: new sap.ui.commons.Label({text: "Info"}),
      width: "50px",
      ttDesvios.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Action"}),
      template: new sap.ui.commons.Button({text: "Delete"}).bindProperty("visible", "pathPropertyChild", function(value){
              if(value .............){ return true;} //For child
              else{ return false;} //For parent
      width: "160px",
    Regards
    EDIT: Wrong paste code, that's better!

  • Dynamic creation of context nodes and ui elements

    Hi,
    I have created context nodes dynamically. And i also want to create UI elements dynamically wherein i want to bind the attribute from the context node to it. For example i want to create a drop down by index and bind one of the attributes in the context nodes that i have earlier created dynamically to it.  I do not know how to get the path to the attribute as i get IF_WD_CONTEXTNODE_INFO when i say get_child_node(). And the IF_WD_CONTEXTNODE_INFO does not have any method where in i can get IF_WD_CONTEXT_NODE from where i can get the path by get_meta_path( )
    Here is the code. The problem is to get the path which is the i/p to cl_wd_dropdown_by_idx=>new_dropdown_by_idx( ) method.
    DATA:
            lo_root_ui_elmnt              TYPE REF TO cl_wd_uielement_container,
            lo_drpdwn_by_idx              TYPE REF TO cl_wd_dropdown_by_idx,
            lo_txt_vw                     TYPE REF TO cl_wd_text_view,
            lo_qstn_node                  TYPE REF TO if_wd_context_node,
            lo_optn_node_info             TYPE REF TO if_wd_context_node_info,
            lv_optn_data_source_name      TYPE string,
            lt_child_nodes                TYPE wdr_context_child_map,
            lo_qstn_el                    TYPE REF TO if_wd_context_element,
            lo_optn_el                    TYPE REF TO if_wd_context_element,
            lv_text                       TYPE string,
            lo_qstn_node_info             TYPE REF TO if_wd_context_node_info.
      FIELD-SYMBOLS:
    *                 <ls_qstn>    LIKE LINE OF wd_this->mt_questions.
                    <ls_child_node>         LIKE LINE OF lt_child_nodes.
      lo_root_ui_elmnt ?= io_view->get_root_element( ).
      lt_child_nodes = wd_context->get_child_nodes( ).
    LOOP AT lt_child_nodes ASSIGNING <ls_child_node>.
       lo_qstn_node = <ls_child_node>-node.
        lo_qstn_el = lo_qstn_node->get_element( index = 1 ).
        lo_qstn_el->get_attribute(
              EXPORTING
                name = 'QUESTION_TEXT'
               IMPORTING
                 value = lv_text ).
        lo_txt_vw =   cl_wd_text_view=>new_text_view( view = io_view ).
        lo_txt_vw->set_text( value = lv_text  ).
        lo_qstn_node_info = lo_qstn_node->get_node_info( ).
        lo_optn_node_info = lo_qstn_node_info->get_child_node( 'OPTIONS' ).
    *    lv_optn_data_source_name = lo_optn_node_info->get_meta_path( withoutcontroller = abap_true ).
    *    CONCATENATE lv_optn_data_source_name '.' 'OPTION_TEXT' INTO lv_optn_data_source_name.
        lo_drpdwn_by_idx = cl_wd_dropdown_by_idx=>new_dropdown_by_idx(
                              bind_texts = lv_optn_data_source_name
                              view       = io_view ).
        lo_root_ui_elmnt->add_child( lo_txt_vw ).
        lo_root_ui_elmnt->add_child( lo_drpdwn_by_idx ).
      ENDLOOP.
    Regards,
    Madhura Lobo
    Edited by: Suhas Saha on Aug 2, 2011 11:04 AM

    Hi Madhura,
    Please check this thread and find Baskaran answer...
    create new child-node in supply-function
    Re: Creating Dynamic Node and Table
    Cheers,
    Kris.

  • Check the value of attribute of a child node in datatype xmltype.

    Hello,
    I have a xml stored in column having datatype as "XMLTYPE"
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Settings>
      <Setting Name="A1" Value="N"/>
      <Setting Name="A2" Value="N"/>
      <Setting Name="A3" Value="SOMEVALUE"/>
      <Setting Name="A4" Value="N"/>
      <Setting Name="A5" Value="Y"/>
      <Setting Name="A6" Value="N"/>
    </Settings>I do not want to loop into each child node. But want to find out if the value of setting A5 is Y or N? Is there a way I can find that without doing the extract of "Setting" child node and then looping each node to find the value?
    Regards,

    You didn't specify your version of Oracle so here are two options. If 10.2 or greater, use XMLTable, else use the ExtractValue option.
    -- The WITH simply simulates your existing table that I do not have.
    WITH fake_tab AS
    (SELECT XMLTYPE('<?xml version="1.0" encoding="ISO-8859-1"?>
    <Settings>
      <Setting Name="A1" Value="N"/>
      <Setting Name="A2" Value="N"/>
      <Setting Name="A3" Value="SOMEVALUE"/>
      <Setting Name="A4" Value="N"/>
      <Setting Name="A5" Value="Y"/>
      <Setting Name="A6" Value="N"/>
    </Settings>
    ') tab_col
      FROM dual)
    -- For 10.2 and higher use this SELECT
    SELECT a5
      FROM fake_tab,
           XMLTABLE('/Settings'
                    PASSING fake_tab.tab_col
                    COLUMNS
                    a5   VARCHAR2(10)  PATH 'Setting[@Name="A5"]/@Value');
    -- For 10.1 and before
    SELECT ExtractValue(tab_col, '/Settings/Setting[@Name="A5"]/@Value')
      FROM fake_tab;

  • Context Mapping: child-nodes of non-mapped parent nodes

    I am somewhat curious about Context Mapping in WebDynpro.
    Which parents nodes need to be mapped in order to map child nodes ? Does a child node has more than one parent node (e.g. grandparent - two steps above) ?
    A.1  -
    MAPPED----
    >    B.1
      - A1.1   NOT MAPPED
      - A1.2   NOT MAPPED
            - A.1.2.1     MAPPED TO>    B.1.2.4
            - A.1.2.2   NOT MAPPED
      - A1.3   NOT MAPPED
    Is it sufficient that only one of these parent nodes (e.g. direct parent node not mapped, but parent node of this parent node is mapped) need to be mapped so that the child node can be mapped ?
    Is this assumption true or not ?
    The SAP library states:
    "Conversely, child nodes of non-mapped parent nodes cannot be mapped, otherwise this would result in irresolvable conflicts at runtime with respect to the parent-child relation in the context and the mapping relation." (http://help.sap.com/saphelp_nw04/helpdata/de/51/a3384162316532e10000000a1550b0/content.htm)
    This statement is not absolutely clear on this issue.

    Let me put it this way
    You have a node vehicle and you have a child node for that the car. The car node have parameters car1, car2.
    Let the vehicle node have parameters veh1 and veh2
    Then if you map vehicle node one to any other node (say in the comp. controller) you have the option of mapping its children i.e veh1,veh2 and carnode.
    You can have that veh1 is mapped and veh2 is not mapped.
    vehicle node(mapped)
    veh1(may or may not be mapped)
    veh2(may or may not be mapped)
    car node(may or may not be mapped)
    If instead you try to map only the car node the vehicle node will also get mapped automatically but not it's child parameters like veh1 and veh2.
    vehicle node(mapped)
    veh1(may or may not be mapped)
    veh2(may or may not be mapped)
    car nodemapped)
    car1(may or may not be mapped)
    car2(may or may not be mapped)
    Hope this would help.
    Do revert for further clarification
    Regards
    Noufal

  • How To Display  attributes of Child Node and Parent Node in same view

    Suppose I have two view Carview and CarDetail View...IN Component context I have Parent Node Called Cars and It have its attribute as Price,Warranty,Year and also One Child Node Called as Brand Name Whose attribute are PrimaryBrand and SecondaryBrand..Now If I do Mapping of My First View i.e CarView with Child node of BrandName..and then I Have To Show Whole Detail of Car in CarDetailView.......How Can I Achieve it..

    Hi Vinay,
    You can map the child node and even the paren tnode to the same view if u want to display in the same window..
    If not if ur requirment is to dispaly in the sme view but should not map the child and parent to the Same view then you can take another new view.. and insert 2 view containers and then add the Child view and parent view in that view containers and then Diaplay the newly created view.
    Regards,
    Raju Bonagiri

  • Is it possible to put two different colors in tree parent node background and child nodes background?

    Is it possible to put two different colors in tree parent
    node background and child nodes background?
    Any help will be very helpful.
    Thanks

    Hi PanosE,
    Yes, you can set up another Standard Edition Server in child domain and then deploy pool pairing.
    You need to deploy a new Front End Pool for the new Standard Edition Server.
    A similar case for your reference.
    https://social.technet.microsoft.com/Forums/office/en-US/eca4299c-8edb-481e-b328-c7deba2a79ba/lync-2013-standard-edition-lync-fe-pools-in-multiple-domain-single-forest-senario?forum=lyncdeploy
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to store multiple child nodes using dbms_xmlstore

    Hi,
    I'm using oracle 10g environment. In DBMS_XMLSTORE package I cannot able to insert the multiple child node value into db table.
    Here I have given the xml value
    <DATAPACKET REQUEST-ID="10001094">
      <HEADER>
        <SEARCH-RESULT-LIST>
          <SEARCH-RESULT-ITEM NAME="Ra-Al-Gul" CONFIDENCE-SCORE="750" BUREAU-ID="893991307899440">
            <IDENTIFIERS>
              <IDENTIFIER IDSOURCE="0001" MATCHED="TRUE"/>
            </IDENTIFIERS>
            <SURROGATES>
              <SURROGATE ID="CH0001" MATCHED="TRUE"/>
              <SURROGATE ID="CH0002" MATCHED="TRUE"/>
              <SURROGATE ID="CH0003" MATCHED="TRUE"/>
            </SURROGATES>
          </SEARCH-RESULT-ITEM>
        </SEARCH-RESULT-LIST>
      </HEADER>
    </DATAPACKET>for this xml data I have created the below table structure
    -- Table create script
    CREATE TABLE xml_insert (datapacket t_response );
    /* Type creation  code  */
    CREATE OR REPLACE TYPE t_response AS OBJECT
      "@REQUEST-ID" VARCHAR2(100),
      header        t_resp_header
    CREATE OR REPLACE TYPE t_resp_header AS OBJECT
      "SEARCH-RESULT-LIST"    t_search_item
    CREATE OR REPLACE TYPE t_search_item AS OBJECT
    ("SEARCH-RESULT-ITEM"      t_search_list);
    CREATE OR REPLACE TYPE t_search_list AS OBJECT
    ("@NAME"           VARCHAR2(300),
    "@CONFIDENCE-SCORE"      VARCHAR2(300),
    "@BUREAU-ID"           VARCHAR2(300),
    IDENTIFIERS           t_search_identifiers,
    SURROGATES           t_search_surrogates
    CREATE OR REPLACE TYPE t_search_identifiers AS OBJECT
    (IDENTIFIER           t_search_IDENTIFIER);
    CREATE OR REPLACE TYPE t_search_identifier AS OBJECT
      "@IDSOURCE"           VARCHAR2(20),
      "@MATCHED"           VARCHAR2(20)
    CREATE OR REPLACE TYPE t_search_surrogates AS OBJECT
    (SURROGATE           t_search_SURROGATE);
    CREATE OR REPLACE TYPE t_search_surrogate AS OBJECT
    "@ID"                VARCHAR2(20),
    "@MATCHED"           VARCHAR2(20)
    CREATE OR REPLACE TYPE tb_search_surrogate AS TABLE of t_search_SURROGATE;
    /and run this block
      DECLARE
      insCtx DBMS_XMLStore.ctxType;
      rows NUMBER;
      xmldoc CLOB :=
    <ROWSET>
    <ROW>
    <DATAPACKET REQUEST-ID="Q10001094">
      <HEADER>
        <SEARCH-RESULT-LIST>
          <SEARCH-RESULT-ITEM NAME="Anis kulam" CONFIDENCE-SCORE="750" BUREAU-ID="893991307899440">
            <IDENTIFIERS>
              <IDENTIFIER IDSOURCE="0001" MATCHED="TRUE"/>
            </IDENTIFIERS>
            <SURROGATES>
              <SURROGATE ID="CH0001" MATCHED="TRUE"/>
              <SURROGATE ID="CH0002" MATCHED="TRUE"/>
              <SURROGATE ID="CH0003" MATCHED="TRUE"/>
            </SURROGATES>
          </SEARCH-RESULT-ITEM>
        </SEARCH-RESULT-LIST>
      </HEADER>
    </DATAPACKET>
    </ROW>
    </ROWSET>';
    BEGIN
      insCtx := DBMS_XMLStore.newContext('xml_check');
      rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
      DBMS_XMLStore.closeContext(insCtx);
    END;I got the following error
    Error Messgae :
    ORA-19031: XML element or attribute SURROGATE does not match any in type DOHADEV.T_CRB_SEARCH_SURROGATES
    ORA-06512: at "SYS.DBMS_XMLSTORE", line 78
    ORA-06512: at line 28

    Hi,
    A couple of comments to begin with :
    - Your setup script, test case and error message are not consistent with each other.
    - You've not chosen the easiest road with DBMS_XMLSTORE and nested objects. As pointed out in a previous thread of yours, the whole thing would be far more simple with XMLTable.
    Do you really need to store the data in an object-relational structure at the end, or do you intend to further break it down into relational rows and columns?
    Do you have an XML schema?

  • Fill the child node in create

    Hi, i want create new row, all work fine, i can fill the header node and it´s record in the backend... but, how can fill the child node?
    My code for create a row is:
        // add a new item
        // first an empty synbo is created and than the values are set
        public void addRowInDB(String syBName, String[] newValues) throws SmartSyncException, PersistenceException {
            String syncBoName = syBName;
            SyncBoDescriptor sbd = descriptorFacade.getSyncBoDescriptor(syncBoName);
            SmartSyncTransactionManager transactionManager;
            RowDescriptor sbdRowDesc = sbd.getTopRowDescriptor();
            // Create new syncbo
            SyncBo newsyncBo = dataFacade.createEmptySyncBo(sbd);
            Row worker = newsyncBo.getTopRow();
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("BSTNK"),newValues[0]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNAG"),newValues[1]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNWE"),newValues[2]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNRG"),newValues[3]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNZV"),newValues[4]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("AUART"),newValues[5]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("BSARK"),newValues[6]);     Date d = new Date(2008, 10, 10);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("ERDAT"),d);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("ERNAM"),newValues[8]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("VKORG"),newValues[9]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("VTWEG"),newValues[10]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("SURTIDO_COMPLETO"),newValues[11]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("TEMPORADA"),newValues[12]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("COLECCION"),newValues[13]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("TEMA"),newValues[14]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("SPART"),newValues[15]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("AUGRU"),newValues[16]);     worker.setFieldValue(sbdRowDesc.getFieldDescriptor("NOTAS"),newValues[17]);     
            dataFacade.insertSyncBo(newsyncBo);
    With this code only can fill the header, how can fill the child?
    Thanks,

    Hello, lot of thanks...
    Finally i can insert the root and the child in my DB SQL Studio... and i can see the data... But, when sync, no send the data, and not appear errors, and not appear block queue... What happend?
    My code is:
            SyncBoDescriptor sbd = descriptorFacade.getSyncBoDescriptor(syncBoName);
            SmartSyncTransactionManager transactionManager;
            RowDescriptor sbdRowDesc = sbd.getTopRowDescriptor();
            // Create new syncbo
            SyncBo newsyncBo = dataFacade.createEmptySyncBo(sbd);
            Row worker = newsyncBo.getTopRow();       
            transactionManager = dataFacade.getSmartSyncTransactionManager();
              worker.setFieldValue(sbdRowDesc.getFieldDescriptor("BSTNK"),newValues[0]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNAG"),newValues[1]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNWE"),newValues[2]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNRG"),newValues[3]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("PKUNZV"),newValues[4]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("AUART"),newValues[5]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("BSARK"),newValues[6]);     Date d = new Date(2008, 10, 10);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("ERDAT"),d);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("ERNAM"),newValues[8]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("VKORG"),newValues[9]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("VTWEG"),newValues[10]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("SURTIDO_COMPLETO"),newValues[11]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("TEMPORADA"),newValues[12]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("COLECCION"),newValues[13]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("TEMA"),newValues[14]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("SPART"),newValues[15]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("AUGRU"),newValues[16]);
    worker.setFieldValue(sbdRowDesc.getFieldDescriptor("NOTAS"),newValues[17]);
            dataFacade.insertSyncBo(newsyncBo);
            Row row = newsyncBo.createEmptyRow(sbd.getRowDescriptor("010"));
            SyncBo so = row.getSyncBo();
            RowDescriptor s = sbd.getRowDescriptor("010");
            row.setFieldValue(s.getFieldDescriptor("MATNR"),newValues[18]);
    row.setFieldValue(s.getFieldDescriptor("J_3ASIZE"),newValues[19]);
    Date da = new Date(2008, 10, 10);        row.setFieldValue(s.getFieldDescriptor("DT_ENTREGA"),da);
    row.setFieldValue(s.getFieldDescriptor("SEMANA"),newValues[21]);
    row.setFieldValue(s.getFieldDescriptor("MES"),newValues[22]);
    row.setFieldValue(s.getFieldDescriptor("NO_CANTBRUTA"),newValues[23]);
    so.insertRow(row);
    If i create without the child.. when sync, send the data...
    Regards,

Maybe you are looking for

  • Connection with the RT engine has lost.

    In the middle of my application, I am losing my connection with RT Engine on network. What is the reason?Immediate help would be appreciated.

  • Trying to run external script using Runtime.exec

    Hey, I am trying to use Runtime.exec(cmd, evnp, dir) to execute a fortran program and get back its output, however it seems to always be hanging. Here is my code snippet :             Process process = Runtime.getRuntime().exec(                   "./

  • Track Start/Stop Point (on match) no longer working on ios7?

    Translates to IPAD but not phone ??   Anyone else?  Stopped after ios7 upgrade.

  • How to convert raw 1024 data to Excel data

    Hi, I am having requirement to send email as attachment in CRM, by  using cl_crmcmp_c_mailcuco_impl  class for sending mail. i am able to send PDF documents but for excel it is not working i am getting data into the table of type crmt_isx_inv_docdeta

  • Indesign CS6 Problems with OS X Services

    With Indesign CS5.5, services work, but not in CS6 on Snow Leopard. What I mean is, if you select some text (in my case Tex text), go to the Indesign menu, select Services, then select something like Typeset LaTex Text, Indesign says the service cann