Regarding Dynamic Table UI columnwise display

Hi,
I have an requirement such that I need to display a structure from an RFC in a Webdynpro Table UI.  I want to display the values columnwise and not row.  The values from the RFC should be added to the column(horizontally) instead of row. Please give me your views on this.
Kind Regards,
Vivek.S

hi Vivek,
you mentioned you need to display a structure. If it is a structure it should be containing one record which you can show in one row of the table.
In case of multiple records you have to manage it dynamically depending upon the number of records returned.
Dynamically add attributes in a value node and columns to the table.
set cardinality for the value node as 1..1.
Iterate over your model node elements and then set corresponding values in the value node's current element.
You can explain more about your problem.
Hope this helps!
Monalisa

Similar Messages

  • Regarding dynamic tables in interactive forms

    Hi All,
            I have designed a webdynpro view which contains a table,i have to generate a pdf format file which also contains
    a table as there in the webdynpro view.
            I  have designed a dynamic table in interactive form and binded the interactive form ui element with the datasource and pdfSource.
    In the interactive form i am getting only one row data of webdynpro view table.In the Object palette, I selected Repeat Row For Each Data Item.
           share with me if u have any idea or send any document regarding table binding(dynamic) in interactive form.
    Thanks & Regards,
    saleem

    Hi saleem..
    Check this link..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59">Dynamic interactive forms an example</a>
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#47
    Urs Gs

  • How to give color of particular cell in alv list display for dynamic table

    Dear Experts,
    i want to give color of a particular cell in alv list display (reuse_alv_list_display). Here i am passing data through dynamic table?

    Hi,
    Se this:
    DATA: lt_color    TYPE lvc_t_scol WITH HEADER LINE.
    DATA: BEGIN OF data_tab OCCURS 0.
             tabcolor     TYPE   lvc_t_scol,
          END OF data_tab.
    * Befone ALV call
      alv_layout-coltab_fieldname  = 'TABCOLOR'.
    * For each row in data_tab
    REFRESH: lt_color.
    CLEAR: lt_color.
    lt_color-color-col = 6.
    lt_color-color-int = 1.
    lt_color-fname = FIELD1'.
    APPEND lt_color.
    lt_color-color-col = 2.
    lt_color-color-int = 0.
    lt_color-fname = 'FIELD2'.
    APPEND lt_color.
    data_tab-tabcolor[] = lt_color[].
    append data_tab.
    Best regards,
    Leandro Mengue

  • Problem in displaying dynamic table placed in master page

    Hi all,
    I have placed a dynamic table in my master page. When the page overflows the dynamic table is shown only in 1st page. I want this table to be shown in every page. Please help me solve this.
    Regards,
    Devaiah

    hi,
    Thank you all for your reply. But i cannot keep the table in body page as i want this table to be displayed in every page in the header.  Actually i am displaying an address through this table.
    I have moved the content area in master page to center and reduced its size and in the body page i have placed a table which will display the report. When this table overflows to next page all the contents in master page are shown except for the address table in master page. I am not sure whether i am doing it the right way as i am bit new to adobe forms.
    Please let me know where am i going wrong. Also please suggest me some alternative method ( if any ) to display the address in every page if the above method is not feasible.
    Regards,
    Devaiah

  • Multiple Models & Conditional Display in Dynamic Table.

    Hi
    There are 5 models pointing to different systems. The user will randomly select the system and accordingly the models will get executed.
    My issue is in the second screen I need to populate a table which should display the data from multiple models at the same time.. I need to loop trough the models and check, the search term entered by the user, in which all system the same is present and accordingly I need to display in table...
    Please help me by placing some sample code for looping in multiple output nodes and create table dynamically and display the data in the coloumn...Coloumn numbers are fixed.....
    Regards
    SU

    Hi
    I suggest to create a value node to show the results in a view.
    and loop at all the model nodes and when match found create an new element for the table and add it to the table node.
    This is the code to Create Table and its columns dynamically.
    place the code in wdDoModifyView()
    IWDTable <tableref> = (IWDTable) view.createElement(IWDTable.class,"<tablename>");
    <tableref>.bindDataSource(wdContext.node<node>().getNodeInfo());
    IWDTableColumn <colref> =(IWDTableColumn)view.createElement(IWDTableColumn.class,"F");
    IWDInputField inf = (IWDInputField )view.createElement(IWDInputField.class,"d");
    inf.bindValue(wdContext.node<node>().getNodeInfo().getAttribute("<attribute>"));
    <colref>.setTableCellEditor(inf);
    <tableref>.addGroupedColumn(<colref>);
    IWDTransparentContainer <grp> =(IWDTransparentContainer)view.getElement("RootUIElementContainer");
    <grp>.addChild(<tableref>);
    Regards
    Abhimanyu L

  • Image not displaying on a dynamic Table !

    Dear Friends,
    In my assignment, I would like to display the Status column of a table with different image as per the data received from backend system.
    Infact it is a dynamic table generation.  The code snippet is as below:
    IWDNodeInfo tabNode=wdContext.getNodeInfo().getChild("Reports_TAB");
    String colName="Status";
    String imagePath=tabNode.getAttribute(colName).toString();
    IWDImage colImage=(IWDImage)view.createElement(IWDImage.class, colName+"Image");
    colImage.setSource(imagePath);
    But problem, is imagePath is hold the value as DataAttributeInfo(DashBoardView.It_FinalTAB.Status), instead of actual image name.
    (Ya, Image is stored in src/mimes/Components/<component>/ folder, which is working absolutely fine with test example.)
    Because of this, image is not displaying on the table elements.
    Can anybody help me, how can retrive exact image name from the tabNode?
    Thanks in advance,
    Lakshmikantha

    Hi Lakshmikantha,
         Instead of Doing colImage.setSource() you have to do collmage.bindSource()
    IWDNodeInfo tabNode=wdContext.getNodeInfo().getChild("Reports_TAB");
    String colName="Status";
    IWDAttributeInfo imagePath=tabNode.getAttribute(colName);
    IWDImage colImage=(IWDImage)view.createElement(IWDImage.class, colName+"Image");
    colImage.bindSource(imagePath);
    What we have done here is when the table column is created we are mentioning that at runtime for each record the image source has to be taken from the attribute value of "Status". This will only work if at runtime the value coming in the Attribute Status has the image path (relative path).
    If for instance you dont have the image path coming from the backend but only the status code and you have to decide which image to show at runtime. This is mostly the case. Then under the node "Reports_TAB" you will have to create a calculated attribute of type String. The calculated attribute will generate a getter method which will accept the current record and return the string. You will have to write code to extract status from the current record and return the appropriate path.
    The binding of the Image table column should now point to the newly created calcuated field instead of the field Status.
    Hope this helps.
    Regards,
    Sanyev

  • How can I filter which records are displayed in my dynamic table?

    I have what I think is probably an easy question for anyone
    who is experienced with PHP/MySQL and Dreamweaver (which I am not).
    I have a website where users login, and then have access to
    their homepage which displays a dynamic table of all of the records
    that they have inserted into a database (this page also has a link
    to the form where they submit a record). However, right now I can
    only get to display all records that have been inserted instead of
    only the ones that they have inserted (which is what I want). How
    can I accomplish this?
    I already have a session variable, 'MM_username', which
    allows me to bind the user_ID to anything I need to, and when a
    user inserts a record, their 'user_ID' is already inserted into a
    column in that record for that table, so I'd like to display the
    dynamic table in a way that filters it out so it only shows the
    records that match the logged-in user's 'user_ID'.
    I've tried to use the filter function in the recordset dialog
    box, nut I just can't get it to work correctly. Any help on this
    would be much appreciated!

    I already tried that. I set the table to filter out and
    display only the records that match the landlord ID to the session
    variable(which I named 'Landlord_ID' not 'MM_username ' like I said
    earlier). When I tried to simply insert the session variable into
    the page just to see what data would show up, the result is just a
    blank space, so the session variable itself apparently has no data
    value to echo in the PHP form.
    Because of that, I have no idea how to tell dreamweaver to
    filter based on the Landlord_ID, even though I CAN echo the
    landlord ID variable in the recordset, I can't figure out how to
    put that runtime value in the filter.

  • How to change the display limits of a dynamic table?

    Hi folks,
    I'm using DW CS4 and PHP. I've got a php page with a dynamic table and repeating region that I built for my client. This table lists our entire active member list. Initially I built the dynamic table to show only 50 records at a time because 300+ records made an overly long page. Now my client wants all the records on a single page, because he doesn't like clicking through the recordset paging of First - Next - Previous - Last list to find who he is looking for. I tried changing the Repeating Region behavior to All Records (rather than 50) but it still displays only 50. I'm sure this is because initially when I set up the dynamic table, I limited it to 50 there. Is there an easy way to change the dynamic table from 50 to All Records, without rebuilding the entire page? I've looked in several places and can't find a way to edit this. Thanks for your help,
    Gail

    Gunter,
    Thanks for your continued help on this forum. You have made people's
    work a lot easier and stuck with them through some thorny issues.
    If I may redirect you to an issue I had a few months back - the initial
    posting was here at:
    http://forums.adobe.com/thread/767154?tstart=300
    I couldn't turn the answers I received into a workable solution. Would
    you be willing to take a look at this?
    Thanks again for your help,
    Gail

  • Have to display a dynamic table on specific height of JSP page

    I have large data.
    I have to show this data in dynamic table on jsp page.
    the JSP page is logically divided in different pages (as this page is used for printing on specified size of page)
    I can only display atmost 12 single rows on one page
    but some times text of one column of row become so large that rows expands vertically and occupies space of 2 or 3 rows (thats why now i have to display 8 or 9 rows on first page and then remaining on next )
    becoz of this i cant implement this check (only show 12 rows on a page).
    so what can i do to show specified height of table on one page and remaining move to next page.

    hi,
    its not so easy ...i had this problem once befor 2 months in the work
    i think u have to implement a Controller.java class that controll the iterating between pages ...
    u should have an pageIndex and just play with this index (increment and decrement)

  • Alternatives to dynamic tables for displaying dynamic data

    What methods are available for displaying data from MySQL
    with PHP on a web page? Is there any alternative to a dynamic table
    when the the quantity of data will vary? anything CSS based?
    Many Thanks

    On 27 May 2006 in macromedia.dreamweaver, Pingus mum wrote:
    > so i could just output to a div for example?
    Or a paragraph, or an <h4>, or an unordered list, or
    any other container
    tag, or the src attribute on an <img> tag, or any
    combination of the
    above. Consider the case where the database consists of press
    releases -
    date, headline, body. You could, say, make the repeat region
    like this:
    <h1>Press Releases</h1>
    <!-- start of repeat region -->
    <h2><& headlineFromDatabase &></h2>
    <p><& dateFromDatabase &> - <&
    bodyFromDatabase &></p>
    <!-- end of repeat region -->
    <address>Contact Information</address>
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Value of cell is not displayed while trying to generate dynamic table rows

    I am creating dynamic table with CoreTable, CoreColumn. I want to place CoreOutputText in the cells of the column. The header of the column is rendered properly, but not the cell value. Below is the code snippet,
              dynamicTable = new CoreTable();
              CoreColumn dynamicCol1 = new CoreColumn();
              dynamicCol1.setHeaderText("First");
              dynamicCol1.setParent(dynamicTable);
              dynamicTable.getChildren().add(dynamicCol1);
              CoreOutputText dynamicCell1 = new CoreOutputText();     
              dynamicCell1.setValue("Hello");
              dynamicCell1.setParent(dynamicCol1);
              dynamicCol1.getChildren().add(dynamicCell1);
    I want "Hello" to be printed on the cell (which is not happening now). Any idea why is not getting displayed?

    I am creating dynamic table with CoreTable, CoreColumn. I want to place CoreOutputText in the cells of the column. The header of the column is rendered properly, but not the cell value. Below is the code snippet,
              dynamicTable = new CoreTable();
              CoreColumn dynamicCol1 = new CoreColumn();
              dynamicCol1.setHeaderText("First");
              dynamicCol1.setParent(dynamicTable);
              dynamicTable.getChildren().add(dynamicCol1);
              CoreOutputText dynamicCell1 = new CoreOutputText();     
              dynamicCell1.setValue("Hello");
              dynamicCell1.setParent(dynamicCol1);
              dynamicCol1.getChildren().add(dynamicCell1);
    I want "Hello" to be printed on the cell (which is not happening now). Any idea why is not getting displayed?

  • Dynamic Table display Horizontally??

    Is there any relatively easy way to make a DW CS3 Dynamic
    Table display horizontally? So far the best I can figure out is to
    do multiple <cfoutput query= lines per:
    <table border="1">
    <tr> <cfoutput query="rsOfficeStyles"
    startRow="#StartRow_rsOfficeStyles#"
    maxRows="#MaxRows_rsOfficeStyles#">
    <td>#rsOfficeStyles.image#</td> </cfoutput>
    </tr>
    <tr> <cfoutput query="rsOfficeStyles"
    startRow="#StartRow_rsOfficeStyles#"
    maxRows="#MaxRows_rsOfficeStyles#">
    <td>#rsOfficeStyles.name#</td> </cfoutput>
    </tr>
    </table>

    You need to pass the following to the quantity fields..
    ls_fieldcat-do_sum = 'X'.
    When you build the sort table, do this...
    FORM sort_build USING lt_sort TYPE slis_t_sortinfo_alv.
      DATA: ls_sort TYPE slis_sortinfo_alv.
      CLEAR ls_sort.
      ls_sort-spos = 1.
      ls_sort-tabname = gt_tabname_item.
      ls_sort-fieldname = 'DESCBIEN'.
      ls_sort-subtot = 'X'.
      ls_sort-up = 'X'.
      ls_sort-group = 'UL'.
      APPEND ls_sort TO lt_sort.
    ENDFORM.                    " sort_build
    Has you any way of knowing which fields are quantity?
    Greetings,
    Blag.

  • Spry Dataset (dynamic table) not displaying images

    Hi - new to Spry but loving it! I just did the tutorial for
    creating
    dynamic
    tables and had no problems outside of trying to get images to
    display in one tableset. in the XML I have
    <thumb><image href="imx/china.jpg"
    /></thumb>
    with thumb being the node name (naturally). the table cell
    displays nothing but all others have text displayed properly. is
    there no way of calling in images?
    Thanks for the help and advice!

    If you really want to embed HTML in XML, then read this
    sample:
    http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
    You can also just embed the path in the XML like this:
    <thumb>img/china.jpg</thumb>
    and then reference it in your region markup like this:
    <div spry:region="ds1">
    <img src="{thumb}" alt="{thumb}" />
    </div>

  • Display dynamic table & content

    I have this one webpage which I display a Dynamic record from
    the DB. The webpage contains a table with the dynamic record inside
    the table.
    On the webpage, if the record firld from the DB is empty, the
    table is not displayed on the page. If there is, the table is
    displayed with the record inside.
    With the following code, it works fine for the empty record
    but for the other ones, it will display the table but no records
    inside...any idea?

    You need to pass the following to the quantity fields..
    ls_fieldcat-do_sum = 'X'.
    When you build the sort table, do this...
    FORM sort_build USING lt_sort TYPE slis_t_sortinfo_alv.
      DATA: ls_sort TYPE slis_sortinfo_alv.
      CLEAR ls_sort.
      ls_sort-spos = 1.
      ls_sort-tabname = gt_tabname_item.
      ls_sort-fieldname = 'DESCBIEN'.
      ls_sort-subtot = 'X'.
      ls_sort-up = 'X'.
      ls_sort-group = 'UL'.
      APPEND ls_sort TO lt_sort.
    ENDFORM.                    " sort_build
    Has you any way of knowing which fields are quantity?
    Greetings,
    Blag.

  • Dynamic Table not displaying data

    First off, i have searched high and low, and havent been able to find much help.
    That said, i have been trying to create a simple search/results page in dream weaver, i am using ASP and sql express.  Ive been following the adobe tutorial, and everything works as it says it should, except that when you actually do a search, and hit submit, the results page only shows the dynamic table headings, but no data.
    On the results page, when i create the record set, if i test it, the data shows up correctly.  However on the page itself, nothing shows up.
    Here are some example screen shots:

    Results page:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="Connections/netdata.asp" -->
    <%
    Dim rsUserResults__MMColParam
    rsUserResults__MMColParam = "1"
    If (Request.QueryString("frmUserSearch") <> "") Then
      rsUserResults__MMColParam = Request.QueryString("frmUserSearch")
    End If
    %>
    <%
    Dim rsUserResults
    Dim rsUserResults_cmd
    Dim rsUserResults_numRows
    Set rsUserResults_cmd = Server.CreateObject ("ADODB.Command")
    rsUserResults_cmd.ActiveConnection = MM_netdata_STRING
    rsUserResults_cmd.CommandText = "SELECT logonDate FROM dbo.loginInfo WHERE userName = ?"
    rsUserResults_cmd.Prepared = true
    rsUserResults_cmd.Parameters.Append rsUserResults_cmd.CreateParameter("param1", 200, 1, 50, rsUserResults__MMColParam) ' adVarChar
    Set rsUserResults = rsUserResults_cmd.Execute
    rsUserResults_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 10
    Repeat1__index = 0
    rsUserResults_numRows = rsUserResults_numRows + Repeat1__numRows
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table border="1">
      <tr>
        <td>logonDate</td>
        <td>loginTime</td>
        <td>computerName</td>
        <td>userName</td>
      </tr>
      <% While ((Repeat1__numRows <> 0) AND (NOT rsUserResults.EOF)) %>
        <tr>
          <td><%=(rsUserResults.Fields.Item("logonDate").Value)%></td>
          <td><%=(rsUserResults.Fields.Item("loginTime").Value)%></td>
          <td><%=(rsUserResults.Fields.Item("computerName").Value)%></td>
          <td><%=(rsUserResults.Fields.Item("userName").Value)%></td>
        </tr>
        <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rsUserResults.MoveNext()
    Wend
    %>
    </table>
    </body>
    </html>
    <%
    rsUserResults.Close()
    Set rsUserResults = Nothing
    %>
    Search page:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form id="frmUserSearch" name="frmUserSearch" method="get" action="userResults.asp">
      <p>Enter User Name
        <input type="text" name="userName" id="userName" tabindex="1" />
      </p>
      <p>
        <input type="submit" name="userNameSubmit" id="userNameSubmit" value="Submit" />
      </p>
    </form>
    </body>
    </html>

Maybe you are looking for

  • Here we go again! MEGA slow speeds during peak hou...

    Hi folks, I have noticed that during PEAK hours, my XBox Live sessions lag like a [insert expletive here]! WHY, oh why do BT insist on throttling, nay, strangling their network to the point where it is totally unusable for anything more than basic br

  • IPad Mini with RD and ipad mini

    hello again... At last i ordered for 32gb ipad mini with retina display. Yet to receive... And there now is a small voice in side my heart which says that price comparison b/w iPad mini with retina display and iPad mini is considerably more. I feel t

  • Cant get full volume

    After putting my phone back to restore settings ( only way i could get it off headphone setting) I cannot get full sound out of it it is showing it is on full volume but you can hardly hear it ring. It's a 3gs

  • Zire72 Data and BlueTooth HotSync

    Recently formatted/restored my 1 yearold PC (Win7HomePremium on HP Pavilion) after 1 year successful hotsync with my Zire72. Reloaded Access 6.2 and tried to replace my data in Access but couldn't make it work. Also, unable to hot sync via bluetooth

  • Assign Custom developed method into WorkFlow task

    Hello ladies and gentlemen, I've been asked to create a new Workflow to handle certain leave requirements.  The standard workflows only go so far in resolving the clients requirements.  I have created a new Object class and created a method that will