‎2009 Feb 12 7:42 AM
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.
‎2009 Feb 12 8:30 AM
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.
‎2009 Feb 12 8:30 AM
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.
‎2009 Feb 13 6:37 AM
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.
‎2009 Feb 13 8:55 AM
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