Input field in a table view control

Hi,
    I have a table view control, with input field in one of the columns.
    That is meant for entering some values.
    My problem is when i am entering a 3 input field with value and then by   using     mouse control i enter say 20th input field with value.  After that when i use the directional keys to enter the 21st field, the cursor is not in 21st field, it is somewhere else.
How to correct this problem.
Regards,
Vijayalakshmi

Hi,
Try to use the TABINDEX property of <input>.
Best regards,
Guillaume

Similar Messages

  • How to get the value from the Input field of the Table view.

    Hi Experts,
    I have created a table view with 10 rows and each rows contains input fields in it.Can you please help me getting the values that are entered in all 10 rows.
    Currently I am using the below code,but using the below I am able to get only the first row details of the table.
      lo_el_table->get_static_attributes(
        IMPORTING
          static_attributes = ls_table).
    Please let me know you suggestions on this.Thanks in advance.
    Regards,
    Arun

    Hi Arun,
    You should use this method:
    lo_nd_table->get_static_attributes_table(
    IMPORTING
    table = lt_table).
    Cheers,
    Roelof
    http://www.nl4b.com

  • Table view control problem in screen painter

    Hi All,
    i am unable to display the contents in the table view control in screen painter....actually i have created two screen one to take input and second to display details on next screen in table view control..but i m nt getting that details...
    my second screen PBO/PAI code is
    PROCESS BEFORE OUTPUT.
    loop at itab with control TCNTRL CURSOR tcntrl-current_line.
    MODULE STATUS_0101.
    endloop.
    PROCESS AFTER INPUT.
    loop at itab.
    endloop.
    MODULE USER_COMMAND_0101.
    can anyone solve my problem????????
    Thanks,
    Jayshree

    Hi,
    Use below approch (syntax may not be correct as I have typed it in notepad but use it as guide line)
    ***In screen flow logic
    PROCESS AFTER INPUT.
      module cancel at exit-command.
      chain.
        field: zproject_details-originator,
            zproject_details-proj_type.
        module check_data on chain-request.       
      endchain.
      module user_command_002.
    ***In abap code
    module cancel input.
      leave program.
    endmodule.
    module check_data input.
      if zproject_details-originator is initial.
        message exxxx "throw error message here
      endif.
      if zproject_details-proj_type is initial.
        message exxxx "throw error message here
      endif.      
    endmodule.
    module user_command_002.
      save_ok = ok_code.  "good practice to save okcode
      clear ok_code.
      case save_ok.
        when 'save' " using constant for fcode here is better
          perform save_data. "make it moduler instead of writing whole code in case statement
      enscase.
    endmodule.
    form save_data.
    ** do some additional checks if required before saving
    update zproject_details from zproject_details. " update database table here from work area contents
    endform.
    Regards,
    Vishal

  • Dynamic filling of input fields in a table

    Hi,
    There are input fields in a two tables these are to be filled parallely at run time. the no of entries depend on the entires in internal table.
    If internal table has more entries, then a certain entries is filled up; say 9 times the control should be given to a new tables and the remaining entries should be filled in the input fields of other table .
    I appreciate help.

    Hi,
    Actually there is two HTML tables, each table has nine rows. if the no of entries in the internal table exceeds nine then the second table should be filled after the first HTML table has filled with all the nine entries.
    Both tables contains same input fields. How to fill both tables dynamically. I think now it makes sense.

  • Help Needed regarding to Table View Control

    Hi Abapers
    In Table View Control which property or system variable keeps the user selected row's row id.
    Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
    With regards
    Anoop.

    Hello Anoop,
    post your questions in the correct forums and you can hope to get a better answer. This forum as you see is the suggestions and comments forum and not the ABAP forum.
    Sameer

  • Help Needed on Table View Control

    Hi Abapers
    In Table View Control which property or system variable keeps the user selected row's row id.
    Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
    With regards
    Anoop.

    You would have to use the outbound plugs to transfer data from your component to the other component. Here you have a parameter IV_DATA_COLLECTION. Fill the entries you want to fill here.
    Check the Sold to Party pop up while creating Quotation for Sales cycle when you log in with SALESPRO.
    Regards
    Kavindra
    Edited by: joshi_kavindra on Nov 23, 2011 5:03 PM

  • Total sum to be displayed in a table view control ?

    Hi,
      I am unable to display the total sum of a column in a table view control( using HTMLB ). How should one display the sum of a column ?
    THanks in advance,
    VaraPrasad

    Hi,
    it should work once you are restricting the capacity of the out put port then it should provide that much rows only otherwise its a Bug.
    Alternativily you are tellin to disaply using sorting then add a Sort operator to the output port and the display ur output port in down order.
    But first option should work just check it again.
    On which SP u r working?
    Regards,
    Govindu

  • To display Total sum of a column in a table view control ?

    Hi,
      I am unable to display the sum of a column in a table view control ( using HTMLB ). How should one display the sum of a column in a table view control ?
    Thanks in advance.
    Vara.

    Hi there, do a search in this forum for TableView Iterator. Then check out these weblogs:
    /people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    An Iterator is the way to go for you

  • TABLE VIEW CONTROL IN MODULE POOL PROGRAMMING

    Hai Friends,
    <b>My problem is i design table view control using se51. I entered the data on table view and when i  press ENTER button on keyboard the total data is disapears from the screec(i.e table view).
    but i do not want this functionality. when i press ENTER button on keyboard that data is must be on the screen only.....................
    please tell me how it is possible   
    </b>

    Hello,
    Fill the data of the table control in PBO event of the screen.
    CHeck this sample report:
    DEMO_DYNPRO_TABCONT_LOOP
    Vasanth

  • Dynamic output & input fields in the table control

    HI Guys,
    How can one change the attribute of  input field to output field basically greying of field) dynamically
    based on the some flag. Loop at screen does not work. I need to change the attributes
    of field 'outfiled' and output field display only'.
    Any help is highly appreciated.
    Regards,
    Harsha

    Hi Harsha,
    I generated a table control (ERP 6.2) and somewhere I found the coding like this (the name of the table control is TABLE_CONTROL):
    *&spwizard: output module for tc 'TABLE_CONTROL'. do not change this lin
    *&spwizard: get lines of tablecontrol
    module TABLE_CONTROL_get_lines output.
      g_TABLE_CONTROL_lines = sy-loopc.
    If I do a loop at the screen at this place, I can control the individual input/output for the screen fields (the table fields). In my work area (WA_CONTROL) I can see the actual value of fields. Depending on this, I choose to enable/disable input via:
    loop at screen.
    if wa_control-material <> ' '.
    screen-input = '0'.
    modify screen.
    endif.
    endloop.

  • How to link label with an input field in data table?

    I am curious if there is a nice way to link a label to input field in a data table directly in JSP? Data filling the table are dynamically bounded.
    Sample, simplified code below. Values of "label" property are unique in the collection binded to dataTable.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:jsp="http://java.sun.com/JSP/Page">
         <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" />
         <f:view>
              <html>
              <body>
              <h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Name" />
                        </f:facet>
                        <h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Value" />
                        </f:facet>
                        <h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
                   </h:column>
              </h:dataTable>
              </body>
              </html>
         </f:view>
    </jsp:root>
    returns:
    17:39:01,390 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: #{DATA_ROW.label}_id
    what is related to EL expression in h:inputText's "id" attribute.
    Is there any other way to bind label with dynamically created input field in JSP? Do I really have to bind input field directly to component objects with "binding" and set IDs manually with setId() (what is ugly solution because it moves View related logic to Model layer)?

    I've thought of using EL because I have to somehow
    link a label to an input field dynamically. Somehow? Dynamically? Just use plain text :)Well... just look at my code snippet (notice: we want to join the pairs of labels and text boxes placed in a datatable [or any other repeater-like component rendering properties of objects from a collection]):
    <h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name" />
    </f:facet>
    <h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Value" />
    </f:facet>
    <h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
    </h:column>
    </h:dataTable>
    and what is your idea of using plain text as "id" attribute value in this case? :)
    Regards,
    Michal

  • Table view control

    hi,
    i am using a table control to hav the customer information.i need to edit some fields in my table control to change the values and the chaged values should be updated to the database table.how to edit the fields in TC and how the updation can be made.please give me the related infomation regarding the same.
    thanks&regards,
    shwetha.

    <b>In PBO
    you have something like </b>
    loop at itab with control cursor control-current_line
    module editable.
    endloop.
    <b>in the pai like this</b>
    loop at itab.
    module save.
    endloop.
    editable should do this
    loop at screen.
    check screen-name = fieldtobeeditableon the screen.
    screen-input = 1.
    screen-output = 1.
    modify screen.
    endloop.
    save should do
    move fieldname of the screen to work area.
    then modify

  • New field in a table view

    Hi experts!
    I have a problem in CRM version 6. Iu2019m trying implementing the One Click Action (OCA) in a new table view. The context node shows the original BOL structure correctly. So, I redefined the method GET_TABLE_LINE_SAMPLE and inserted the following code line:
    thtmlb_oca type crm_thtmlb_one_click_action
    The method compiled successfully. However the field THTMLB_OCA isnu2019t displayed at the list of context node and configuration tabstrip too.
    I tried putting other fields, such as names and descriptions, but they arenu2019t displayed either.
    Is it a bug in BSP_WD_CMPWB?
    Regarding,
    André

    Hi Andre,
    you still have to implement a method GET_THTMLB_OCA, because the THTMLB_OCA  is not a BOL attribute, it will not be displayed automatically by the UI Config Tool.
    The GET_THTMLB_OCA has to return a list of OCA that you want to have in table view.
    Additional to GET_THTMLB_OCA, you might have to implement GET_P_THTMLB_OCA as well.
    The P-Getter is used to determine what event is trigger if the OCA is clicked.
    Regards,
    Steve

  • Error in validation an input field in a table ui and high lighting the cell

    Hello All,
    I have a table ui in one of my application.   This table has, say 6 columns; out of these 6 columns 4 columns are shown as input fields.  User needs to put in some numbers in two of the fields.  I need to capture these two number fields data and subtract one from the other.  If number is negative , I need to let the user know by error message that the number is negative and they need to fix their input to make the answer positive.  I am able to do all this, but I am not able to high light the corresponding field which needs to be fixed.  Is there anyway I can do that...I mean high light the particular field as one gets it when we use the "report attribute error message" method of message manager class. 
    Secondly I can not halt the application, I need to do some work around for that using some flags.  Is there a simple way to halt the application, other than using flags and if condition?  I searched this forum, but could not find any definite answer....
    Thanks very much!
    Any help would greatly be appreicated.

    Hi....
    First you should have the table values in an internal  table.... for that yo need to get the values from the context like this....
    *DECLARE INTERNAL TABLE AND WORKAREA.
    data ls_nd_stru type wd_this->element_<node name>
    data lt_nd_table type wd_this->elements_<node name>
    get all declared attributes
    lo_nd_<your context node>->get_static_attributes_table(
                                               importing
                                               table = lt_nd_table ).
    *now your lt_nd_table will have the values.....what ever you have in the table.
    *then
    loop at lt_nd_table into ls_nd_stru.
    <.....your logic.....>
    <ie., read the current line of the field like
    ls_nd_stru-<field name1> = ls_nd_stru-<field name2> - ls_nd_stru-<field name3>
    then check error msg... based on your postive or negative values
    endloop.
    Hope this will help you....
    Thanks & regards
    Raja

  • WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL

    WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL

    Subhash,
    You create and distribute a model in BD64. The details of that are stored in this tables.
    A model gives you the details of the sender / receiving systems and what are the message types that are getting transferred between these systems.
    Regarding the IDOC segments issue, can you explaing how are you triggering the IDOC and which message / idoc type you are dealing with.
    Regards,
    Ravi
    Note :Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

Maybe you are looking for