11-21-2008 3:21 PM
Hi Experts,
Is there any function module which can update the attributes of a screen like
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 1
in a PAI event. I just want a FM that is similar to DYNP_VALUES_UPDATE or DYNP_UPDATE_FIELDS. Instead of values the attributes should get updated in PAI without PBO being triggered.
TIA.
11-21-2008 3:31 PM
11-21-2008 3:31 PM
11-21-2008 4:09 PM
Hi Rich,
Am not concerned about the values i wanna update my attribs of the screen without a stroke of enter key. But am not using any drop down or check box or radio button. Rather am using a F4 help. Once i select a field from there i want my screen changes to take place. Is it Possible?
11-21-2008 4:16 PM
you can use a validation kind of thing for the value entered by f4.
use the appropriate even to place this psuedo code..
if pa_field = 'Value1'.
loop at screen assigning <fs_screen>.
active == )&*()
inactive == (P()_
endloop.
elseif pa_field = 'Value2'.
loop at screen assigning <fs_screen>.
active == )&*()
inactive == (P()_
endloop.
endif.
11-22-2008 11:04 AM
@ Jay,
Am not able to make out what is actually happening in this code.. Can u help me out with a lucid expln.
TIA
11-21-2008 3:42 PM
you can use a field-symbol instead and change the attributes of screen.. but I guess this need a enter to be hit to take these changes to effect
field-symbol: <fs_screen> type screen.
<fs_screen>-INPUT = 0.
<fs_screen>-OUTPUT = 1.