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

Customizing Maintenance Views

Former Member
0 Likes
1,294

Hi,

I have created a Maintenance View for a set of tables with relevant foreign key relationships. How do I control which columns should be editable, and which should be read-only? By default, all primary key fields are read only, while others are editable. However, I wish to restrict the user from editing certain non-primary key fields.

Thanks & Regards,

Shalini.

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
975

I can think of two options:

1. Go to the generated screen for the maintenance view and change the column (field) settings. However, after regenerating a maintenance view (adding a new field for example), you have to do this again. These settings are overwritten.

2. Do some validations using the standard events for maintenance views. In this case, coding will not be overwritten.

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
976

I can think of two options:

1. Go to the generated screen for the maintenance view and change the column (field) settings. However, after regenerating a maintenance view (adding a new field for example), you have to do this again. These settings are overwritten.

2. Do some validations using the standard events for maintenance views. In this case, coding will not be overwritten.

Read only

Former Member
0 Likes
975

Hi Shalini,

Go to the layout of the screen on which you have to change the properties to the fields. Double click on the Table column which you want to make input-disabled. The properties window opens in which you have a check box for Input. So if you want to make a particular column input disabled then Uncheck this box. This will solve.

But if the scenario is like based on some conditions you have to make it Input enabled / disabled then you need to go with the function code and handle it in the module pool.

Regards,

Swapna.

Read only

Former Member
0 Likes
975

hi,

u can do it by go to that screen layout -


> changing filed attribute by unchecking the input .

u can write code in program which generated by maintance view

loop at screen.

if screen-field = <table-fieldname>

screen-input = 0.

modify screen.

endif.

endloop.

regds:

rajesh.k