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

values range in a dynpro

Former Member
0 Likes
1,824

Hi;

i need a field to get a range of values for MATKL field y a DYNPRO, as SELECT-OPTIONS...NO INTERVALS does.

i actually use help H_T023 for MATKL field in the DYNPRO, but it just let me choose one item

I´ve create my own help and now appears "SELECT-OPTIONS" option, but it just let me select a range of values to pick one of them.

What do i need to get a range of values .

Thanks on advance.

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
967

Hi David,

in your screen, define a subscreen area. Then, in the TOP include/global data area, define the select-options

SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN .
SELECT-OPTIONS S_MATKL FOR MARA-MATKL.
SELECTION-SCREEN END OF SCREEN dynnr.

Then, in PBO of your base screen, you need

CALL SUBSCREEN sub_area INCLUDING prog dynnr.

and in PAI

CALL SUBSCREEN sub_area.

Regards,

Clemens

2 REPLIES 2
Read only

brad_bohn
Active Contributor
0 Likes
967

If you want to pick multiple values from a help list, you can either use POV and function F4IF_INT_TABLE_VALUE_REQUEST with MULTIPLE_CHOICE turned on or you can use a search help exit and set the value of CALLCONTROL-MULTISEL at PRESEL.

Read only

Clemenss
Active Contributor
0 Likes
968

Hi David,

in your screen, define a subscreen area. Then, in the TOP include/global data area, define the select-options

SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN .
SELECT-OPTIONS S_MATKL FOR MARA-MATKL.
SELECTION-SCREEN END OF SCREEN dynnr.

Then, in PBO of your base screen, you need

CALL SUBSCREEN sub_area INCLUDING prog dynnr.

and in PAI

CALL SUBSCREEN sub_area.

Regards,

Clemens