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

Updating table control

Former Member
0 Likes
332

Hai

I am saving the datas from table control into ztable. Its saving fine.

If i give the entries exists in ztable it is not inserting. Only new entries is inserting in z table. everything is fine but

my requirement is,

In my table control if it is an existing entry it should come in edit mode and new entries should be inserted and it should remove from table control.

Please help me.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
303

If you don't post code, we can't help you. Nethertheless. You must use MODIFY (dbtab) abap statement if you want to insert if it doesn't exist, or update if it exists. Please read the abap reference documentation.