2010 Apr 14 12:45 PM
Hi All,
My requirement is to disable the item control table in SO screen under modification(VA02). It means the table control and the buttons under it should be disabled.
My questions is
1. how to disable the whole table control at one time othan than column by column.
2. if i used screen-input = 0 to disable column, it works for existing rows only, users can still add new item line. how to disable it including the add and delete button under table control.
I am using MV45AFZZ - USEREXIT_FIELD_MODIFICATION.
CODES:
IF SY-DYNNR = '4900'.
IF SCREEN-NAME = 'RV45A-KWMENG'.
SCREEN-INPUT = 0.
ENDIF.
ENDIF.
Thanks
Wilson
2010 Apr 15 5:39 AM
I did this (on a much larger scale) with transaction variants in transaction SHD0. You might be able to create a variant and make it the system standard for that screen only. In my screen variants for VAxx transactions, I was able to hide entire table controls, or make them display only, disable the pushbuttons under the table control, etc. For some of the pushbuttons, if not all, you'll need to enter the GUI Status code and disable the drop-down selection also.
2010 Apr 15 6:34 AM
Hi Short Dump,
I have tried before. It is difficult to hide all fields and controls. Our system is 4.6, for the sales tab, the layout changed if i make all fields read only.
So i used program to change fields to read only.
Thanks
Wilson