Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
try: *$*$-------------------------------------------------------------------- parameters: Input type char40, Test1 radiobutton group test user-command xyz default 'X', test2 radiobutton group test. *$*$-------------------------------------------------------------------- at selection-screen output. perform Set_Screenfields_inactive. *$*$-------------------------------------------------------------------- form Set_Screenfields_inactive. if Test1 = 'X'. loop at screen. if screen-Name = 'INPUT'. screen-Input = '0'. modify screen. endif. " screen-Name = 'Input' endloop. " at Screen endif. " Test1 = 'X' endform. " Set_Screenfields_inactive Start-of-Selection. If I understood you right, that should help: You want to direct, if a field is displayed / input enabled, depending on another field?! In this case the radiobutton-Field Test1 directs, if "input" is enabled or not. user-comand xyz is essential, though "xyz" could also be any other. Reason: Processing logic should process at selection-screen. By simply pressing the radiobutton, nothing is transfered to the host (and vv), if not a user-command is defined. Regards, Stefan ---------------Original Message--------------- From: Khatia_ Sent: Tuesday, July 20, 2010 9:50 AM Subject: select-options input disable field > Hi to all. I have problem, can anybody help me? > my problem is: I want that my select-option field have been input disabled. > I use code but it only works to parameters: > SELECT-OPTIONS: so_matnr FOR mara-matnr. > > AT SELECTION-SCREEN OUTPUT. > LOOP AT SCREEN. > IF screen-name EQ 'SO_MATNR'. > screen-input = '0'. > MODIFY SCREEN. > ENDIF. > ENDLOOP. | __.____._ Copyright © 2010 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | _.____.__ |