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

SM30 - Maintain a table

Former Member
0 Likes
533

Hello Experts,

I have created a Z-Table and generated a maintainance dialog for that table.

The table has 5 fields:

1. VBELN (CHAR, 10)

2. MATNR (CHAR, 18)

3. RATIO (DEC 3, 2)

4. PRICE (DEC 5, 2)

5. GROUP (CHAR, 5)

We want to enforce a check on 'NEW ENTRIES' that the first 4 fields should be filled in that are mandatory fields. So I have created an 'EVENT' for this Table Maintenance to check the condition with an error message (because they wanted an hard stop). While testing I am entering the data for first 3 fields and missing the data for 4th field i.e, PRICE. Now when I hit 'ENTER' that 4th field is greyed out for me. I want to make this field as an editable field so that the users can enter the data for this field after they see the error message?

Can anybody please let me know how to do that?

Thanks a lot.

Hello Experts,

I have created a Z-Table and generated a maintainance dialog for that table.

The table has 5 fields:

1. VBELN (CHAR, 10)

2. MATNR (CHAR, 18)

3. RATIO (DEC 3, 2)

4. PRICE (DEC 5, 2)

5. GROUP (CHAR, 5)

We want to enforce a check on 'NEW ENTRIES' that the first 4 fields should be filled in that are mandatory fields. So I have created an 'EVENT' for this Table Maintenance to check the condition with an error message (because they wanted an hard stop). While testing I am entering the data for first 3 fields and missing the data for 4th field i.e, PRICE. Now when I hit 'ENTER' that 4th field is greyed out for me. I want to make this field as an editable field so that the users can enter the data for this field after they see the error message?

Can anybody please let me know how to do that?

Thanks a lot.

3 REPLIES 3
Read only

former_member195698
Active Contributor
0 Likes
491

That i think can be done only if you modify the Flow logic of the maintenance screen.

( The issue that you might face with this method is after regeneration of the Maintenance the changes will be lost )

Regards,

abhishek

Read only

0 Likes
491

Thanks Much Abishek. Is there any other "event" or any other way you can think of?

Read only

0 Likes
491

Hi Sam,

In the flow logic of the screen and in PAI of the module input.

you can use something like below:

loop at screen.

screen-field4 - input = 1.

endloop.

thanks

Dan