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 give runtime error even though table is empty

Former Member
0 Likes
439

Hi,

I have implemented an exit function module. I have at the beginning of the FM a FORM to refresh all table entries. When executing the exit FM within the same screen, I see that the table entries are refreshed but when it was time to update the table with new entries, it would give a runtime error that has to do with duplicating records, but there is actually no records in the tables. Is there any some kind of reset thing that I have to do? I use COMMIT WORK after every refresh and update statements.

Thanks,

RT

2 REPLIES 2
Read only

Former Member
0 Likes
388

Hi,

A small doubt..

Are you refereing to internal table or DB table..

In case of internal table, Commit is not required.

Are u using Insert statement or update statement..

Can u please elaborate..

Regards,

Tanveer.

Read only

0 Likes
388

Hi,

Thanks. I was able to resolve the problem.

RT