How to populate node with in node

Hi,
I have scnerio to populate a node which has Header and items.
For example Sales Order.
-> Order
!-> Order No.
|-> Items
-> Item_No
-> Material No
-> Quantity
-> Price
Order cardinality is 1..n
Order can have more than one item, so cardinality is 1..n for item.
How I can populate Order node, with a single order No. and multiple items.
Cheers,
Senthil

HI Senthil,
Since one order can have more than one items, the best way is to create a node (<b>Order</b>) with cardinality 0.N or 1.N (Since it can contain 0..N records). Then each Order records will be having one OrderNo, so create a context atttribute(<b>OrderNumber</b>) inside node Order. For each Order(ie. for each Order No.), since there is more than one items, create a node(<b>Items</b>) inside Order with cardinality as false, sothat u will be able to create more than one Items Element for a particular Order element. Inside this Items node, u can create context attributes like <b>ItemsNumber</b>, <b>Price</b>  etc. Then use the code below, which is similar to the code I posted. That code craeates 5 Order records(with order number myorder1,2,etc), with each OrderNo. will be having three Items entries(with itemnumber myitem1,2,3 and Price myPrice1,2,3)
IPrivate<View>.IOrderNode parentNode=wdContext.nodeOrder();
IPrivate<View>.IOrderElement parentEl;
for(int i=0;i<5;i++)
parentEl=parentNode.createOrderElement();
parentNode.addElement(parentEl);
<b>parentEl.setOrderNumber("myorder"(i1));</b>
for(int j=0;j<3;j++)
IPrivate<View>.IItemsNode childNode=parentEl.nodeItems();
IPrivate<View>.IItemsElement childEl=childNode.createItemsElement();
childNode.addElement(childEl);
<b>childEl.setItemsNumber("myitem"(j1));</b>
<b>childEl.setPrice("myPrice"(j1));</b>
Regards
Fahad Hamsa

Similar Messages

  • How to populate DataGird with data returned from php page?

    Hi, I'm new in Flex, I try to populate DataGrid with data from PHP, My code is
    <mx:HTTPService 
    id="personRequest" result="getPerson(event)" url=http://localhost/searchPerson.php useProxy="false" method="POST" showBusyCursor="true" resultFormat="e4x">
    </ mx:HTTPService>
    <mx:DataGrid 
    id="searchResult" dataProvider="{???what to paste here???}" y="30">
    </mx:DataGrid>
    private  
    function getPerson(evt:ResultEvent):void { var res:XMLList = evt.result..dane as XMLList;searchResults =
    new XMLListCollection(res); 
    output from PHP
    <person>
    <dane>
    <name>ABC</name>
    <street>XLXXLX</street>
    </dane>
    <dane>
    <name>DEF</name>
    <street>YAYAYAY</street>
    </dane>
    </person>
    If I set the dataProvider as "searchResults" it doesn't work. I probably have to set as dataprovider any ArrayCollection , but I don't know how to convert my XMLListCollection to it.
    Could anyone help me populate Datagrid with
    name | streer
    ABC, XLXXLX
    DEF, YAYAYAY
    Best Regards,
    Mariusz

    Thanks for your reply, but I'm afraid it doesn't work :-( Could you browse my code and check what I'm doing wrong???
    full mxml code:
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="personRequest.send()">
    <mx:Script><![CDATA[
         import mx.rpc.events.ResultEvent; 
         [Bindable]
         public var searchResultsXML:XML;  
         private  function getPerson(evt:ResultEvent):void 
          {          searchResultsXML = (evt.result
    as XML);
              trace(searchResultsXML);     }
    ]]></mx:Script>  
    <mx:HTTPService 
    id="personRequest" result="getPerson(event)" url=http://localhost/searchPerson.php useProxy="false"
    method="POST" showBusyCursor="true" resultFormat="e4x"></mx:HTTPService>
    <mx:DataGrid  id="searchResult" dataProvider="{searchResultsXML.dane}"></mx:DataGrid>
     </mx:Application> 
    trace statement returns:
    <person>
    <dane>
    <id>1</id>
    <nazwisko>Topczewski</nazwisko>
    <imie>Mariusz</imie>
    <imie2/>
    <miejscowosc>Bia?ystok</miejscowosc>
    <ulica>Nowogródzka</ulica>
    <dom>7B</dom>
    <lokal>25</lokal>
    </dane>
    <dane>
    <id>1</id>
    <nazwisko>Topczewski</nazwisko>
    <imie>Mariusz</imie>
    <imie2/>
    <miejscowosc>Bia?ystok</miejscowosc>
    <ulica>Sybiraków</ulica>
    <dom>15</dom>
    <lokal>27</lokal>
    </dane>
    </person>

  • How to Populate Node Within Parent Node?

    Hi @,
    I have nodeA within that nodeB .nodeA can have multiple nodeB.
    But the contents of nodeB have to be derived from one attribute in nodeA.
    I am not able to attach the nodes to the nodeA.
    How can we do this?
    Regards

    Hi @,
    I am sorry, my nodes have different Name I was just quoting an example.
    nodeB is LineItem kind of field for nodeA so nodeB will contain multiple elements within .
    nodeA
    ---attrA
    ---nodeB
    attrB
    attrA and nodeB are at same level.
    Regards
    Edited by: BeyondThe obvious on Oct 14, 2008 1:58 PM
    Edited by: BeyondThe obvious on Oct 14, 2008 1:59 PM

  • Designer beginner's question: How to populate form with XML web service output?

    sorry, here is yet another Adobe Designer beginners question: <br /><br />My form uses a webservice data connection which returns <br />an xml-string like this: <br /><br /><?xml version="1.0" encoding="utf-16"?> <br /><CurrentWeather> <br />  <Location>Sion, Switzerland (LSGS) 46-13N 007-20E 481M</Location> <br />  <Time>Apr 26, 2007 - 09:50 AM EDT / 2007.04.26 1350 UTC</Time> <br />  <Wind> from the WSW (240 degrees) at 15 MPH (13 KT):0</Wind> <br />  <Visibility> greater than 7 mile(s):0</Visibility> <br />  <SkyConditions> partly cloudy</SkyConditions> <br />  <Temperature> 80 F (27 C)</Temperature> <br />  <DewPoint> 46 F (8 C) </DewPoint> <br />  <RelativeHumidity> 30%</RelativeHumidity> <br />  <Pressure> 29.88 in. Hg (1012 hPa)</Pressure> <br />  <Status>Success</Status> <br /></CurrentWeather> <br /><br />What is the simplest and recommended way to extract the <br />element fields to my form? <br /><br />Thank you very much an kind regards, <br />Hans Grund

    The question is still unanswered!
    Let me give some details and break up the problem
    in more specific questions:
    - In Designer 8.1 I click new data binding --> wsdl -->
    http://www.webservicex.net/globalweather.asmx?wsdl
    A message box comes up and says "cannot load wsdl file"
    ==> 1. Question:
    Why maybe refuses Designer to load the http-wsdl,
    although this option is explicitly allowed?
    - When I save the wsdl to a file, Designer loads it
    without any problems. The web service uses two input parameters
    (CountryName and CityName) and returns an xml-string GetWeatherResult)
    like the one in my first posting. I drag these fields from the binding view to my form, and it runs ok!
    - THE PROBLEM IS, THAT I NEET TO EXTRACT THE ELEMENT FIELDS
    FROM THE RESULT XML-STRING!
    ==> 2. Question:
    How to extract xml element fields from wsdl output into a form?
    - I tried with eclipse and XmlSpy to build a modified wsdl file
    with structured output definition, so that the specific element fields
    show up in the data binding view and are usable to my form,
    and the modified wsdl maps consistently to the web service result string.
    So far without success: In the PDF -preview or Reader-
    when the wsdl-binding is executed and the web service output
    should show up in the result fields, just nothing happens.
    ==> 3. Question:
    Can this strategy to provide a "modified wsdl" possibly succeed,
    and how?
    ==> 4. Question:
    Is is possible -and how?- to check whether an xml string
    is valid as web service output against the wsdl-definition?
    ==> 5. Question:
    How to debug a web service connection with Designer?
    - Finally I tried to find a way to load the result xml-string
    into a local var in the script editor and parse it, much like:
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.load(DataSet.MyForm.GetWeatherResult.rawValue);
    ==> 6. Question:
    Is it possible -and how?- to use a framework like dotnet?
    How to utilize SAX or DOM in Designer?
    Many thanks and appreciations for your help!!

  • How to populate formbean with ONLY updated values?

    Is there a way to populate the formbean with ONLY updated values in Java Struts?
    Ex: Out of 50 fields displayed on GUI, If lets say user modifies 20 fields, I need to capture only those 20 fields into the form bean.
    The reason i am looking for such function is to avoid the overhead of updating all the 50 fields into the database everytime even if one field is modified.

    Normally, you update the entire record if one of the fields is changed. However, if you display more than one record, only those records have have changed should be updated. The reason you dont update all records is because if the performance hit on updating records that didn't change, among other things (see optimistic conurrency topic at http://msdn.microsoft.com/en-us/library/bb399373.aspx)
    I don't think you should bother coding to only capture those fields that have changed in one record. It complicates your code and makes it difficult to read. Also, performance gain on not reading unchanged fields is offset by performance loss on the logic to manage such a task. Also, your update sql statement will be overly complicated and will have to be dynamically built rather than a single simple update sql statement that updates all fields.

  • How to populate ComboBox with images?

    Hello, I was just wondering if it is possible to populate a
    ComboBox with images or icons? If it is possible, I want each item
    to have both a picture and text. Any help on this matter would be
    great!

    I'm using Flash AS3. I currently have the code working for
    the tileList component. I load the "label:", "source:" and "data:"
    from a php script. It works great! Tried to do the same method for
    the comboBox with no luck. I have spent lots of time searching the
    web for help on this, but unfortunately AS3 is still relatively new
    and much differant from previous versions of actionscript, so it is
    hard to find any good examples. Although the help and examples for
    AS3 is pretty extensive on adobes website, it seems that I can
    never find the help and examples that relate to any problems I
    might encounter.

  • How to populate fields with no values in a report..?

    Hi Gurus,
    We have a query, which is filtered with some 60 GL Accounts. Some of these GL account has no values or activity since long back. But we need to display it in the report for some reasons. Since it doesnu2019t have any value, its not coming up in the report. Only the accounts with values are coming up.
    Is there any way I can bring these accounts in the report with 0 as values...? Any help is highly appreciated.
    Thanks
    Uan

    Hi,
    please try to do wth the help of Query property .
    in query property set property -  display zero as
    First try display zero as A .. if its working fine then put the value which you want to show or else put 0 .
    Alsoclick on structure and checkif 0 is supress .. if yes uncheck that .
    regards,
    Aparna

  • How to populate SNDPRN with different values in Development and Production?

    Hello experts,
    I have to fill the field SNDPRN in the message mapping with a different value in Development and in Production. As I am new to PI, I used a simple solution - but it is rather ugly: I set a constant value in the mapping in development and a different one in Production. However, I would like to know if there is any solution to have a condition in the mapping like:
    IF system is Development, set SNDPRN as Constant1.
    IF system is Production, set SNDPRN as Constant2.
    (And eventually IF system is Test, set SNDPRN as Constant3)
    Thanks in advance for your help,
    Luis

    Hi Luis,
          You can go with the parameterized mapping , where you can provide different values for SNDPRN in interface determination for development and production.
          At point of time if you want to change the values it requires only a change in the configuration.
          Please refer the below links for reference;
    Parameterized Mapping Programs - Enterprise Services Repository - SAP Library
    http://scn.sap.com/people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
         We are following the same approach for some of our interfaces.
    - Muru

  • How to populate list component via xml file?

    There is a TextArea component that should show the name and
    the description of the item selected in the list component. But I
    dont know how to populate list with external XML and what should be
    the coding in flash as well as what should be written in the XML.
    Please help.

    Here's an xml file listing a couple of brother comedy teams:
    <?xml version="1.0" encoding="UTF-8"?>
    <team>
    <brothers>
    <Marx>
    <name>Groucho</name>
    <name>Chico</name>
    <name>Harpo</name>
    <name>Zeppo</name>
    <name>Gummo</name>
    </Marx>
    <Howard>
    <name>Moe</name>
    <name>Curly</name>
    <name>Shemp</name>
    </Howard>
    </brothers>
    </team>
    Open a new .fla and save it in the same folder as the .xml
    file. Place a List Component on the Stage and name it (in this
    case, "comicTeams_list"). In the first frame write the following
    ActionScript:
    //create XML object and load external xml file
    var broList:XML = new XML();
    broList.ignoreWhite = true;
    broList.onLoad = processList; // this is a function that will
    be written below
    broList.load("populateList.xml");
    function processList(success:Boolean):Void{
    if(success){
    loadList();
    }else{
    trace("Load failure");
    function loadList():Void{
    var broName:String;
    var listEntries =
    broList.firstChild.childNodes[0].childNodes[0].childNodes.length;
    for(var i:Number = 0;i<listEntries;i++){
    broName =
    broList.firstChild.childNodes[0].childNodes[0].childNodes
    .childNodes[0].nodeValue;
    trace(broName);
    comicTeams_list.addItem(broName);
    //to make something happen when you click on a name in the
    List, create a Listener and function
    var broListListener:Object = new Object();
    broListListener.change = someAction; //"someAction" is a
    function to be written shortly
    //add the Listener to the List
    comicTeams_list.addEventListener("change", broListListener);
    function someAction(evtObj:Object):Void{
    var pickedBrother:String = evtObj.target.selectedItem.label;
    //write actions here, referencing pickedBrother variable
    The names of the Marx Brothers will appear in the box.
    This is written in AS2. When you post a question, it's a good
    idea include which version of ActionScript you're using.

  • How to populate select boxes in custom work flows?

    We are trying to create a workflow that allows users to select a few item details from a select box inside the form. I created the select box but I can't figure out how to populate it with elements. I've been reluctant to post here because this question seems so straight forward but I haven't been able to find the answer and don't want waste more time searching for this answer. Please help!
    Thanks,
    Richard

    Sorry for the trouble, I found the answer. I was looking in all the wrong places. Thanks anyway!
    Richard

  • Mavericks Server – Populate OD with AD Users & Groups?

    Setting up 'Golden Triangle' (or trying to). Mac server and clients bound to both AD and the Mac server, and we've managed to set up some device profiles which have been successfully pushed to the clients.  We can see the AD Users & Groups in the main Mavericks Server window, but have no real clue how to populate OD with them. At the moment Profile Manager by default can only see existing AD Policy groupings, rather than the actual AD Group structure. With well over a thousand AD users, do we have to add them all ONE AT A TIME to become bona fide OD users and groups?

    After re-registring the device, deleting adding user againt from/to group com.apple.access_devicemanagement did the job. No error any more.

  • Can anyone please tell me how the attribute node in LABVIEW ( ver 5) in builtin INSTRUMENT I/O exampe file

    Can anyone please tell me how the attribute node in LABVIEW ( ver 5) in builtin INSTRUMENT I/O exampe file works and how it is being made.............

    Samura,
    After running LabVIEW 5.1 I found in the Search Examples help file a link titled Instrument I/O. Under there I see several examples, one of which contains many attribute nodes. It is difficult for me to tell you pecifically what the purpose of each and every attribute node in this forum.
    Generally, attribute nodes in LabVIEW 5.1 are used to set the properties of the front panel controls and indicators. The properties available in an attribute node are very similar to the properties made available by right clicking on a particular front panel control or indicator.
    If you have a question about a specific attribute node, I would like to ask you to post in a new thread with a detailed description of the attribute node.
    Thank you, and have a great day
    Scott
    Applications Engineer
    National Instruments

  • How to add node

    I have two node RAC. One node has OS issue so we have to reinstall OS and Now I want to add new node.But ORACLE_HOME and ORA_CRS_HOME will be different for second home.
    Is it possible to have ORACLE_HOME differnt on each home?
    Means one the first node ORACLE_HOME is /opt/oracle/product/10.2.0/crs
    and on second node ORACLE_HOME will /export/home/oracle/product/10.2.0/crs
    How to add node in such condition?

    I have followed ML NOTE: 270512.1 and I am able to add clusterware on second Node
    When I have tried to "Add the RAC software to the new node" at time I am getting bellow error
    OUI-10009: There are no new nodes to add to this installation
    I have genrated trace using this command
    ./addNode.sh "CLUSTER_NEW_NODES=bullhead-rac2" -logLevel trace -debug
    Here it is
    Oracle Universal Installer, Version 10.2.0.3.0 Production
    Copyright (C) 1999, 2006, Oracle. All rights reserved.
    [main] [13:54:16:457] [NativeSystem.<init>:259] NullSecurityManager is set for Native System calls
    [main] [13:54:16:464] [Library.getInstance:95] Created instance of Library.
    [main] [13:54:16:465] [Version.isPre10i:189] isPre10i.java: Returning FALSE
    [main] [13:54:16:466] [UnixSystem.getCSSConfigType:2014] configFile=/var/opt/oracle/ocr.loc
    [main] [13:54:16:475] [Utils.getPropertyValue:221] keyName=ocrconfig_loc props.val=/dev/rdsk/c3t1d0s1 propValue=/dev/rdsk/c3t1d0s1
    [main] [13:54:16:476] [Utils.getPropertyValue:292] propName=local_only propValue=FALSE
    [main] [13:54:16:477] [UnixSystem.getCSSConfigType:2058] configType=false
    [main] [13:54:16:481] [Version.isPre10i:189] isPre10i.java: Returning FALSE
    [main] [13:54:16:482] [ClusterInfo.<init>:222] m_olsnodesPath=/oracle/product/10.2.0/crs/bin/olsnodes
    [main] [13:54:16:485] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
    [main] [13:54:16:486] [RuntimeExec.runCommand:76] /oracle/product/10.2.0/crs/bin/olsnodes
    [main] [13:54:16:550] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
    [Thread-2] [13:54:16:551] [StreamReader.run:61] In StreamReader.run
    [Thread-3] [13:54:16:551] [StreamReader.run:61] In StreamReader.run
    [Thread-2] [13:54:17:965] [StreamReader.run:65] OUTPUT>catfish-rac1
    [Thread-2] [13:54:17:969] [StreamReader.run:65] OUTPUT>bullhead-rac2
    [main] [13:54:18:62] [RuntimeExec.runCommand:133] runCommand: process returns 0
    [main] [13:54:18:63] [RuntimeExec.runCommand:147] RunTimeExec: output>
    [main] [13:54:18:64] [RuntimeExec.runCommand:150] catfish-rac1
    [main] [13:54:18:64] [RuntimeExec.runCommand:150] bullhead-rac2
    [main] [13:54:18:65] [RuntimeExec.runCommand:155] RunTimeExec: error>
    [main] [13:54:18:66] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
    [main] [13:54:18:66] [ClusterInfo.getNodeNames:341] Number of nodes=2
    [main] [13:54:18:69] [ClusterInfo.getLocalNodeName:242] cmd=/oracle/product/10.2.0/crs/bin/olsnodes -l
    [main] [13:54:18:69] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
    [main] [13:54:18:70] [RuntimeExec.runCommand:76] /oracle/product/10.2.0/crs/bin/olsnodes
    [main] [13:54:18:70] [RuntimeExec.runCommand:76] -l
    [Thread-5] [13:54:18:134] [StreamReader.run:61] In StreamReader.run
    [main] [13:54:18:135] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
    [Thread-4] [13:54:18:134] [StreamReader.run:61] In StreamReader.run
    [Thread-4] [13:54:19:560] [StreamReader.run:65] OUTPUT>catfish-rac1
    [main] [13:54:19:626] [RuntimeExec.runCommand:133] runCommand: process returns 0
    [main] [13:54:19:627] [RuntimeExec.runCommand:147] RunTimeExec: output>
    [main] [13:54:19:628] [RuntimeExec.runCommand:150] catfish-rac1
    [main] [13:54:19:628] [RuntimeExec.runCommand:155] RunTimeExec: error>
    [main] [13:54:19:629] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
    [main] [13:54:19:630] [ClusterInfo.getLocalNodeName:247] exit value 0
    [main] [13:54:19:631] [ClusterInfo.getLocalNodeName:253] output.length=1
    [main] [13:54:19:631] [ClusterInfo.getLocalNodeName:257] output[0]=catfish-rac1
    Starting Oracle Universal Installer...
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    LD_LIBRARY_PATH environment variable :
    Total args: 25
    Command line argument array elements ...
    Arg:0:../../jdk/jre/bin/java:
    Arg:1:-Doracle.installer.library_loc=../lib/solaris:
    Arg:2:-Doracle.installer.oui_loc=/oracle/product/10.2.0/db_1/oui/bin/..:
    Arg:3:-Doracle.installer.bootstrap=FALSE:
    Arg:4:-Doracle.installer.startup_location=/oracle/product/10.2.0/db_1/oui/bin:
    Arg:5:-Doracle.installer.jre_loc=../../jre:
    Arg:6:-Doracle.installer.nlsEnabled="TRUE":
    Arg:7:-Doracle.installer.prereqConfigLoc= :
    Arg:8:-Doracle.installer.unixVersion=5.10:
    Arg:9:-mx96m:
    Arg:10:-cp:
    Arg:11:/tmp/OraInstall2007-10-09_01-54-01PM:../jlib/OraInstaller.jar:../jlib/oneclick.jar:../jlib/xmlparserv2.jar:../jlib/srvm.jar:../jlib/share.jar:../jlib/
    OraInstallerNet.jar:../jlib/xml.jar:../jlib/orai18n-collation.jar:../jlib/orai18n-mapping.jar:../jlib/emCfg.jar:../jlib/ojmisc.jar:../jlib/InstImages.jar:../
    jlib/InstHelp.jar:../jlib/InstHelp_de.jar:../jlib/InstHelp_es.jar:../jlib/InstHelp_fr.jar:../jlib/InstHelp_it.jar:../jlib/InstHelp_ja.jar:../jlib/InstHelp_ko
    .jar:../jlib/InstHelp_pt_BR.jar:../jlib/InstHelp_zh_CN.jar:../jlib/InstHelp_zh_TW.jar:../jlib/oracle_ice.jar:../jlib/help4.jar:../jlib/help4-nls.jar:../jlib/
    ewt3.jar:../jlib/ewt3-swingaccess.jar:../jlib/ewt3-nls.jar:../jlib/swingaccess.jar:../jlib/classes12.jar::../jlib/OraPrereq.jar:../jlib/jewt4.jar:../jlib/jew
    t4-nls.jar:
    Arg:12:oracle.sysman.oii.oiic.OiicInstaller:
    Arg:13:-scratchPath:
    Arg:14:/tmp/OraInstall2007-10-09_01-54-01PM:
    Arg:15:-sourceType:
    Arg:16:network:
    Arg:17:-timestamp:
    Arg:18:2007-10-09_01-54-01PM:
    Arg:19:-addNode:
    Arg:20:ORACLE_HOME=/oracle/product/10.2.0/db_1:
    Arg:21:CLUSTER_NEW_NODES=bullhead-rac2:
    Arg:22:-logLevel:
    Arg:23:severe:
    Arg:24:-debug:
    Initializing Java Virtual Machine from ../../jdk/jre/bin/java. Please wait...

  • How to create Node, Attributes and Table Dynamically?

    Hi All,
    How to create node and attributes dynamically, and with this node i want to create table dynamically?? Any related code please?
    Thanks
    Venkat.

    HI
    I guess you are asking the same thing in some other post also .
    use the code as mentioned there also.
    data: wd_node_info type ref to if_wd_context_node_info,
    wd_node type ref to if_wd_context_node,
    lr_container type ref to cl_wd_uielement_container,
    lv_tablename type string,
    lt_db_data type ref to data,
    lr_table type ref to cl_wd_table,
    ls_attribute type wdr_context_attribute_info.
    field-symbols: <lt_data> type any table.
    wd_node_info = wd_context->get_node_info( ).
    CALL METHOD WD_NODE_INFO->ADD_NEW_CHILD_NODE
    EXPORTING
    *STATIC_ELEMENT_TYPE = 'ZDEALER'
    NAME = 'NODE'
    IS_MULTIPLE = ABAP_TRUE
    IS_INITIALIZE_LEAD_SELECTION = ABAP_FALSE
    RECEIVING
    CHILD_NODE_INFO = wd_node_info.
    wd_node = wd_context->get_child_node( name = 'NODE' ).
    wd_node_info = WD_node->GET_NODE_INFO( ).
    data dyn_attr_info type wdr_context_attribute_info.
    DYN_ATTR_INFO-NAME = 'X1'. "Attribute Name
    DYN_ATTR_INFO-TYPE_NAME = 'STRING' ." Data Element(CHAR20) ( Type Of Attribute )
    DYN_ATTR_INFO-NODE_INFO = wd_node_info.
    CALL METHOD wd_node_info->ADD_ATTRIBUTE
    EXPORTING
    ATTRIBUTE_INFO = DYN_ATTR_INFO.
    DYN_ATTR_INFO-NAME = 'X2'. "Attribute Name
    DYN_ATTR_INFO-TYPE_NAME = 'STRING' ." Data Element(CHAR20) ( Type Of Attribute )
    DYN_ATTR_INFO-NODE_INFO = wd_node_info.
    CALL METHOD wd_node_info->ADD_ATTRIBUTE
    EXPORTING
    ATTRIBUTE_INFO = DYN_ATTR_INFO.
    lr_container ?= view->get_root_element( ).
    cl_wd_matrix_layout=>new_matrix_layout( container = lr_container ).
    " Creating internal table with the same structure as our dynamic context node
    CALL METHOD CL_WD_table=>new_table
    EXPORTING
    bind_data_source = 'NODE'
    ID = 'TABLE'
    RECEIVING
    control = lr_table.
    cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_table ).
    *lr_table->bind_data_source( path = 'NODE' ).
    data lr_table_col type ref to cl_wd_table_column.
    data lr_table_col1 type ref to cl_wd_table_column.
    data lr_text_view type ref to cl_wd_text_view.
    data lr_input_field type ref to cl_wd_input_field.
    DATA lr_column_name_header TYPE REF TO cl_wd_caption.
    lr_input_field = cl_wd_input_field=>new_input_field(
    bind_value = 'NODE.X1' ID = 'INP' ).
    LR_TABLE_COL = cl_wd_table_column=>new_table_column( id = 'COL1' ).
    lr_table->add_column( the_column = lr_table_col ).
    lr_column_name_header ?= cl_wd_caption=>new_caption( text = 'X1').
    lr_table_col->set_table_cell_editor(
    THE_TABLE_CELL_EDITOR = lr_input_field ).
    lr_table_col->set_header( lr_column_name_header ).
    lr_text_view = cl_wd_text_view=>new_text_view(
    bind_text = 'NODE.X2' ID = 'TXT' ).
    LR_TABLE_COL1 = cl_wd_table_column=>new_table_column( id = 'COL2' ).
    lr_table->add_column( lr_table_col1 ).
    lr_column_name_header ?= cl_wd_caption=>new_caption( text = 'X2').
    lr_table_col1->set_table_cell_editor(
    THE_TABLE_CELL_EDITOR = lr_text_view ).
    lr_table_col1->set_header( lr_column_name_header ).
    lr_container->add_child( lr_table ).
    cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_table ).
    thanks
    sarbjeet singh

  • How many server nodes can you create per instance

    Hi,
    Very often the bottle neck in a java installation (NW04s) is the heap size. In order to increase the heap you simple create new server nodes.
    My question is:
    How many server nodes can you create per instance?
    Is there an upper limit before you have to create a new dialog instance (with a web dispatcher)?
    I can imagine that when you create a new server node you also have to increase the heap and max therad of the dispatcher. Is there any upper limit of the heap size of the dispatcher node ?

    Rasmus , I think you laid out a real good scenario for every one to contribute
    I may be very late but just updating this forum for benefit of everyone who visits this.
    In addition to all the points above one must also consider following things if one decides to add more server nodes to one dispatcher
    1.Garbage collection time
    2.Dispatcher would keep on sending request to node S2 if it is not completely bad and there by impacting all the servernode       so  you might end up restartiing the entire cluster.
    3,Debugging also becomes diffculy as you are not sure on which server node you are within the cluster.
    4.If you have something like F5 which does hear beat monitoring even one server node goes bad F5 will not report anything.
    So in my view one server node per dispatcher is an ideal configuration.
    Over All Dispatcher does not consume more resouces (Disk Space + CPU + memory ) at the same time it will give you maintenance flexibility.
    Nothing is right or wrong ,all these things are based on how your infrastructure set up is.
    Cheers !!
    Manish Jain

Maybe you are looking for

  • How to clear UNB table in the payroll result?

    Hi, We are getting the payroll error- The gross wages do not cover the negative offset that has been forwarded. Therefore, no gross up is permitted while running the Grossup. I see the below table "UNB table" in the last payroll result. "UNB - Unbala

  • Best approach to store collection for html:options

    I am using struts to develop my web application. I am trying to figure out the best way to store a Collection for html:options inside a html:select element. My JSP page has a html:select statement which lists all the groups in a system. I have a memb

  • User end dated automatically

    Hi, We are using 11.5.9. We noticed, for one of the active employee, user account is end dated automatically. I checked the record histroy of it, it shows, "Updated By : <shows this employee's manager user account>". "System Logon: Unknown" and "Term

  • I cant signed on the game center on my iphone.which is a japan lock how can i fix this?

    i cant signed on the game center on my iphone.which is a japan lock how can i fix this?

  • Battery low!?

    I've just been on holiday, and took my mini iPod with me, and my speakers. During the holiday, I noticed that the battery life shortened considerably each day, even though I had it on charge all night each night. Now, a week after I got back home, th