Hi,
We have inserted a custom field within contract ( me31k). We were successful in getting the field on the screen and also transferring the content to the table. The custom field content shows up correctly when the contract is open in the display mode, but it is still editable. This is the code we have entered in the screen exit.
if sy-tcode = 'ME33K'.
if sy-dynnr = '201'.
loop at screen.
case screen-name.
when ekko-zfi_info.
screen-input = '0'.
modify screen.
endcase.
endloop.
endif.
endif.
I have seen discussions in the forum that suggests the above method, but unfortunately the field is still editable. Could someone let us know what the problem could be?
Thanks,
Ananth