Application Development 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: 

Insertion of field into the database table.

Former Member
0 Kudos
118

Hi experts,

I am executing a program; with this program I am inserting the field into the database table.

I wrote commit after insert. I checked in the debugging and database table too it is inserting successfully after commit.

But after complete execution of the program the entry is deleting from the database table.

Please let me know what can be the problem?

Thanks in advance.

  1. Krishna #

7 REPLIES 7

Former Member
0 Kudos
92

Are you using INSERT or MODIFY? If MODIFY, you may be changing an existing entry not inserting a new one.

rob

0 Kudos
92

Rob,

its INSERT only..

  1. Krishna #

0 Kudos
92

Once it is inserted whether u r deleting some where from teh table.

Paste the part of the code used for INSERTING.

Former Member
0 Kudos
92

somewhere in your program you might have used delele statement.check it,

reward this point.

Former Member
0 Kudos
92

HI,

I guess you are inserting the entry into table and saying commit work. Are you updating the standard table. If it is yes just pass the value to the table buffer then and the end of the program it will be updated successfully.

Thanks

Raghavendra

0 Kudos
92

Hi kumar,

thanks for the information.

could you please tell me how to pass the value to the table buffer then insert in to table?

#krishna#

Former Member
0 Kudos
92

put a breakpoint , debug and checkout where that entr is getting cleared