Possible no  of lines of rows in webdynpro table

Hi Friends,
is there any number of lines of records restriction in webdynpro application?
Is it that if more number of record, then we should go for HTMB controls/JSPPage/JSPDynPage?
Thanks
Nav
Message was edited by: Nav

You must distinguish between the size of a table (size of data source node) and the number of visible rows.
The size of the data source node may be large but the number of visible rows should be kept small, because it determines the response size (e.g. the size of a rendered HTML page).
Why do you think that other frameworks could be kind of rescue?
Armin

Similar Messages

  • How to insert line or row in a table?

    Hi OAF experts,
    can anyone show me how to insert row or line in a table bean by setting the table.setAutoInsertion(false) ?
    Thank you.
    Jon

    As per Dev Guide:---
    The other change you can make is to suppress the default Add Another Row button behavior of adding a
    single row to the view instance associated with the table, so that you can handle the event with your own code.
    The following code example illustrates how to accomplish this:
    processRequest
    // Enabled add row and turn off the default "Add Another Row" table event
    // The add row event has to be auto-handled by developer in processFormRequest
    tableBean.setInsertable(true);
    tableBean.setAutoInsertion(false);
    processFormRequest
    if ((tableBean.getName()Equals(pageContext.getParameter(SOURCE_PARAM))) &&
    (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
    OAApplicationModule am = pageContext.getApplicationModule(tableBean);
    am.invokeMethod("handleInsertRow", null);
    // The ***AMImpl.java in which method "handlInsertRow" has been defined
    public void handleInsertRow()
    OAViewObject vo = findViewObject("voName");
    vo.invokeMethod("handleInsertRow");
    // The ***VOImpl.java which is associated with the table; and in which the
    // handleInsertRow is defined
    public void handleInsertRow()
    Row row = createRow();
    // Set any default attributes
    row.setAttribute(...);
    // Insert the row into the VO
    insertRow(row);
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is it possible to programaticaly change active row in ADF table?

    JDev 11.
    I have a table which is filled with data programaticaly.
    When I add new row, it appears in table and I want to make this row active automatically, so last insert row should become active.
    Is it possible?

    Hi Julian, thanks for your response, but your example is different from my case
    My source:
    public String SaveCompany() {
    // get company details from input fields
    GetCompanyDetails();
    // save changes to DB
    SaveCompanyToDB(com);
    //refresh company list
    AdfFacesContext.getCurrentInstance().addPartialTarget(table);
    return null;
    I'am adding new entry into DB and I want to populate table after that action, and automatically select that new row (new row should become lighted).
    I have found that there is a atribute First(), I have tried to use it, but it didnt help.
    So question is, does ADF table have atribute to define active table row from code?

  • Locking a particular row in a table control

    Hi All,
    I have module pool program in which table control is used. I would like to know whether it is possible to lock a particular row in the table so that another person will not be able to edit it until the first user completes his work. It should be only for that particular record which is being currently edited in the table.

    Hi,
      Yes you can lock particular row in a table control..
      In the flow logic..
    PROCESS BEFORE OUTPUT.
      LOOP AT itab INTO wa WITH CONTROL tc.
         MODULE disable_row.
      ENDLOOP.
      MODULE disable_row.
    * call the Enqueue function module..If the
        IF sy-subrc NE 0.
          LOOP AT screen.
               SCREEN-INPUT = 0.    " Disable for input
               MODIFY SCREEN.
          ENDLOOP.
       ENDIF.
      ENDMODULE.
    Thanks
    Naren

  • Adobe form from webdynpro : Getting a single row in the table

    Hello,
    I have a scenario in which I have to create a adobeform from webdynpro application.
    I have created the form and have the context designed in place.
    I am facing a problem in the table I have in my adobeform.
    I am adding rows to this table dynamically using a button using "addInstance"
    Now on the webdynpro side , when I try to read this table I get a single row from this table.
    This row is always the first row of that table.
    I checked the following things from blog   /people/juergen.hauser2/blog/2006/09/12/avoiding-common-mistakes-when-using-tables-on-sap-interactive-forms  , i.e. :
    Cardinality of the node.
    Tick on the option "Repeat Row for Each Data Item".
    But still no success.
    With deadlines to catch I had to post this question after trying a lot.Please help.

    Hello Otto,
    I had found this link before and used the same solution , but unfortunately is taking a long time.
    Now what I am doing is :
    1. I append 10 rows into the table then bind it to the node
    2. Then on the adobe form I have removed the check on "Add row for each line item" because of which it shows only 1 row 
         on the form.
         Now I add rows dynamically, but this puts a limit on the number of rows can be added to the table i.e. 10.
    But this again has added problems like while displaying the form or modifying I hav to handle it seperately and cannot use the same form as it is.( as I have removed the tick for "Add row for each line item" ).
    Thanks,
    Omkar Mirvankar

  • How can i mark a Table Row in WebDynpro ?

    Hi at all,
    i have a problem in my WebDynpro View
    In my WebDynpro-View there is a Table (Information about Invoice documents, around 50 lines) and the User can select all this rows by click with a mouse.
    Another way for selecting rows is on the Top of the Table (left side) there is a Context-Menü, where the User can click by mouse "Select all rows". For this i have created a Action "onSelect" and can select all Elements from the Table.
    But the main problem here is, that i cant "mark" the rows in the Table, the User can't see, that all rows is marked!
    (Example "Screenshot" of my description is attached)
    How can i solve this problem?
    With best thanks
    Ersin

    Hi Ersin,
    To select all records for processing in your WebDynpro table , the table node property Initialize Lead Selection drop down should be marked no. also Cardinality Property must be 0..N & Selection 0...N.
    If multiple selections can be made in the Table, that is, if selectionMode = multi or multiNoLead, or ifselectionMode=auto and dataSource has selection cardinality 0..n or 1..n, the user can select or deselect rows using the menu. If the user chooses Select All , the lead selection stays. If no lead selection is set, no lead selection can be set when Select All is chosen. If user chooses Deselect All , the lead selection is deleted too.You can find an example in the system in component WDR_TEST_TABLE under Selection.
    Best Regards
    Priyesh Shah

  • How to make the GL account discription possible in FAGLL03 line item display?

    Dear Experts,
        Could you tell me how to make the GL account discription possible in FAGLL03 line item display?
        I checked the layout, there is no account discription.
        How should I do?
    Thanks!
    Xinling Zhang

    Hi
    One you execute FAGLL03, go to Settings>Layout>Current Header Rows
    You can add some predefine characteristics here.
    I am not sure why the hyperlink is not working at your end. But you can search the SDN for special fields in FAGLL03 and you can get lot of posts for this document.
    Regards
    Sanil Bhandari

  • Interactive Reports: Display data on two lines per row?

    Is it somehow possible to display a single row across two lines in an interactive report?
    Something like this:
    Row1 Field 1, Row1 Field 2, Row1 Field 3
    Row1 Field 4 (spanning across the other fields)
    Row2 Field 1, Row2 Field 2, Row2 Field 3
    Row2 Field 4 (spanning across the other fields)
    Row3 Field 1, Row3 Field 2, Row3 Field 3
    Row3 Field 4 (spanning across the other fields)
    ... etc
    For example, I have a "Remarks" column that would look better on its own line, rather than being squeezed into the same row with the other columns.
    I realize that this layout might not be possible out-of-the-box, but I was thinking that perhaps some javascript/jQuery trick could be used. Unfortunately, my jQuery-fu is not strong yet, so I'm asking for help...
    (I also know that this type of layout is possible using a classic report with a custom template, but I would prefer to use the Interactive Report if at all possible.)
    - Morten

    Hi,
    Try this to page HTML header
    <style>
    .apexir_WORKSHEET_DATA td{white-space:nowrap!important;}
    </style>At least it work with firefox 3.5 for me
    Br, Jari

  • Multi-line tableview row?

    Hello all,
    Does anyone know if it's possible to have a multi-line tableview row?  My situation is that there is a lot of information to show in my tableview row, and I'd like to split up the information in to to lines...but I want the two lines with the same color (I'm utilizing the alternating now), and want just one checkbox.
    Here's and example ( __ used to show spacing):
    []__material___description__price____quantity____total price  -->start of material 1
    ___plant______g/l account__del date
    []__material___description__price____quantity____total price  -->start of material 2
    ___plant______g/l account__del date
    Is there a way to do this?
    Thanks in advance,
    Lisa

    Hi Lisa,
    yes you can do what you want outside the MVC programming model.
    Firstly, your current code inserts two <input> tags in each table row that look like this.
    Input 1<input name="text" id="text" title="inputfield" value="value"><BR>
    Input 2<input name="text" id="text" title="inputfield" value="value"><BR>
    When the form is submitted back to the server the input fields are passed as name value pairs. Therefore you need to ensure the name and/or id of each input tag is unique. It is also important that you include the rowid of the table row in the name of the tag so you know to which row it refers.
    So your RENDER_CELL_START method might look more like this...
          DATA: input_id_1 TYPE string,
                input_id_2 TYPE string,
                text       TYPE string,
                bee_html   TYPE REF TO cl_bsp_bee_html.
          text = 'value'.
          input_id_1 = input_id_2 = p_row_index.
          CONCATENATE:
            'input_' input_id_1 '_1' INTO input_id_1,
            'input_' input_id_2 '_2' INTO input_id_2.
          CONDENSE input_id_1 NO-GAPS.
          CONDENSE input_id_2 NO-GAPS.
          CONCATENATE:
            '<input name="' input_id_1 '" id="' input_id_1 '" value="' text '">' INTO input_id_1,
            '<input name="' input_id_2 '" id="' input_id_2 '" value="' text '">' INTO input_id_2.
          CREATE OBJECT bee_html.
          bee_html->add(
                html1 = 'Input 1'
                html2 = input_id_1
                html3 = '<br/ >Input 2'
                html4 = input_id_2 ).
          p_replacement_bee ?= bee_html.
    This code inserts <input> tags that look like this...
    Input 1<input name="input_xx_1" id="input_xx_1" value="value"><br/ >
    Input 2<input name="input_xx_2" id="input_xx_2" value="value">
    ...where 'xx' is the row index.
    Now we need to be able to read these name value pairs when the form is submitted. You can most easily do this in the onInputProcessing event of the page like this...
      DATA: ffields TYPE TIHTTPNVP.
      request->get_form_fields( CHANGING fields = ffields ).
    Now the ffields itab contains the name value pairs - you just need to parse them to obtain the rowid for each value.
    Enjoy!
    Cheers
    Graham Robbo

  • It possible to insert lines between 2 other lines in Grid

    Hi
    Is it possible to insert lines between 2 other lines in the Grid. Example, I need to enter a new item between line 1 and 2 in the grid. Similar to inserting lines on the sales documents.
    Can any having any idea please share with me.
    Regards
    Senthil

    Hi,
    have a look at the DataColumns Collection
    A collection of DataColumn objects. Use this collection to add columns to the collection or remove columns from the collection.
    You can access the collection via the DataTable.Columns property.
    you'll find it in the UI API Dokumentation.
    i hope it helps you.
    regards
    David

  • Dynamic Select of Row in a table in webdynpro Abap

    Hi,
      I have an requirement, I have an table  and a button, I need to select a row in a table based on button action.
    For example : in a table i have 3 rows. I am submiting a value in a button, I want to see that row highlighted for the value I am sending through button.
    Please let us know the code how to implement this.
    Thanks

    Hi,
    First you have to go to table and set its property "SELECTION MODE" to single or multi lead depending on ur need.
    Then in the ACTION of the button you can use the following code to get the values in the selected row.
    DATA:
         node to get table node for finding no. of rows
            lo_nd_one  TYPE REF TO if_wd_context_node,
         Get selected row for finding no. of rows
       it_table               TYPE        wdr_context_element_set,
         workarea to get selected row
            wa_table                LIKE LINE OF           it_table,
    To get the Selected line item into an internal table
      CALL METHOD lo_nd_one->get_selected_elements
        RECEIVING
          set = it_table.    " data in internal format
      IF it_table[] IS NOT INITIAL.
      type conversion for work area
        READ TABLE it_table INTO wa_table INDEX 1.
    if a row is present
        IF  sy-subrc IS INITIAL.
        Get the values of each attribute
          CALL METHOD wa_table->get_static_attributes
            IMPORTING
              static_attributes = wa_final.       "<Selected data in work area.>  ---> this will have your data
        ENDIF.
    Here wa_final is the work area which is of your table fields type.
    This wa_final will have the selected row.

  • Is it possible to duplicate a row in a table and the values entered by u

    PDF LiveCycle Designer  : Is it possible to duplicate a row in a table and the values entered by the user?

    [Move to LiveCycle Designer]

  • Is it possible to view line numbers in the search results in Dreamweaver CS5?

    Is it possible to view line numbers in the search results in Dreamweaver CS5?
    If so how do I switch it on.
    Thanks

    I don't think so. 
    Just double click on results in your Results Panel. 
    DW will open the page to that line of code.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • How to make 2 lines in a webdynpro table cell?

    Hi
    Is it possiable to create a WebDynpro Table Call that can contains 2 lines in 1 cell ?

    Hi Ami,
    There are a limited number of UI elements that you may use for a Table Cell Editor, however, with a TextView, you can display text that includes a line break.
    The line break is achieved by including the carriage-return-line-feed characters in the Table's data source...
    LOOP AT lt_flight_tab ASSIGNING <f>.
         CONCATENATE 'Line One' cl_abap_char_utilities=>cr_lf 'Line Two'  INTO <f>-test.
    ENDLOOP.
    Cheers,
    Amy

  • Multiple selection of rows in webdynpro

    Hi All,
    How can we achieve the multiple selection of rows in a table in webdynpro and delete the same.
    If i have a table with 4 rows i have selected 2 rows and i have to delete those 2 rows.
    Thanks in Advance,
    Bsreddy.

    Hi Srinivas,
    Steps to make multiple rows selectable in table:
    1) Create the selection property of the node that you are binding to the table as o..n
    2) Un-check the, "Initialization Lead Selection" checkbox for the node which you are using to bind to the table
    3) In the Layout go to the table & specify selection mode as MULTI_NO_LEAD. It is important that you set the selection mode to MULTI_NO_LEAD or else in the end you would be capturing 1 row lesser than the total number of rows the user has selected. This is because 1 of the rows would have the LeadSelection property & our logic wouldn't be reading the data for that row. Check the example code fragment as shown below:
    Steps to get the multiple rows selected by the user:
    In order to get the multiple rows which were selected by the user you will just have to call the get_selected_elements method of if_wd_context_node.  First get the reference of the node which you have used to bind to the table & then call this method on it. Check the example code fragment below:
    METHOD get_selected_rows .
      DATA: temp TYPE string.
      DATA: lr_node TYPE REF TO if_wd_context_node,
                wa_temp  TYPE REF TO if_wd_context_element,
                ls_node1 TYPE wd_this->element_node_flighttab,
                lt_node1 TYPE wd_this->elements_node_flighttab.
      lr_node = wd_context->get_child_node( name = 'NODE_FLIGHTTAB' ).
    " This would now contain the references of all the selected rows
      lt_temp = lr_node->get_selected_elements( ).
        LOOP AT lt_temp INTO wa_temp.
    " Use the references to get the exact row data
          CALL METHOD wa_temp->get_static_attributes
            IMPORTING
              static_attributes = ls_node1.
          APPEND ls_node1 TO lt_node1.
          CLEAR ls_node1.
        ENDLOOP.
    ENDMETHOD.
    So now lt_node1 containes information about all the rows which are selected by the user.

Maybe you are looking for

  • How to remotly run a Java Program on machine B from machine A.

    Hi all, I would like to start a JVM/java program from machine A onto machine B (windows plateform). Machine B could be running at another location so where in the lan/intranet. OR I would like to be able to start the process(GUI application) on machi

  • Activating a Windows 7 installation (for an end user) as a MS Registered Refurbisher.

    I have applied to join the MRR program and have passed the test and am awaiting approval. I was reading in the MRR manual that MS prefers that a refurbished PC is set up with sysprep so that the end user has to accept the license agreements and activ

  • Okay, I have read some of the issues here

    Okay, I have read some of the issues here and I am scratching my head. I have my PC hard wired to a Linksys WRT G router and my Mac is connected wirelessly to it just fine. Now, my computers don't seem to see each other on the network. Pretend I am a

  • CMT question.

    weblogic8.1's transaction setting always confuse me. I have some cases, hope I understand right.           TxDataSource on 8.1, this is set when 'Honor Global Transactions' is set to true. Am I right? this will enable the transaction like what JAVA/J

  • Add nodes to a collection

    I need to add somes nodes dinamically generated by the user to a collection. That is because, otherwise, this new nodes are not within the barcode of the form. How can I do? Fabio