‎2008 Aug 26 7:26 AM
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
‎2008 Aug 27 7:39 AM
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
‎2008 Aug 26 7:31 AM
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
‎2008 Aug 26 7:40 AM
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
‎2008 Aug 26 7:49 AM
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
‎2008 Aug 26 8:10 AM
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.
‎2008 Aug 27 7:39 AM
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
‎2008 Aug 27 10:05 AM
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