Application Development and Automation 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: 
Read only

Select-Options field on Dynpro

Former Member
0 Likes
676

Hi friends,

per tcode SBPT_WB there has been created a new Wizard.

There are five subscreens. They have been created automatically thrugh the application.

Now the goal is I would like to place one of the place Subscreens a Select-Options.

All the five Dynpros are Subscreens and I have no idea how to put a

Select-Options on one of the subscreen.

Any hints wouldd be appreciated pls suggest.

Thanks

Ilhan ertas

1 ACCEPTED SOLUTION
Read only

former_member242255
Active Contributor
0 Likes
629

Hi,

This should be helpful.

Regards,

Sravan

Hi friends,

per tcode SBPT_WB there has been created a new Wizard.

There are five subscreens. They have been created automatically thrugh the application.

Now the goal is I would like to place one of the place Subscreens a Select-Options.

All the five Dynpros are Subscreens and I have no idea how to put a

Select-Options on one of the subscreen.

Any hints wouldd be appreciated pls suggest.

Thanks

Ilhan ertas

3 REPLIES 3
Read only

former_member242255
Active Contributor
0 Likes
630

Hi,

This should be helpful.

Regards,

Sravan

Read only

Former Member
0 Likes
629

have a look

[Wizard |http://www.sapdesignguild.org/resources/wizard_html/wizard_styleguide.pdf]

Regards

Shashi

Read only

Former Member
0 Likes
629

hi,

u cant use select option u can use ranges...

ex:

**************

declaration:

DATA : matnr1 TYPE matnr,

matnr2 TYPE matnr.

DATA : matnr_l(18) TYPE n,

matnr_h(18) TYPE n.

RANGES s_matnr FOR marc-matnr.

**************************************************

in PAI:

WHEN 'DISPLAY'.

matnr_l = matnr1.

matnr_h = matnr2.

IF ( matnr_l IS INITIAL AND matnr_h IS INITIAL ).

MESSAGE ID 'ZMESS_MP' TYPE 'S' NUMBER 000.

EXIT.

ELSE.

s_matnr-sign = 'I'.

s_matnr-option = 'BT'.

s_matnr-low = matnr_l .

s_matnr-high = matnr_h.

APPEND s_matnr.

--IF matnr2 IS INITIAL--


IF ( matnr_h IS INITIAL ).

s_matnr-sign = 'I'.

s_matnr-low = matnr_l.

s_matnr-option = 'GE'.

APPEND s_matnr.

ELSE.

---- IF matnr1 IS GREATER THAN FROMDATE -


IF matnr_l GE matnr_h.

MESSAGE ID 'ZMESS_MP' TYPE 'S' NUMBER 001.

EXIT.

ENDIF.

ENDIF.

ENDIF