Application Development 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: 

Disable all table item control in SO screen

Former Member
0 Kudos
330

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

2 REPLIES 2

Former Member
0 Kudos
95

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.

0 Kudos
95

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