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

Function module for select-options

Former Member
0 Likes
505

Hi Colleagues !

Is there any function module to read select-options fields in a window ?

Thanks a lot and kind regards

Peter

4 REPLIES 4
Read only

Former Member
0 Likes
473

check this FM : PRINT_SELECTIONS

Read only

Former Member
0 Likes
473

Hi Srini,

I want to read select-options values (from - to) from the screen ...

Thanks a lot and kind regards

Peter

Read only

0 Likes
473

PRINT_SELECTIONS reads the low and high values ... I don't think there is any FM which can give values between high and low.

Read only

0 Likes
473

Hi

I had this requirement as well, I came up with a workaround....

I ended up creating a Z structure EG. ZRANGESTRUC with the fields:

SIGN - CHAR1

ZOPTION - CHAR2

LOW - CHAR18

HIGH - CHAR18 (this would depend on your maximum length of field)

I had to make a ZOPTION field because option was a reserved system field.

I then declare tables in my function module pointing at ZRANGESTRUC data type.

Inside your function module declare ranges and then simply say S_MATNR[] = ZSTRUC_MATNR[] and then use the standard range inside your select statement.

I hope I understood your requirement correctly...

Edited by: Brad Gorlicki on Feb 10, 2010 9:36 PM