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

An entry already exist with the same Key error, Please help

former_member295881
Contributor
0 Likes
11,803

Hello experts,

Iu2019m having problem entering data in one of my recently build table. Itu2019s a check table to I need to enter all the entries which Iu2019ll use as check table in my master table. This check table just has 2 fields Rates (CHAR2) and Rate Details (CHAR 40). However after 1st entry when I do 2nd entry and press next entry button I get the following error all the time.

u2018An entry already exist with the same Keyu2019.

Even though I made sure non of the Rates gets repeated.

Can anybody think of anything what is causing this problem.

Thanks in advance.

10 REPLIES 10
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
4,872

Is there any record where RATE is blank or initial? If so, that could be the issue. Remove that record.

Regards,

Rich Heilman

Read only

0 Likes
4,872

Also, what is the key of your table? Is it MANDT and RATE? If not, it probably should be.

Regards,

RIch Heilman

Read only

former_member295881
Contributor
0 Likes
4,872

Hi Rich, Thanks for your reply. No i just have 1 record 100. Nothing otherthen this. Yes I've 2 keys on MANDT AND RATES. Still not sure what i can't add morethen 1 record.

Read only

0 Likes
4,872

If at all if you made any changes to the table in near time dont forget to adjust the table and activate it using Tr. SE14

and after you activate and adjust.... delete the table maint. gener. and re-create it.

Read only

Former Member
0 Likes
4,872

Hello,

This error generally comes when one blank entry is created in the table. Please check this. Else delete the table maintaenance generator and regenerate the same. Also adjust and activate the database.

Thanks and Regards,

Rahul Sinha

Read only

Former Member
0 Likes
4,872

Hai,

Just check once again.Better to create a new table then check it.Otherwise take more than one key field.

Regards,

Venkat

Read only

pmuser06
Discoverer
0 Likes
4,872

When I creating new maintenance plant after creating then in maintain maintenance plant then in save mode but error showing that is entry already exists with the same key

Pls help..

Read only

FredericGirod
Active Contributor
0 Likes
4,872

pmuser06 create a new question, do not use a 13 years old question

Read only

pmuser06
Discoverer
0 Likes
4,872

Dear sir,

When I am creating a new maintenance plant an entry already exists with the same key error was occured in maintan maintenance planning plant.

Regards

Ganesh Naik

Read only

lenastodal
Product and Topic Expert
Product and Topic Expert
0 Likes
4,872

I saw your posted comment, which includes your private email address. According to our rules of engagement: https://community.sap.com/resources/rules-of-engagement, publishing such private content is prohibited. Hence, I am deleting your question. I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members.

Thanks!


Join or subscribe to SAP Community Groups to stay up-to-date, including SAP TechEd Group.