Hi Sylvain,
This is one kind of procedure..
you should get the field1 value into filed2 in get_i_field2 method. and check this condition is satisfied or not if satisfy then true otherwise false..
example : go to field2 double click get_i_field2.
IF CURRENT->GET_PROPERTY_AS_STRING( IV_ATTR_NAME = 'FIELD1' IV_VALUE = 'LV_VALUE' ).
IF LV_VALUE = 'KEYOFF A'.
RV_DISABLED = 'TRUE'.
ELSE.
RV_DISABLED = 'FALSE'.
ENDIF.
ENDIF.
ENDMETHOD.
this will work try this and let me know..
Thanks & Regards,
Srinivask