09-14-2010 11:15 AM
Hi,
I've a screen (SE51) and i need to change field properties using an ABAP instrution.
I need to do this... if variable LV_NDEP_IN is not initial, user can't change field content.
I've tried this...
IF lv_ndep_in IS INITIAL.
SET CURSOR FIELD 'LV_NDEP_IN'.
ELSEIF lv_ndep_in IS NOT INITIAL.
screen-input = ' '.
MODIFY SCREEN.
ENDIF.
but doesn't work.
Can somebody help me ?
Thanks,
09-14-2010 11:25 AM
You should have searched in SDN before posting.
This has been discussed many times.
09-14-2010 11:24 AM
try this:
loop at screen.
screen-name = ''.
if.
endif.
modify screen.
endloop.
09-14-2010 11:25 AM
You should have searched in SDN before posting.
This has been discussed many times.
09-14-2010 5:25 PM
Moderator message - Please do not ask or answer basic questions Points unassigned and thread locked Rob