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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • Get selected row values from Table view control

    Hi ,
    I am using transaction ME23N, would like to access row values from item table for selected row. I have written a script as in screen shot and its giving me error at java script step two. I want to get the PR number from item table for selected row.
    With Regards
    Vishal Lokapur

    H Vishal,
    Can you please share how you were able to resolve the issue regarding the selected row
    in case of a table control .
    Regards

  • How to put scrol bar in table viw control in module pool programming

    how to put scrool bar in table-view control in module pool programming

    Hi Rani,
       You need not insert Scrollbar in the table control, it appears automcatically once the amount of data vertical or horizontal limit of table control.
    Regards,
    Sathish
    Note : Reward useful Answers

  • How to set the font for table view contol

    Dear All,
    My requirement is to set Font type = Arial and size=1 for
    Table View control. The same font should be for  header, Rows and footer.
    One way we are achieving it through the Renderer class. Where in we are we are supplying data, colums with html font tags.
    Is there any simple way to fix font fot the entire TableView.
    Thanks
    Markandeya

    An approach I've used is to override the CSS styles by adding code like the following to the top of the JSP page.  It's a bit of a hack, but it did the job.  You will need to find ALL the styles used in a table view, and override the font size.
    <%-- OVERRIDE SOME CSS STYLES SO WE HAVE THE DESIRED TABLE CELL PADDING --%>
    <style>
    <!--
    .sapTbvCellStd {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    .sapTbvCellAlt {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    //-->
    </style>

  • How to get color in the final row of table view( table control)

    Hi,
    iam having a table control displayed with 10 records as output,in that i need to provide a color for the final row since it is total inorder to show difference from other records.
    Kindly advise me on this.
    Thanks & Regards,
    Nehru.

    Hi Nehru,
    Checkout [THIS|Re: set color for a particular row in table view] thread .
    [This |http://www.sapdesignguild.org/resources/htmlb_guidance/table.html#at] Might also help you.
    Regards,
    Anubhav
    Edited by: Anubhav Jain on Jan 4, 2009 7:34 AM

  • Create Table/View with Validity Date Control?

    Hi,
    does anyone know the easiest way for me to create a custom view that uses validity dates to control records by time periods, similar to time constraint 1 infotypes in HR?
    For instance, if I define a table to store entries like so
    Client (Key): 100
    PSubArea (Key): C001
    Grouping (Key): 01
    End Date (Key): 99991231
    Begin Date: 18000101
    and I want to ensure that there can only be one record active on any given date, how can I prevent someone from creating a record from 20061107 - 20071107 that overlaps the existing record?
    Is there a setting I missed?
    Add conditions to generated view coding? Is there a good example?
    Thanks

    K, so I found these
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9fb3a9d111d1a5690000e82deaaa/content.htm">SAP Help - Time-Dependent Table/View</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c1/df5c3c3b067331e10000000a114084/content.htm">Generate Time-Dependence</a>
    I'll give it a whirl now.

  • I Want manage cluster table view . I control this  table

    Hi Abaper ;
    I Want manage cluster table view . I control this  table ( which cell change or delete or add  ) I use total internal table ( creating by system ) but total table has a line and some data is incorrect .
    for example :
    in database data :
                                term      stundet_name          lesson_id          lesson_name    
                                2005          ahmet                       1                  Matematik
                                2005          yasin                        2                      Tarih
    I view data   
                                term      stundet_name          lesson_id          lesson_name    
                                2001          ahmet                       1                  Matematik
                                2001          yasin                        2                      Tarih
    (term data false)

    Hi Turgut
    Check this out ; I dont try but maybe useful for you.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/e4521aa2f511d1a5630000e82deaaa/content.htm

Maybe you are looking for

  • Question for Mac users familiar with Parallels

    I've just installed Parallels on my Macbook and I've downloaded Windows XP from my educational institution's FTP site. Before you ask, I've been assured that it is 100% legal for institutions [i.e. universities) to provide this kind of software for t

  • No error for subcontract PO when we do GR without issuing components.

    Hi experts, The system is not giving any error message when we do a goods receipt for a subcontract PO without even issuing the components to the vendor. i have a PO which had 4 components to be issued. 1 material is of HALB material type and the res

  • Call javascript function dynamically

    Can this be done to call Javascript function dynamically? What I mean is suppose I use Javascript to submit form and target the reply to a popup window:   function cForm() {      win=window.open('','myWin','toolbars=0');      document.aForm.q.value='

  • Getting MBeans from multiple MBeanHomes

    I'm having trouble getting ServerRuntimeMBeans from multiple MBeanHomes (from different domains) from within a java program. I get the MBeanHomes OK, but when I request the ServerRuntime with getRuntimeMBean() I get the first one fine, but the second

  • Just tried to install IOS 7 to my iPad4 and it's failed!

    Just tried to install IOS 7 to my iPad4 and it's failed, but also completely locked up the iPad.  Can't now do anything with it, all that appears on screen is an image showing the cable connecting to iTunes but when I connect back to the PC nothing h