Time string display in table

Hola! necesito mostrar la hora en una tabla de datos. Lo he hecho como véis en el ejemplo pero sólo se muestra el primer dígito de la hora (además necesitaría que salgan minutos y segundos). ¿Cómo puedo hacerlo?
¡Resuelto!
Ir a solución.
Adjuntos:
table_header_time.vi ‏25 KB

Hola de nuevo Alipio,
siguiendo los ejemplos que me envías he conseguido mostrar en una columna la fecha y hora junto a las otras columnas de los datos. Gracias de nuevo. Esto me funciona con un for loop, pero con un while loop los datos no se llegan a grabar en el fichero.¿Qué es lo que me falta? me interesa que esto funcione en un while loop porque donde tengo que añadir esto es en un loop de ese tipo.
Adjuntos:
Table_data_time_whileLoop.vi ‏13 KB
table_header_time.vi ‏18 KB

Similar Messages

  • Unselect all the rows when display my table the first time

    Hi all,
    When I execute my webdynpro the first time my table is displayed with the first row selected, but this is false, this line is not selected.
    If i execute the method get_selected_elements don't return anything in the table, but if i do a Click in this row then works fine.
    I tried to unselect all the rows when i display the table the first time in the method WDDOINIT doing the following;
    DATA lo_nd_my_table TYPE REF TO if_wd_context_node.
      DATA: lt_elements TYPE wdr_context_element_set,
                 lo_element TYPE REF TO if_wd_context_element,
                 lo_node TYPE REF TO if_wd_context_node.
      lo_nd_my_table = wd_context->get_child_node( name = wd_this->wdctx_my_table ).
      lt_elements = lo_nd_my_table->get_elements( ).
      LOOP AT lt_elements INTO lo_element.
        lo_element->set_selected( SPACE ).
      ENDLOOP.
    But, doesn't work...
    How can i do it?
    Thanks in advance.

    hi,Husalban RM     .
    You don't need to DE-SELECT each element of the context node.
    You can try the following:
    lo_node->set_lead_selection_index( -1 ).
    "lo_node is the context node which is bound to your table.
    Hope it can help you a little.
    Best wishes.

  • M table of infoobject takes lot of time to display data

    Hi All,
    When we try to display M table data of infoobject, it takes hours and hours. But if we display SID table data for same object, it comes in a couple of minutes. Can anyone tell me what would be the issue and how can we solve it?
    Regards
    Preethi

    Hi,
    Can you activate your master info object by using program - RSDG_IOBJ_ACTIVATE.
    it will reactivate all master data tables and later try to check at  M Table.
    I think it may display data in time.
    Thanks

  • Can I display different tables at the same time?

    Hello all,
    This is probably a newbie question but is it possible to display different tables at the same time? I'm using SQL Developer 1.5.5 and I seem to be unable to display more than one table at the same time, whenever i chose to open another table, the old table disappears. In other words, the table display just switches to your new choice in the table list navigator. Any ideas anyone?
    Regards,
    wf

    Menu item "Tools -> Preferences -> Database -> ObjectViewer Parameters"; make sure "Automatically Freeze Object Viewer Windows" is checked.
    HTH.
    Ed. H.

  • To store time only in the table and get it to the report in Apex

    Hi,
    I am very very new to Apex.
    I get a txt file with around 57 columns(comma seperated). In apex we import this and insert it into a database table (csv into table) and then generate a reports out of this table using procedure/packages. we have different fields in this extract which gives different dates and times ( thats right dates and time comes seperate in seperate columns). I would like to insert this dates and times seperately into the table. thats is, getting a table as an exact image of the extract we receive.What data type do I choose to save just the time.
    I can only see 'date' data type where I can have both date and time. But can't find anything just for time.
    The main use of this time(s) saved seperately in the table is , I can then easily display it in reports.
    The report the users want has got fields like transport start time, duty start time etc..
    If you can't save time seperately in the database table, then can somebody suggest a way of saving it in table (in the method available)and then getting the time seperated out into the report.
    Currently the users use macro on excel to get this reports and formatting a cell to 'time' is simple.
    Any suggestions welcome.
    Regards
    Liza

    Varad,
    I have been trying to get this date-time issue in different areas in my application.
    From csv to table its working (once I got dates in the extract adjusted to '02mar2009' format).
    Now I have manipulation to do on this datetime.
    Say I have datetime1, to get datetime2 I have to get datetime1 and reduce some minutes.
    I got the time part into l_temp after reducing the minutes.
    datetime2 :=to_date(sysdate || l_temp,'dd-mon-yyyy hh24mi');
    It gives an error saying 'literals doesn't match format string' (both at sql command and PL/SQL in apex
    I even tried datetime2 :=to_date(to_char(sysdate,'dd-mon-yyyy') || l_temp,'dd-mon-yyyy hh24mi');
    gets the same error in apex but this works fine in sql command.
    But if I put datetime2 :=to_date('02mar09' || l_temp,'dd-mon-yyyy hh24mi');
    Do you know why? Can you suggest something?
    Obviously, I can't hard code it. I have read the date from table1 and write it to table 2 with after this manipulation.
    Any suggestion?
    regards
    Liza
    Edited by: liza on Mar 3, 2009 5:13 PM

  • How to display a table data on Screen having a Table control

    Hi ,
    I am new to ABAP.I would like to display a table data (Eg: ZDemo) on a screen at run time.I have defined a Table control in screen. Now I want to populate data from ZDemo to table control.How can I do that?Please help moving forward in this regard.

    Hi Gayatri,
      After creating table control do the following steps.
    1. In the flow logic section write the following code:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0200.
    LOOP AT I_LIKP WITH CONTROL LIKP_DATA CURSOR LIKP_DATA-CURRENT_LINE.
      MODULE ASSIGN_DATA.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0200.
    LOOP AT I_LIKP.
    ENDLOOP.
    I_LIKP is the internal table which is used to display table data in the table control.
    2. In Process Before Output, in the module STATUS_0200 write the following code:
      DESCRIBE TABLE I_LIKP LINES FILL.
      LIKP_DATA-LINES = FILL.
      In Process After Input, in the module USER_COMMAND_0200 write the following code:
      CASE SY-UCOMM.
       WHEN 'LIPS'.
        READ TABLE I_LIKP WITH KEY MARK = 'X'.
        SELECT VBELN
               POSNR
               WERKS
               LGORT
               FROM LIPS
               INTO TABLE I_LIPS
               WHERE VBELN = I_LIKP-VBELN.
        IF SY-SUBRC = 0.
         CALL SCREEN 200.
        ENDIF.
       WHEN 'BACK'.
        SET SCREEN 200.
      ENDCASE.
    In Process Before Output and in the module ASSIGN_DATA which is there inside the loop write the following code:
    MOVE-CORRESPONDING I_LIKP TO LIKP.
    So, Totally your flow logic code should be like this.
    TABLES: LIKP, LIPS.
    DATA: BEGIN OF I_LIKP OCCURS 0,
           VBELN LIKE LIKP-VBELN,
           ERNAM LIKE LIKP-ERNAM,
           ERZET LIKE LIKP-ERZET,
           ERDAT LIKE LIKP-ERDAT,
           MARK  TYPE C VALUE 'X',
          END OF I_LIKP,
          BEGIN OF I_LIPS OCCURS 0,
           VBELN LIKE LIPS-VBELN,
           POSNR LIKE LIPS-POSNR,
           WERKS LIKE LIPS-WERKS,
           LGORT LIKE LIPS-LGORT,
          END OF I_LIPS,
          FILL TYPE I.
    CONTROLS: LIKP_DATA TYPE TABLEVIEW USING SCREEN 200,
              LIPS_DATA TYPE TABLEVIEW USING SCREEN 300.
    DATA: COLS LIKE LINE OF LIKP_DATA-COLS.
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
      WHEN 'LIKP'.
       SELECT VBELN
              ERNAM
              ERZET
              ERDAT
              FROM LIKP
              INTO TABLE I_LIKP
              WHERE VBELN = LIKP-VBELN.
       IF I_LIKP[] IS INITIAL.
         CALL SCREEN 200.
       ENDIF.
      WHEN 'EXIT'.
       LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  assign_data  OUTPUT
          text
    MODULE ASSIGN_DATA OUTPUT.
    MOVE-CORRESPONDING I_LIKP TO LIKP.
    ENDMODULE.                 " assign_data  OUTPUT
    *&      Module  STATUS_0200  OUTPUT
          text
    MODULE STATUS_0200 OUTPUT.
      DESCRIBE TABLE I_LIKP LINES FILL.
      LIKP_DATA-LINES = FILL.
    ENDMODULE.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
          text
    MODULE USER_COMMAND_0200 INPUT.
      CASE SY-UCOMM.
       WHEN 'LIPS'.
        READ TABLE I_LIKP WITH KEY MARK = 'X'.
        SELECT VBELN
               POSNR
               WERKS
               LGORT
               FROM LIPS
               INTO TABLE I_LIPS
               WHERE VBELN = I_LIKP-VBELN.
        IF SY-SUBRC = 0.
         CALL SCREEN 200.
        ENDIF.
       WHEN 'BACK'.
        SET SCREEN 200.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    Save and Activate the program along with the screen in which you have included table control.
    Hope this will help you.
    Regards
    Haritha.

  • What is the right  way to display a table in Java web dynpro using a node.

    Hi experts,
      I am trying to show a node of cardinality 0...n as a table in an adobe form in Java web dynpro. But its not showing it properly. Can anybody please tell me what is the right way to display a table on adobe form using a node of cardinality 0...n or 1...n in Java Webdynpro.  In ABAP webdynpro, we can drag and drop a node of cardianlity 0...n or 1...n to  show as a table and it works fine. Is the same possible in Java webdynpro also. Please help.
    Thanks and Regards.
    Vaibhav Tiwari.

    Please refer to my post.. you will get the answer
    Dynamic Table -  same data repeating in all rows
    Special care should be taken in designing the context for table attribute.
    The attribute type singletone also plays a important role. I have this doubt from the beginning when you have reported this problem for the first time but finally you marked it as solved so i thought there might be some other issues but again when you reported that again i did some analysis.
    Now coming to final solution :
    For designing a table in adobe interactive form you have consider following
    You have to design the view context upto three level, I am explaining you the properties
    PDFDataSource (Parent Level1) - Cardinality 1:1 - Signetone -True - This is assigned to datasource
    TableList (Parent Level2) - Cardinality (1:1) - Signetone -True
    TableWrapper(Parent Level3) - Cardinality (0:n) - Signetone -True
    TableData (Parent Level4) - Cardinality (0:1) - Signetone - false (This is the main point)
    Then under TableData value node, you have to put all your table attributes.
    This Value Node name can be anything but hierarchy should be same as I have mentioned above.
    Please try out these steps and get back to me if you have any doubt.

  • How to get Sum for my Elapse Time string for my group

    Hi,
    How can I get the sum of an elapse time string in my group footer 2 and group footer 1 from the report screenshot attached.
    I have a report that display TimeIn and TimeOut of an employee.
    For the total time I have created a formula that will take my time in seconds and displaying it in hrs, minutes and seconds.
    How can I get the sum of all the total time per day and display this in my group footer 2.
    As well I will need to add the grand total to group footer 1 for the total of days.
    The formula I have for the total time is as follow:
    WhileReadingRecords;
    NumberVar TotalSec :=  {TimeLogs.TotalTime};
    NumberVar Hours   := Truncate  (Remainder ( TotalSec , 86400) / 3600) ;
    NumberVar Minutes := Truncate  (Remainder ( TotalSec , 3600) / 60) ;
    NumberVar Seconds := Remainder (TotalSec , 60) ;
    Totext ( Hours ,   '00' ) +  ':' +
    Totext ( Minutes , '00' ) +  ':' +
    Totext ( Seconds , '00' )
    This is a seperate question below but related as well to this report.
    Another question I have is how can I round up for example 03:30:58 to 03:31:00
    And also how can I round down for example 03:26:10 to 03:26:00
    Any help would be appreciated.
    Thank you,
    Joe

    Hi Jamie,
    Well I ran into an issue with this. My Daily Total, there is no issue, it is displaying the proper time. But when I add a summary to my Group Footer 1, it doesn't add up properly.
    If I select only 1, 2, or 3 days my Date Range Total is adding fine but when selecting 5 days for example, as you can see from the picture below, for an unknowned reason the total of hrs is wrong.
    Do you know why this is happening.
    Than you for your help.
    Joe
    Picture below, this is working fine?

  • Modelling Time Dimension with Fact Table containing Start Date and End Date

    Hi Gurus,
    I have a time dimension with Year till Date. I have a fact table which consists of Start Date, End Date, Person ID, Department ID.
    How do i design Time dimension with fact table the below scenario
    In the dashboard i have start Month and End month as prompts.
    In the report i need to display Count(Person ID) > Start Date and < End Date along the trend.
    For instance, i have selected Jan-2009 as start date and Apr-2009 as End Date, then i need to display Count(Person ID) of Jan-2009, Feb2009, Mar-2009 andApr-2009.
    I Can not connect Time dimension with only Start Date or only with End Date to get the trend along the months.
    Please advice on the issue which i am having.

    Hi,
    Thanks for the response, Infact i tried using Complex join in physical layer. I have considered Time table joined with Fact table, and used >= and took and alias of the Time table and joined fact table using <=. When coming to BMM, i am not knowing how do i design this as if i merge the both the time dimensiona and its alias into single table, values will not be correct and if i make them as seperate columns. i can not show the trend as both are different columns.
    Can you please let know where i am going wrong.
    Thanks

  • Displaying 2 tables in 1 frame

    Hi guys,
    I have this problem. I need to display 2 tables (with scroll panes) on a frame. I have tried it a couple of different ways.
    1) Using 1 JPanel that has 1 table and then adding that and another table to a JFrame (GridLayout)
    2) Using GridLayout on a JPanel and adding that to a JFrame
    3) Using 2 JPanel and adding it to a JFrame
    4) Placing both JTables on 1 JPanel and then adding that to the JFrame
    but it doesn't work. It seems that the table that is added first (not to mention the buttons and textfields) doesn't appear (not visible) only the 2nd table is visible.
    This this the latest "version" I've tried.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.table.TableColumn;
    public class Main {
        //Variable declarations
        private JFrame f;
        private JScrollPane ladderSP, resSP;
        private JPanel p0, p1;
        public Main() {
            createTable();
            createResTable();
            createPanelZero();
            createPanelOne();
            createAndShowGUI();
        private void createAndShowGUI() {
            f = new JFrame("Calculate MW");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setLayout(new GridLayout(1,2));
            f.setLocation(100, 100);
            f.add(p0);
            f.add(p1);
            f.pack();
            f.setResizable(false);
            f.setVisible(true);
        private void createPanelZero() {
            p0 = new JPanel(new GridLayout(1,2));
            p0.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
            p0.add(ladderSP);
            p0.add(resSP);
        private void createPanelOne() {
            p1 = new JPanel(new GridLayout(1,1));
            p1.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
            p1.add(resSP);
        private JTextField setObjSize (JTextField com) {
            Dimension d = new Dimension(80, 23);
            com.setPreferredSize(d);
            com.setMaximumSize(d);
            com.setMinimumSize(d);
            return com;
        private void createTable() {
            // Variables
            String[] colNames = {"Molecular Weight", "Length (cm)"};
            String[][] data;
            data = getLadder(new File("ladder.txt"));
            JTable table = new JTable(data, colNames);
            table.setPreferredScrollableViewportSize(new Dimension(220, 300));
            // Set 1st column uneditable
            JTextField tf = new JTextField();
            tf.setEditable(false);
            TableColumn wtCol = table.getColumnModel().getColumn(0);
            wtCol.setCellEditor(new DefaultCellEditor(tf));
            // Set the table width
            table.setColumnSelectionAllowed(false);
            table.getTableHeader().setResizingAllowed(false); //not allowing resizing of columns
            table.getTableHeader().setReorderingAllowed(false); //not allowing reordering of columns
            table.setRowSelectionAllowed(false);
            ladderSP = new JScrollPane(table);
        private void createResTable() {
            String[] colNames = {"Partition", "Molecular Weight"};
            String[][] data = new String[1][1];
            JTable table = new JTable(data, colNames);
            table.setPreferredScrollableViewportSize(new Dimension(220, 401));
            //table.setEnabled(false);
            table.setRowSelectionAllowed(false);
            table.getTableHeader().setResizingAllowed(false);
            table.getTableHeader().setReorderingAllowed(false);
            resSP = new JScrollPane(table);
            //resSP.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
        private String[][] getLadder(File file) {
            String line;
            String[] temp = new String[2];
            String[][] sA = new String[30][2];
            int x = 0;
            try {
                BufferedReader reader = new BufferedReader(
                        new FileReader(file));
                while ((line = reader.readLine()) != null) {
                    if (line.length() > 0) {
                        temp = line.split("\\t");
                        sA[x][0] = temp[0];
                        sA[x][1] = temp[1];
                        x++;
            catch (IOException e) {
                System.out.println(e.getStackTrace());
                System.out.println(e.getMessage());
            String[][] tempArr = new String[x][2];
            for (int y=0; y<x; y++) {
                tempArr[y][0] = sA[y][0];
                tempArr[y][1] = sA[y][1];
            return tempArr;
        public static void main(String[] args) {
            Main black = new Main();
    }There are labels and textfields and such but I've cut them out because it seems that having 2 JTables causes the problem to happen.
    Am I doing something wrong?
    Thanks.
    Desmond

    Oh damn I forgot about that, sorry.
    Here is the code again (amended). I've added all the JComponents and made it independent of external sources.
    Does anyone else have this problem or is it only me?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.table.TableColumn;
    public class Main {
        //Variable declarations
        private JFrame f;
        private JScrollPane ladderSP, resSP;
        private JPanel p0, p1;
        public Main() {
            createTable();
            createResTable();
            createPanelZero();
            createPanelOne();
            createAndShowGUI();
        private void createAndShowGUI() {
            f = new JFrame("Calculate MW");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setLayout(new GridLayout(1,2));
            f.setLocation(100, 100);
            f.add(p0);
            f.add(p1);
            f.pack();
            f.setResizable(false);
            f.setVisible(true);
        private void createPanelZero() {
            p0 = new JPanel(new GridBagLayout());
            p0.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
            //set global gridbag constraints
            GridBagConstraints c = new GridBagConstraints();
            c.anchor = GridBagConstraints.EAST;
            c.insets = new Insets(1, 1, 0, 1);
            //length label
            JLabel lengthLabel = new JLabel("Length (cm): ");
            c.gridx = 0;
            c.gridy = 0;
            p0.add(lengthLabel, c);
            //length text field
            JTextField lengthTF = new JTextField();
            lengthTF = setObjSize(lengthTF);
            c.gridx = 1;
            c.gridy = 0;
            p0.add(lengthTF, c);
            //partition label
            JLabel partitionLabel = new JLabel("Number of partititons: ");
            c.gridx = 0;
            c.gridy = 1;
            p0.add(partitionLabel, c);
            //partition text field
            JTextField partitionTF = new JTextField();
            partitionTF = setObjSize(partitionTF);
            c.gridx = 1;
            c.gridy = 1;
            p0.add(partitionTF, c);
            //ladder label
            JLabel ladderLabel = new JLabel("Ladder: ");
            c.gridx = 0;
            c.gridy = 2;
            p0.add(ladderLabel, c);
            //ladder combo box
            JComboBox ladderCB = new JComboBox();
            Dimension d = new Dimension(80, 23);
            ladderCB.setPreferredSize(d);
            ladderCB.setMaximumSize(d);
            ladderCB.setMinimumSize(d);
            c.gridx = 1;
            c.gridy = 2;
            p0.add(ladderCB, c);
            //calculate button
            JButton button = new JButton("Calculate");
            button.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                   //blah
            c.gridwidth = 2;
            c.fill = GridBagConstraints.HORIZONTAL;
            c.gridx = 0;
            c.gridy = 3;
            p0.add(button, c);
            //table
            c.gridx = 0;
            c.gridy = 4;
            p0.add(ladderSP, c);       
        private void createPanelOne() {
            p1 = new JPanel(new GridLayout(1,1));
            p1.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
            p1.add(resSP);
        private JTextField setObjSize (JTextField com) {
            Dimension d = new Dimension(80, 23);
            com.setPreferredSize(d);
            com.setMaximumSize(d);
            com.setMinimumSize(d);
            return com;
        private void createTable() {
            // Variables
            String[] colNames = {"Molecular Weight", "Length (cm)"};
            String[][] data = {
                {"220", "2.1"},
                {"160", "2.7"},
                {"120", "3.4"},
                {"100", "3.75"},
                {"90", "3.95"}
            JTable table = new JTable(data, colNames);
            table.setPreferredScrollableViewportSize(new Dimension(220, 300));
            // Set 1st column uneditable
            JTextField tf = new JTextField();
            tf.setEditable(false);
            TableColumn wtCol = table.getColumnModel().getColumn(0);
            wtCol.setCellEditor(new DefaultCellEditor(tf));
            // Set the table width
            table.setColumnSelectionAllowed(false);
            table.getTableHeader().setResizingAllowed(false); //not allowing resizing of columns
            table.getTableHeader().setReorderingAllowed(false); //not allowing reordering of columns
            table.setRowSelectionAllowed(false);
            ladderSP = new JScrollPane(table);
        private void createResTable() {
            String[] colNames = {"Partition", "Molecular Weight"};
            String[][] data = new String[1][1];
            JTable table = new JTable(data, colNames);
            table.setPreferredScrollableViewportSize(new Dimension(220, 401));
            table.setEnabled(false);
            table.setRowSelectionAllowed(false);
            table.getTableHeader().setResizingAllowed(false);
            table.getTableHeader().setReorderingAllowed(false);
            resSP = new JScrollPane(table);
        public static void main(String[] args) {
            Main black = new Main();
    }

  • Can I display the table content of a web page??

    Hi guys I am new to java and here I need to count the words in each table and display the table with largest number of words . This being a part of my huge project. Below is my code where I have succeeded in displaying all the tables present in the web page.But I need to count all the words in the table and display only that table which has largest number of words including all the tags. So java experts please help me with this piece of code...................
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.util.regex.*;
    public class findtable{
      public static void main(String[] args) {
        String inputLine = null;
        String wholeHtml = "";
    int trcount=0;
        try{
          URL yahoo = new URL("http://books.google.com/books?q=+subject:%22+Science+Fiction+%22&as_brr=3&rview=1&source=gbs_hplp_fict");
          URLConnection yahooConnection = yahoo.openConnection();
          BufferedReader br = new BufferedReader
            (new InputStreamReader(yahooConnection.getInputStream()));
          int start = 0;
          while ((inputLine = br.readLine()) != null) {
            wholeHtml += inputLine;
            if (inputLine.contains("<table")){
                      ++start;
            if (start != 0) {
              System.out.println(inputLine);
            if (inputLine.contains("</table>")) {
              --start;
        catch (MalformedURLException me) {
           System.out.println("MalformedURLException: " + me);
        catch (IOException ioe) {
          System.out.println("IOException: " + ioe);
        }So any help would be really really appreciated....
    The code should take care of nested tables also..
    So guys looking forward for the generous help....

    I have already parsed the HTML and checked all the closing of tags and corrected the indent using Tidy and then I have applied this code so some other suggestions please

  • Adobe Interactive Forms displaying returned tables

    can anyone help me display returned tables in adobe
    interactive forms
    i have an 2 adobe interactive forms, one for input
    the other for output on 2 different views
    the input form takes a few parameters, calls the
    back end RFC and the
    output form displays okay, but i just get the last
    row from the table
    i've tried binding 1 of the output table parameters to a drop down box and subform,the drop down box displays
    one of the return parameters but will not drop down
    whenever i include a subform i get a java error on
    the output form with no display
    i know there are several rows returned from testing the rfc inside abap workbench

    Hi Dennis,
    To display table in Adobe forms.
    Follow these steps :
    1. Insert one sub furm.
    2. make its type to flow content and flow direction to Table in object property.
    3. Insert another subform in above sub form and makes its type to flow content and flow direction  to Table row.
    4.In binding tab for this subform check the checkbox for "Repeat subform for each Data Item" and in min count you can specify at a time how much rows you want to display.
    5. Now place your UI Elements for Data view into this sub form.
    6. format these ui elements as you required.
    Run application now u can see multiple rows in adobe forms, if you have multiple elements in your table node.
    Let me know the status.
    Regards,
    Bhavik

  • Problem converting U8 array to date-time string

    Hi All,
    How can I convert U8 array (time_t data type from C dll) to date time string?
    A dll function that I am calling has a structure of string, integer and time_t as one of the parameters. Instead of passing cluster, I pass an array of U8 of the size that the structure should be. All the members of the strcuture and parsed correctly except the date/time.
    Function Parameter:
    typedef struct {
    Int AlarmState ;
    Int AlarmGrade ;
    TCHAR AlarmMessage [100] ;
    time_t AlarmTimeStamp ;
    } WV_ALARM_INFO ;
    Total size = 4 + 4 + 100 + 4 = 112
    Using Call Library Function, I set the parameter type to Array of U8 and size 112.
    After the array is populated when the function is called, I have done the following to interpret date and time.
    1) Using Extract Zero Terminated String.VI I converted U8 array (of size 4) to string.
    2) Type casted string to integer (I32).
    3) Swap bytes
    4) Swap Words
    5) Format Date/Time String.
    Please see the attached screenshot for visual display of the above.
    Ideas on why the year is incorrect?
    Mimansa
    Attachments:
    Time.JPG ‏102 KB

    Hi Mimansa,
    Is it only the year that is incorrect? Also, where did you find that ABC\0 VI that you use 3 times? Did you make it or is it in a labview library somewhere?
    Thanks,
    Laura

  • Time taken to truncate table

    Hi,
    We use Oracle 9.2.0.8.
    There is a table whose size is almost 30GB.
    Considering there are no locks and just one index string on this table, is there a way to estimate the time taken to truncate this table?
    I need to plan this activity. Does anybody can give me any idea about time based on old experiences?
    Thanks in advance,
    Fer

    Seconds... (if there are no locks).
    Truncate is an operation on data dictionary metadata. Oracle will free all extents exept the first one and will mark all blocks in the first extent as unused. No data blocks are "formatted" or "cleared". (If you open your datafile in hex editior, you can still see contents of datablocks - names, addresses, phone numbers etc.).
    If truncate does not complete in 15 seconds, you can start looking for locks.
    You can also try:
    LOCK TABLE my_30gig_tab IN EXCLUSIVE MODE;
    before attempting TRUNCATE.
    If there are locks on the table then your session will "hang" on LOCK TABLE statement (your session will wait, but it can take long time), but subsequent TRUNCATE should be fast.

  • Follow-on documents: Display as Table to be set as default

    Hello,
    do you know please, how to set up:
    Item data - Follow-on documents: a parameter Display as Table as default?
    Normally is default: Display as Graphic, which is time consuming to be opened.
    Thank you
    Martin Dedouch

    It is appropriate to move this thread from ERP-MM to [Enterprise Resource Planning (ERP)|Enterprise Resource Planning (SAP ERP);
    Edited by: Jeyakanthan A on Jul 7, 2011 4:56 PM

Maybe you are looking for

  • Vendor Search Help

    I have a user that is requesting that Vendor PO Box and PO Box ZIP Code be added to the Vendors by Address Attributes tab in the Vendor search help screen.  Any ideas with where to start? Thanks!

  • Question about multiple screens (display+HDTV)

    I have my 30" display connected to one port of my video card, and a DVI-VGA cable that goes around the corner to my HDTV, so what I'd like to do is be able to flip between both of these screens on my 30" display (not mirrored) so I could have my desk

  • ITunes will not Authorize songs

    I have tried several times to get this to work and I have already tried deauthorizing as well When I try to play songs that were originally purchased on my G5 in the iTunes library (I transferred everything onto my new Macbook Pro using the firewire

  • IPhone cannot start, only Apple logo appears

    I tried to upgrade iOS on my iPhone, but I made some mistakes or I didn't know how to do it, so it's not working, I cannot start it now, it always appears the Apple logo -> that's all. I tried to restore with iTunes, but it's not working. Please help

  • Greenplum and Web Intelligence (LaunchPad problem)

    Hi All, I have a report that displays well in WEBI Rich Client, but when I open it in LaunchPad, the values of my measure show as '#DATATYPE'. WEBI Rich Client: BI LaunchPad: I am using BI Platform 4 and my source database is Greenplum.  ODBC drivers