‎2007 May 30 3:07 AM
I have a requirement to display the internal table fields in table control and 2 of these fields are editable.
I have created my code till this part.
Now when the user updates one of the editable field and clicks on update field. I need to update the corresponsing ztable.
Please let me know if you have any suggestions for this
‎2007 May 30 3:22 AM
if you used the wizard in creating your table control then it may ask you for a work area and an internal table...data between your table control and internal table are in sync..you can use your internal table to update your ztable
‎2007 May 30 3:29 AM
just use code at ur table control,
module modify.
module mdoify.
modify db table from table int_table.
endmodule.
this will modify what ever records user modified .
Reward Points if it is helpful
Thanks
seshu
‎2007 May 30 3:41 AM
I was able to modify the data from internal table to ztable.
But how can i update the user modified data from screen to ztable??
‎2007 May 30 3:48 AM
what is ok_code for save ?
write down the modify command under ok-code.
suppose if enter some data and then will enter,in this case..
case ok_code.
when 'ENT1'. Enter button.
modify table from table int-table
endcase.