2009 Feb 28 11:31 AM
Hi all,
How can create a dynamic selection screen by using Comments.
Regards,
Smita
2009 Feb 28 12:42 PM
Hi,
Report mydemo.
DATA: PLANT(20) type C.
SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECTION-SCREEN COMMENT 10(20) TEXT-001
FOR FIELD PARM.
PARAMETERS plnt LIKE (PLANT).
SELECTION-SCREEN END OF SCREEN 500.
PLANT = 'MARC-WERK'.
CALL SELECTION-SCREEN 500.
Also you can keep flag value in at selection-screen output
at selection-screen output.
if radio1 = 'X'.
flag = 1.
else.
flag = 0.
endif.
at selection-screen.
if w_flag = 1.
loop at screen.
if screen-name = 'FIELD1'.
screen-active = 1.
endif.
endloop.
Let me know if u understood the the process behind it.
2009 Feb 28 12:42 PM
Hi,
Report mydemo.
DATA: PLANT(20) type C.
SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECTION-SCREEN COMMENT 10(20) TEXT-001
FOR FIELD PARM.
PARAMETERS plnt LIKE (PLANT).
SELECTION-SCREEN END OF SCREEN 500.
PLANT = 'MARC-WERK'.
CALL SELECTION-SCREEN 500.
Also you can keep flag value in at selection-screen output
at selection-screen output.
if radio1 = 'X'.
flag = 1.
else.
flag = 0.
endif.
at selection-screen.
if w_flag = 1.
loop at screen.
if screen-name = 'FIELD1'.
screen-active = 1.
endif.
endloop.
Let me know if u understood the the process behind it.