02-26-2008 1:52 PM
Hi All,
How do I make a field to be multiple choice (like selection-option) in
screens ?
thx,
02-29-2008 2:20 PM
There is a FM to achieve this - can't remember exactly what it is
called, but I believe it is something like RSCOMPLEX
Have a search in SE37.
Rgds
02-26-2008 1:57 PM
Hi,
you can use selection-screens in a subscreen of a dynpro:
1) define a subscreen (called subsi in this example)
in your dynpro (called 0100 in this example)
2) define the selection-screen in your programm like this:
SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
SELECT-OPTIONS: s_parm1 FOR ztable-parm1,
s_parm2 FOR ztable-parm2.
SELECTION-SCREEN END OF SCREEN 101.
3) define your PAI and PBO-moduls like this:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN subi INCLUDING sy-cprog '0101'.
PROCESS AFTER INPUT.
CALL SUBSCREEN subi.
Kindly regards,
02-26-2008 3:30 PM
02-29-2008 2:20 PM
There is a FM to achieve this - can't remember exactly what it is
called, but I believe it is something like RSCOMPLEX
Have a search in SE37.
Rgds