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

Maintaince Table

Former Member
0 Likes
927

Hi all,

i generated table but when i maintain table (SM30), i can't see fields. i defined technical settings, enhancement category, table maintenance generator but when i try to entry new data, screen is disappearing and it goes back first screen..

How can i solve that?

thanks a lot.

regards.

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
897

Hello,

Try regenerating your TMG & check in SM30 again! Have you defined a single-step or a double-step maintenance for the table?

BR,

Suhas

9 REPLIES 9
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
898

Hello,

Try regenerating your TMG & check in SM30 again! Have you defined a single-step or a double-step maintenance for the table?

BR,

Suhas

Read only

Former Member
0 Likes
897

Hi Suhas,

i have defined one step. i have tried but there is no difference

thanks.

regards

Read only

0 Likes
897

How many fields does your table has..? Secondly click on screen layout and check what fields are displayed there..

Nabheet

Read only

Former Member
0 Likes
897

Hi

how have you defined the table? wich keys fields have u used?

Max

Read only

Former Member
0 Likes
897

hi,

i have defined just mandt field.

regards

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
897

You don't have any key fields other than MANDT 😮 ??

How do you think that the system will identify the unique records in the table? I am suprised ABAP compiler doesn't give an error when activating the table

BR,

Suhas

Read only

Former Member
0 Likes
897

Hi

That's the problem

You have defined a table without keys, it's not enough to use MANDT as only key field: you needs to insert other fields as key, at least another one.

Which information u need to insert in your table?

Max

Edited by: max bianchi on Nov 1, 2010 4:31 PM

Read only

Former Member
0 Likes
897

There is no need another key field. Because table contain 2 fields , matnr and menge. They could be more than once.

is it mandatory defining another key field.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
897

Hello,

I think you are not aware of basic RDBMS concepts.

MANDT is used for client-dependent tables & it's value is same (in the same client). Table Keys are used to identify unique reocrds in the table, in your case you'll have only one record. Hope you get the point.

BR,

Suhas