Application Development 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: 

field to be multiple choice

Former Member
0 Kudos

Hi All,

How do I make a field to be multiple choice (like selection-option) in

screens ?

thx,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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,

Former Member
0 Kudos

hi

good

using the F4 search help.

thanks

mrutyun^

Former Member
0 Kudos

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