Featured Problem: Displaying unknown data in a GUI

The featured problems are problems submitted for your enjoyment and education. In the world of java, there are many many things to learn. It is, naturally, impossible to know them all. If you are new or old to java, this will give your brain a workout. The goal isto come up with the BEST solution to the problem.
Problem:
You need to show some data in a GUI List control. The difficulty is that the objects of data and their type will not be known to you until runtime. What is the best way to accomplish this?

You have a misunderstanding. You have NO CONTROL at all over the objects you are displaying. Reflection is the key, yes, but not on the object side. Instead on the cell renderer side.
The solution calls for the invention of a ListCellRenderer that allows the user of the render to render on whatever he wants, field or method result. The user tells you what he wants to render on and you render on it. Furhtermore if he can change the target and have your rendere adapt on the fly, that would be better.

Similar Messages

  • Problem Displaying out Data in JSP

    can anyone have a look at my code? i got some problems to display it in jsp when i run it with eclipse. can anyone help me on this?? did my java bean declared wrongly? thanks...
    this is my java file
    package com;
    import java.io.File;
    import com.db4o.Db4o;
    import com.db4o.ObjectContainer;
    import com.db4o.ObjectSet;
    import org.jfree.chart.*;
    import org.jfree.data.general.*;
    public class StoreData{
         private static final long serialVersionUID = 1L;
         private final static String filename = "C:\\CountryPieChart.yap";
         public static void main(String[] args){
              //Delete the existing file
              new File(filename).delete();
              ObjectContainer db=Db4o.openFile(filename);
              try {
                   StoreAllData();
                   retrieveAllData();
              } finally{
                   db.close();          //Close the database
         public static void StoreAllData() {
              //Delete the existing file
              new File(filename).delete();
              ObjectContainer db = Db4o.openFile(filename);
              //Add data to the database
              CountryPeople countryName_1 = new CountryPeople("Malaysia", 100);
              CountryPeople countryName_2 = new CountryPeople("New Z", 200);
              CountryPeople countryName_3 = new CountryPeople("UK", 300);
              CountryPeople countryName_4 = new CountryPeople("Thailand", 400);
              CountryPeople countryName_5 = new CountryPeople("Singapore", 50);
              //set the value to database
              db.set(countryName_1);
              db.set(countryName_2);
              db.set(countryName_3);
              db.set(countryName_4);
              db.set(countryName_5);
         public static void retrieveAllData() {
              //Open db
              ObjectContainer db = Db4o.openFile(filename);
              //Retrieve via empty object
              CountryPeople cName = new CountryPeople(null, 0);
              ObjectSet result = db.get(cName);
              DefaultPieDataset dataset = new DefaultPieDataset();
              //retrieve the data from database
              while(result.hasNext()) {
                   CountryPeople obj = (CountryPeople) result.next();
                   dataset.setValue(obj.getName(), obj.getValue());
                   //System.out.println(result.next());
              //Create pie chart
              JFreeChart chart = ChartFactory.createPieChart(
                        "Sample Chart",
                        dataset,     
                        true,
                        true,
                        false);
              try {
                   //save the pie chart as JPEG file
                   ChartUtilities.saveChartAsJPEG(new File("C:\\CountryPieChart.jpg"), chart, 500, 300);
              } catch(Exception e) {
                   System.out.println("Problem for creating chart");
    and this is my jsp file
    <jsp:useBean id="myStoreData" class="com.StoreData" scope="page"></jsp:useBean>
    <html>
    <head><title>Testing Displaying</title>
    </head>
    <body>
    <b>Testing Display Page</b>
    <img src="<jsp:getProperty name="myStoreData" property="getFileName" /> /">
    </body>
    </html>

    <img src="<jsp:getProperty name="myStoreData" property="getFileName" /> /">
    property="getFileName": There isnt such a property available in your bean.

  • Problem displaying XML data in XSL page

    Hi There!
    I'm having trouble when adding XML data from the schema (which shows up  properly in the bindings panel)  to the XSL page..
    Following the step by step available here...
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822 510a94ae8d65-7a56a.html#ionCTAAnchor
    After  adding the XML item to the XSL file it ends up showing  up as  parent/client/name   (no brackets)  Instead of like the  example above  where it should display as {parent/client/name} and be  highlighted.    Also when previewing the XSL document it just shows   'parent/client/name'  instead of the actuall XML content..
    I  believe the XML data source is properly attached because it shows up in  the bindings panel..  But I don't know what else could be going wrong..
    Any help would be great!

    This is being enhanced to that the [...] button that appears in the data grid is available for all grid of data so that a popup with an extended area is shown.
    -kris

  • Problem Displaying data from oracle in JTable

    Please can any one help me? I have a problem displaying the data fetched from oracle database(ResultSet) in JTables. Can any one provide me with any possible way out(and any alternative).

    User,
    As suggested in the other post - Google/Books/find a mentor is the best option.

  • Problem while uploading data with GUI UPLOAD Function

    Hi,
      I am facing problem while uploading data with FM GUI UPLOAD    in out text file there are 7 row  but after the FM GUI UPLOAD  there are 14 entries are coming in Internal table   and each alternate row is coming as blank  with  0000 in some column   in internal table first row is proper and second line is blank so on.
    what can be the problem .
    The program in which we are using this we are using it from last 2 year but we are facing problem today only.
    regards,
      zafar

    Hi,
      The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change  in the file formate.
      So waht can be the problem  to check any inconsistancy in system  i have develop a samll program fro  uploading a text file with same function module ,  but it is working fine.
    regards,
      zafar

  • DataGrid does not display XML data

    Hello, and thanks for reading this...
    I am having a problem displaying XMLList data in a DataGrid.
    The data is coming from a Tree control, which is receiving it
    from a database using HTTPService.
    The data is a list of "Job Orders" from a MySQL database,
    being formatted as XML by a PHP page.
    If it would be helpful to see the actual XML, a sample is
    here:
    http://www.anaheimwib.com/_login/get_all_orders_test2.php
    All is going well until I get to the DataGrid, which doesn't
    display the data, although I know it is there as I can see it in
    debug mode. I've checked the dataField property of the appropriate
    DataGrid column, and it appears correct.
    Following is a summary of the relevant code.
    ...An HTTPService named "get_all_job_orders" retrieves
    records from a MySQL database via PHP...
    ...Results are formatted as E4X:
    HTTPService resultFormat="e4x"
    ...An XMLListCollection's source property is set to the
    returned E4X XML results:
    ...The "order" node is what is being used as the top-level of
    the XML data.
    <mx:XMLListCollection id="jobOrdersReviewXMLList"
    source="{get_all_job_orders.lastResult.order}"/>
    ...The "jobOrdersReviewXMLList" collection is assigned to be
    the dataProvider property of a Tree list, using the @name syntax to
    display the nodes correctly, and a change event function is defined
    to add the records to a DataGrid on a separate Component for
    viewing the XML records:
    <mx:Tree dataProvider="{jobOrdersReviewXMLList}"
    labelField="@name"
    change="jobPosForm.addTreePositionsToDG(event)"/>
    ...Here is the relevant "jobPosForm" code (the Job Positions
    Form, a separate Component based on a Form) :
    ...A variable is declared:
    [Bindable]
    public var positionsArray:XMLList;
    ...The variable is initialized on CreationComplete event of
    the Form:
    positionsArray = new XMLList;
    ...The Tree's change event function is defined within the
    "jobPosForm" Component.
    ...Clicking on a Tree node fires the Change event.
    ...This passes an event object to the function.
    ...This event object contains the XML from the selected Tree
    node.
    ...The Tree node's XML data is passed into the positionsArray
    XMLList.
    ...This array is the dataProvider for the DataGrid, as you
    will see in the following block.
    public function addTreePositionsToDG(event:Event):void{
    this.positionsArray = selectedNode.positions.position;
    ...A datagrid has its dataProvider is bound to
    positionsArray.
    ...(I will only show one column defined here for brevity.)
    ...This column has its dataField property set to "POS_TITLE",
    a field in the returned XML record:
    <mx:DataGrid width="100%" variableRowHeight="true"
    height="75%" id="dgPositions"
    dataProvider="{positionsArray}" editable="false">
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Position Title"
    dataField="POS_TITLE"/>
    </mx:columns>
    </mx:DataGrid>
    In debug mode, I can examine the datagrid's dataProvider
    property, and see that the correct XML data from the Tree control
    is present. However, The datagrid does not display the data in any
    of its 6 columns.
    Does anyone have any advice?
    Thanks for your time.

    Hello again,
    I came up with a method of populating the DataGrid from the
    selected Item of a Tree Control which displays complex XML data and
    XML attributes. After the user clicks on a Tree branch, I call this
    function:
    public function addTreePositionsToDG(event:Event):void{
    //Retrieve all "position" nodes from tree.
    //Loop thru each Position.
    //Add Position data to the positionsArray Array Collection.
    //The DataGrid dataprovider is bound to this array, and will
    be updated.
    positionsArray = new ArrayCollection();
    var selectedNode:Object=event.target.selectedItem;//Contains
    entire branch.
    for each (var position:XML in
    selectedNode.positions.position){
    var posArray:Array = new Array();
    posArray.PK_POSITIONID = position.@PK_POSITIONID;
    posArray.FK_ORDERID = position.@FK_ORDERID;
    posArray.POS_TITLE = position.@POS_TITLE;
    posArray.NUM_YOUTH = position.@NUM_YOUTH;
    posArray.AGE_1617 = position.@AGE_1617;
    posArray.AGE_1821 = position.@AGE_1821;
    posArray.HOURS_WK = position.@HOURS_WK;
    posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
    posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
    posArray.JOB_DESCR = position.@JOB_DESCR;
    posArray.DES_SKILLS = position.@DES_SKILLS;
    positionsArray.addItem(posArray);
    So, I just had to manually go through the selected Tree node,
    copy each XML attribute into a simple Array, then ADD this Array to
    an ArrayCollection being used as the DataProvider for the DataGrid.
    It's not elegant, but it works and I don't have to use a Label
    Function, which was getting way too complicated. I still think that
    Flex should have an easier way of doing this. There probably is an
    easier way, but the Flex documentation doesn't provide an easy path
    to it.
    I want to thank you, Tracy, for the all the help. I checked
    out the examples you have at www.cflex.net and they are very
    helpful. I bookmarked the site and will be using it as a resource
    from now on.

  • Dynaminc display of date

    Hi guys,
           I got a problem displaying the data in the selection screen..I got a radiobutton i need to give some discription for the radiobutton such that it should display the previous days date dynamically...
    eg: * activity for "15/05/2005"..
       So the date should be dynamic it should show the previous days date.
    Hope u understood my problem.....Pls help me out ASAP.......

    Hi,
    Try this:
    SELECTION-SCREEN COMMENT /1(50) comm1 MODIF ID mg1.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN COMMENT /1(30) comm2.
    SELECTION-SCREEN ULINE /1(50).
    selection-screen begin of line.
    SELECTION-SCREEN COMMENT 1(30) comm3.
    PARAMETERS: r1 RADIOBUTTON GROUP rad1.
    selection-screen end of line.
    parameters: r2 RADIOBUTTON GROUP rad1,
                r3 RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN ULINE /1(50).
    AT SELECTION-SCREEN OUTPUT.
      comm1 ='Selection Screen'.
      comm2 ='Select one'.
      comm3 = sy-datum.
      LOOP AT SCREEN.
        IF screen-group1 = 'MG1'.
           screen-intensified = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    I've found the example in the Online Help and added the line with the date.
    HTH
    Stefan

  • Problem in displaying the data of columns into rows in sap script

    hi,
    i am working on a sap script and i have to display the dat which is displayed in column into rows but it is not displaying it properly.
    eg, C
        12.1
        Si
        5.5
    it is displaying the data right now like this but i want to display the  data like this:-
    eg, C      Si
        12.1   5.5
    plzzprovide me guidelines how to solve this problem.

    hi,
    i am using this code to display the data:-
    plzz provide me guidelines where i am getting wrong?
    TOPparCOMPONENT DESP,,,,,, INS. LOT #, , , , , , MIC,,,,,,,,,, MIC VALUEparENDTOPparFINAL
    PROTECT
    IF &I_FINAL-PRUEFLOS& NE '000000000000'
    &I_FINAL-MAKTX(23)&&i_final-prueflos(12Z)&
    &I_FINAL-kurztext(25)&
    &I_FINAL-original_input(8)&
    ELSE
    &I_FINAL-MAKTX(23)&     
    &I_FINAL-kurztext(25)&
    &I_FINAL-original_input(8)&
    ENDIF
    ENDPROTECT
    ITEMHEAD
    POSITION WINDOW
    SIZE WIDTH +0 . 4 CH HEIGHT +1 LN
    BOX FRAME 10 TW
    BOX HEIGHT '1.35' LN INTENSITY 20
    IF &PAGE& = '1'
    BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10' TW
    For horizontal line at top
    BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW
    COLUMN LINES...
    END OF COLUMN LINES...
    BOX XPOS '0' CH YPOS '43' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW
    BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '43' LN FRAME '10'TW
    ELSE
    COLUMN LINES...
    END OF COLUMN LINES...
    BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '0' CM WIDTH '45' CM HEIGHT '0' LN FRAME '10' TW
    BOX XPOS '20' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW
    BOX XPOS '0' CH YPOS '47' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW
    BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '47' LN FRAME '10'TW
    ENDIF
    LINEFEED
    NEWPAGE
    NEW-PAGE
    provide me guidelines to solve this problem.
    Edited by: ricx .s on Mar 13, 2009 5:58 AM

  • Problem in displaying extension data at item level in JSP!!!

    Hi Experts,
    I am facing a problem when i try to display extension data in JSP. This is how i have coded in CRM system and in JSP:
    After searching an order in the webshop let say order no 1, and i ll select this order no .1. Now the BADI CRM_ISA_BASKET_ITEMS is triggered and in the method getitems_getdata, i have written a code with hard coded values like this:
    method IF_EX_CRM_ISA_BASKET_ITEMS~GETITEMS_GET_DATA..
    data:wa_extension like line of ct_extension.
    wa_extension-ref_guid = '498AB6EC7B623152E1000000AC1383C5'.(ref guid is item guid of the order 1)
    wa_extension-name = 'Z_CustomItemExtData'.
    wa_extension-value = 'he is a good boy'(hardcoded value) .
    append wa_extension to ct_extension.
    endmethod.
    And in JSP i have written code like this to display:
    <%--  code for extension data --%>                       
    <tr>
    <td class="identifier">Ext data</td>
    <td class="value" ><%= JspUtil.encodeHtml(orderitem.getExtensionData("Z_CustomItemExtData")) %></td>
    </tr>
    But i am not getting the value in the JSP which i have hard coded in the BADI method. Is there any thing wrong in the above code? Please help me in this as i am very much new to ABAP.
    Thanks a lot in Advance!!
    Regards,
    lakshman.

    hi,
    did you hardcode the ref-guid too? This could be the problem.
    Regards
    Michael

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

  • Sql Devloper 4.0.0.13 - problems with displaying user data types

    Hi,
    I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
    The problem persist in table view, script output and exported files.
    My type is described as follows:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    when make select column from table that contains this type I get next results:
    CASE 1:
    SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
    Select:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result:
            ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
    END CASE 1;
    CASE 2:
    SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
    Select1:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result1:
    ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)    
    But if I select one element it is displayed normal.
    Select2:
    select id, a.adresalokacija.opcina
    from dptr_saglasnosti a
    where id = 1;
    Result2:
    ID ADRESALOKACIJA.OPCINA
             1 TRAVNIK                  
    END CASE 2;
    I have tried this scenario on three different pc with same output.
    Pleas help me to get rid of the '???' in result.
    Best Regards,
    Omer

      I tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
    all data can show,No ??? in result
    Test step as following:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    CREATE TABLE dptr_saglasnosti (
    adresalokacija        DPTY_ADRESA,
      id    number);
      INSERT INTO dptr_saglasnosti VALUES (
      DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
    select id, adresalokacija from dptr_saglasnosti where id = 1;
    ID ADRESALOKACIJA
    1    HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta')

  • Problems Displaying data from RFC on Adobe Forms

    Hi,
    I have some Problems with creating an Adobe Form and hope, someone can help me or give me some hinds to some tutorials, which can help me.
    I'm developing an webdynpro-application which get data from a R/3 via RFC-Call.
    Context-Binding and so on is done and works. I created also an interactive form and can display some datas on it.
    Here my questions:
    I have an field 'unit' which shoulb be displayed on several positions onto the form. My problem is, i can display it only once. If i copy the field, there is no output in it. What can i do, to solve the problem?
    From the RFC i get a table with several rows of data, i want to display on the form.
    With drag&drop i can place the fields onto the form but they are displayed only once. I want one line for every row from the table.
    What do i have to do? Are there tutorials which show the steps?
    When I am not using a form, i can display the data from RFC in a table with no problems (i create a table ui and choose create binding from context menue). Are the nescessary steps for displaying the data on an interactive form the same.
    I read something about creating a dynamic form design. Do i have to create it? What are the steps i have to do.
    Many questions, but i hope that someone can give me some helpful hints.
    Many thanks
    Mathias Lange

    Hi Mathias,
    If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
    So, follow the steps:
    1. Insert one sub form on your adobe form.
    2. Set its type as "flow content" in object->subform property.
    3. Set flow direction as "Table".
    4. Insert another subform inside this subform.
    5. set its type as "flow content" and flow direction as "Table row".
    6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
    7. Now, insert your column fields inside this sub form once.
    8. Format its look and feel as you want.
    When you run this application, it will show you multiple data as table on Adobe form.
    Regards,
    Bhavik

  • LSMW problem during display converted data

    Dear Expert,
    We have problem in LSMW during display converted data.
    When using display converted data, the output will show many of rows based on data content.
    For example, contains 6 rows. But when we want to see details of the data for one row (example row 2) by double clicking on it, the problem occurs, the output will show the details of the data from the last row (row 6).
    Please your advice.
    Thanks and Regards

    Hi,
    There seems to be sorting issue. Do you have dependency on data while executing the script?
    how about reading the data , is it getting uploaded correctly?
    Regards

  • Problem in Decimal displaying of Data in BI 7.0 DSO

    Hi Experts,
                        We were creating similar ODS which was in 3.5 in BI 7.0 Version.While transferring routine from 3.5 to 7.
    There is difference in display of data.
    In BI 7.0  ODS it is showing as 22.73
    In BW 7.0 DSO it is showing as 22.72
    I have written routine in BI7 as follows which is same as in BW 3.5 ODS for Keyfigure1.
    The calcualtion for routine is
    Keyfigure1 = Keyfigure2 * Keyfigure3.
    Ex: 9.000 * 2.5249999999999
    The result for this routine in transformation is displaying as 22.72(During testing of rule) in BI7 but result in ODS is showing as 22.73.
    Please share information about what might be reasons for these Change in display

    Hi Ananda,
                     I have one more key figure which dispalys in FLTP formaat..
    The keyfigure i am using is of type CURR

  • Problems with Capture Date when converting from PSE9

    I'm trying to troubleshoot a problem I'm having when converting my PSE9 catalog to LR3.4. Specifically, about 20% of my images (abouit 2,500 out of 12,000) didn't import with capture dates. I can clearly see the correct capture dates in PSE9 Organizer, but when I view the same imported images in LR3.4, there is no date. This occurs with dates that I've modified in PSE9 as well as dates straight out of the camera.
    This is a major problem for me because I'm used to organizing my photos in PSE9 using capture dates. On a related note, PSE9 allows you to set the capture date to a known year and unknown month, day, and time, but when imported into LR3, these dates are converted to Jan 01 of the known year. Sorry, but Jan 01 is not the same as unknown. Is there a way to correctly display unknown portions of a capture date in LR3 similar to the way it's displayed in PSE9?
    Sorry if this has been discussed before.

    How did you convert your catalog?  Did you use File > Upgrade Photoshop Elements Catalog, or did you use File > Import Photos?  You should use the former; the latter has many problems, among which PSE doesn't always correctly write medata (e.g. capture dates) into files. If you used File > Upgrade Photoshop Elements Catalog, post an image here and we can take a look at its metadata to troubleshoot.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    On a related note, PSE9 allows you to set the capture date to a known year and unknown month, day, and time, but when imported into LR3, these dates are converted to Jan 01 of the known year.
    Even though Adobe's XMP metadata standard allows for unknown month, day, or time, most programs including LR don't support it -- PSE is the only program I know of that does (and it has problems).  I use the conveniton of 1/1 12:00:00 to represent unknown values.
    See this FAQ for other issues with converting PSE catalogs to LR:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Converting_to_Lightroom

Maybe you are looking for