Application Development and Automation 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: 
Read only

Dynamic modification of screen element without using MODIFY SCREEN

Former Member
0 Likes
1,030

Hi all,

Do we have any other means to dynamically modifiy the screen elements without using modify screen statement. Like after a button click i want to hide a text field.

Thanks in Advance

SRiNi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
810

Can any one give me some more information regarding Table control.. Means how i can change the attribute of a screen field using Table Control without using MODIFY SCREEN statement

Thanks

SRiNi

6 REPLIES 6
Read only

Former Member
0 Likes
810

Hi.

welcome to SDN.

No , there is no other way to dynamicaly modify screen.

Actualy screen attributes are stored in an internal table named SCREEN. if we would like to change the screen attributes during run time, we have make related changes to the screen and use MODIFY SCREEN.

Regards,

Anirban

Read only

Former Member
0 Likes
810

Hi,

I think there is no other way to dynamically change the attributes of screen without using MODIFY SCREEN.

If you want to modify screen elements dynamically just LOOP on the Screen table and change the screen attributes accordingly.

Regards

Abhijeet

Read only

Former Member
0 Likes
810

In Modulepool, table control we can modify table control screen fields without using modify screen

In table control structure we need to pass values

Murali Papana

Read only

Former Member
0 Likes
810

Hi,

You have to use modify screen to dynamically change the table controle screen attributes.

Say f1, f2 and f3 are the field in table controle, if you want to make f3 column of the table controle invisible.

do the following

loop at screen.

if screen-name eq 'f3'.

screen-active = 0.

endif.

Modify screen.

endloop.

Hope this will help you.

With best wishes,

Rama.

Read only

Former Member
0 Likes
811

Can any one give me some more information regarding Table control.. Means how i can change the attribute of a screen field using Table Control without using MODIFY SCREEN statement

Thanks

SRiNi

Read only

0 Likes
810

hi,

In table control also you cannot modify the screen fields without using the statement Modify Screen.

PROCESS BEFORE OUTPUT.

MODULE STATUS_0100.

LOOP AT <Internal table> WITH CONTROL <Table control name>.

****--In the below module you can write your code regarding the change in the screen fields.

module modify_screen.

ENDLOOP.

Regards,

Sireesha