‎2008 Mar 28 7:26 AM
hello all,
could anyone tell me plz how to update user defined database table like 'zstudent' from new entry in table control .
and delete any entry from database table through table control .
thank you in advance.
‎2008 Mar 28 7:52 AM
hi,
In add a field of type C and length one in the structure of the internal table which you are using for table control .
In the table control go to its property and put the name of the field in the sel col field.
suppose name of the selection field is sel.
Then in the PAI module .
write code :
Loop at itab where sel = 'X'.
XXXX
XXXX
endloop.
In the loop u will get the fields which has been selected by the user in table control and you can write code according to the purpose.
I hope this will help you.