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

Table maintenance

Former Member
0 Likes
615

Hi,

I created a ZTABLE having 5 fields,three fields are primay key fields.

i generated table maintainence for the same.

But user requirement was,when he enters into SM30 transaction,

he wants three priamry key fields should be mandatory.

How can i do this one.

Can any body help me

1 ACCEPTED SOLUTION
Read only

KK07
Contributor
0 Likes
580

Hi,

Double click on the screen in the table maintainence generator,it will take you to the screen.

There you can change the field attributes as required(default not possible).that becomes a mandatory filed.

5 REPLIES 5
Read only

Former Member
0 Likes
580

Goto Maintainance generator screen in EDIT mode and make the field Mandatory from the Field properties.

To get the program name and screen number Hit F1 on table maintainance window.

Read only

gautam_totekar
Active Participant
0 Likes
580

Table maintenance generator will not allow entry to be inserted with primary key field to be empty.

Read only

KK07
Contributor
0 Likes
581

Hi,

Double click on the screen in the table maintainence generator,it will take you to the screen.

There you can change the field attributes as required(default not possible).that becomes a mandatory filed.

Read only

Former Member
0 Likes
580

remove the flag as initial at the table level for key fields and activate..

then if the primary key fields are initial it will not allow you to save in the table maintainance..

Prabhudas

Read only

0 Likes
580

Hi try with TMG event 01 and 05.

form 01.

if ztable-keyfield1 is initial.

message 'enter value in field1' type 'E'.

endif.

endform.