11-24-2007 9:31 AM
in my application -in screen programming i have 2 push buttons like -- EXIT and Click me....and also i have an I/O. field . initiala;lly we should take i/o. field as invisible mode. what i requirement is --if i click on push button i/o. field should be activate and data it have should display at output. when i click EXIT i should terminate the program.
how to activate a i/o. field .....?
11-24-2007 9:36 AM
Hi,
by using loop at screen we can supress or activate tht i/o field.
as
case sy-ucomm
when 'clickme'.
loop at screen.
screen-active = '1'.
endloop.
when 'exit'.
leave program.
endcase.
for tht button keep function type as E ok
Plzzzzz reward if helpful....
dont forget to reward if helpfulllll
11-24-2007 9:40 AM
You should provide the Field name also in
LOOP AT SCREEN....
....
SCREEN-NAME = (Name of the Input/output field) so that only this field is activated for input.
....
ENDLOOP...
Regards
Abhishek