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

Reg : Table maintenance generator

Former Member
0 Likes
1,682

Hi Experts,

I have a problem with table maintenance generator. whenever I try to enter a duplicate value of full primary key the system has to prompt an error message 'Already an entry exists'. but I am not getting the message instead it allows to save the entry and the system goes to dump.

Please suggest what may be the problem.

Thanks.

10 REPLIES 10
Read only

Former Member
0 Likes
1,288

primary key not allowed duplicates.

Read only

Former Member
0 Likes
1,288

Hi,

System cant display the message because the Primary key cant hold the duplicate values

Read only

Former Member
0 Likes
1,288

You might have added or deleted a key field after the maintainence was generated. So you will need to re-generate your table maintainence to solve the problem.

To do that go to table maintainence in transaction SE11 and click on the Edit button in the toolbar. Select the options and continue. Once the maintainence is re-generated your problem should be solved.

Please mark points if the solution was useful.

Regards,

Manoj

Read only

alejandro_bindi
Active Contributor
0 Likes
1,288

Are both table and maintenance view active? Did you change table definition after generating table maintenance? Just in case, delete and regenerate table maintenance.

Read only

Former Member
0 Likes
1,288

Hi Mahendar,

You can try and recreate the maintenance screen.

I am using a single step maintenance for my table and when I enter multiple values with same primary key system gives the error 'An entry already exists with the same key'.

Just check and let me know.

rgds

Nishant

Read only

0 Likes
1,288

Hi Nishant,

I have tried by recreating the maintenance screen and I am using the single step maintenance. I am also getting the same message when I am in the same session where I entered the first record. but getting dump when I come out of the session and enter the record with the same primary key.

Please help.

Read only

0 Likes
1,288

Hi Mahendar/Kasinath,

I tried coming out of the session and even closing the session, Still I get the same message from system. I am not getting dump.

Can you please provide the dump log ?

E-mail ID : nishant.rustagi 'at' gmail 'dot' com

rgds

Nishant

Read only

Former Member
0 Likes
1,288

self

Read only

Former Member
0 Likes
1,288

self explored

Read only

Former Member
0 Likes
1,288

self explored