Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating attributes of screen table

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

No, there is no function to update the SCREEN values.

regards,

Rich Heilman

5 REPLIES 5

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

No, there is no function to update the SCREEN values.

regards,

Rich Heilman

0 Kudos

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?

0 Kudos

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.

0 Kudos

@ Jay,

Am not able to make out what is actually happening in this code.. Can u help me out with a lucid expln.

TIA

former_member156446
Active Contributor
0 Kudos

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.