‎2007 Jan 19 12:50 PM
hi all, i need help on this.
first i do a select to get data from z table to internal table where data qualified in the select statement.
then the logic will show the internal table data in table control where all fields are output field but 1 field being i/o field. i need to make the i/o field a check box for user to put a check mark. when hit save button, data will update back to internal table and subsequently back to ztable.
the only part i not sure is how to update back to internal table from table control when hit save button.
thanks
rgds
‎2007 Jan 19 1:16 PM
You can modify the internal table in the PAI of the screen. Use the modify statement for that.
MODIFY itab FROM <screen_structure> INDEX tctrl-current_line.
Hope this helps.
Manoj
‎2007 Jan 19 10:17 PM
hi,
thanks for the reply. may i know if this modify is to update the whole internal table or modify record by record.
may i know if user hit save button, this modify statement will update back to the internal table by specific record or will update the whole table? is there a way to update the internal table in a single process instead of update record by record.
thanks
‎2007 Jan 19 11:21 PM
‎2007 Jan 22 3:58 AM
I dont think there is a way to update the internal table as a whole. You will have to do it record by record.
Manoj
‎2007 Jan 22 4:12 AM
hi,
kindly chk this standard pgms.
demo_dynpro_tabcont_loop
demo_dynpro_tabcont_loop_at
RSDEMO_TABLE_CONTROLRegards,
Anver
‎2007 Jan 22 5:36 AM
Hi All
I am using Table Control but I want to pass column headers also dynamically through coding only because my requirement is
I have three different database tables then i will select through dynamically when u will select any table with in these. I want to Columns will dynamically change or table structure automitically change while u will select any table.At that time table control also based on that columns width supress the table width also.
Please sove my problem it is very urgent for me.
‎2007 Jan 22 5:37 AM
hi all, i need help on this.
first i do a select to get data from z table to internal table where data qualified in the select statement.
then the logic will show the internal table data in table control where all fields are output field but 1 field being i/o field. i need to make the i/o field a check box for user to put a check mark. when hit save button, data will update back to internal table and subsequently back to ztable.
the only part i not sure is how to update back to internal table from table control when hit save button.
thanks
rgds
sai
‎2007 Aug 07 2:08 PM
Hi Experts,
I have a issue with table control, My requirement is that when ever the user Presses Insert button, the table control which is in Display mode will have to be in Input mode and that too only one record should be in input mode and rest have to be in output mode. can any one help me out to resolve this issue, please mail to abap12337@gmail.com
Thanks in advance
Sameer