Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update database table with new entry in table control

former_member549415
Participant
0 Likes
280

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.

1 REPLY 1
Read only

Former Member
0 Likes
261

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.