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

Problem with INSERT

Former Member
0 Likes
1,044

Hi,

I am inserting records from an internal table to a Z table, in my report.

Its working fine in development server but in production it goes to short dump and gives error discription as record already exists with the same key.

But when I check the table entries, there are no records in that Z table.

Please help me solve the problem.

Thanks,

Sai.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,004

Use MODIFY instead of INSERT.

Regards

Kannaiah

8 REPLIES 8
Read only

Former Member
0 Likes
1,005

Use MODIFY instead of INSERT.

Regards

Kannaiah

Read only

Former Member
0 Likes
1,004

do check the table attributes in the other server..weather the table maintanace is allowed or not..if not chenge that to allowed and that solves your problem.

regards,

babu

Read only

0 Likes
1,004

Hi babu,

I have checked the table attributes, here the display maintanance is allowed.

Thanks,

Sai.

Read only

Former Member
0 Likes
1,004

Hi,

goto SE14 save and adjust the z table and again try to insert..

Read only

0 Likes
1,004

I have adjusted the object, but still I get above problem.

Read only

Former Member
0 Likes
1,004

it is better to use the UPDATE for this

Read only

Former Member
0 Likes
1,004

Use MODIFY ..

or if UR using Insert use .. the addition

ACCEPTING DUPLICATE KEYS..

Read only

former_member8532
Participant
0 Likes
1,004

Hi ,

check the field that you are updating set as primary key in your table.

if it is a primary key just remove that primary key on field.

i got the same problem .

Edited by: Punit Pawar on Jul 11, 2008 11:01 AM