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

include a field in selection options

Former Member
0 Likes
646

Hi,

In my selection screen i want an output like this...

a _______ to ________

b _______ to ________

c ____________

a and b will have a low and high but c needs to be just an input box.

how to define this ??

selection-screen begin of screen 0100 as subscreen.

selection-screen begin of block b4.

select-options: a for MARA-MATNR

......

how to define c ???

selection-screen end of block b4.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
621

While declaring C variable use the

NO-INTERVALS clause..

select-option: c type xx no-intervals.

Hope this helps!

Hi,

In my selection screen i want an output like this...

a _______ to ________

b _______ to ________

c ____________

a and b will have a low and high but c needs to be just an input box.

how to define this ??

selection-screen begin of screen 0100 as subscreen.

selection-screen begin of block b4.

select-options: a for MARA-MATNR

......

how to define c ???

selection-screen end of block b4.

4 REPLIES 4
Read only

Former Member
0 Likes
622

While declaring C variable use the

NO-INTERVALS clause..

select-option: c type xx no-intervals.

Hope this helps!

Read only

0 Likes
621

Actually the syntax would be like so. You can also add the NO- EXTENSION to the end to get rid of the "Multiple Selection" box.

select-options: c for sy-datum no intervals no-EXTENSION.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
621

If i have understood the question correctly, i am surprised that you are asking this question. This is covered in the basic select-option declarations in SAP help documentation.

Read only

Former Member
0 Likes
621

You can define like this,..

I took an example of date.

SELECT-OPTIONS: C FOR sy-datum NO-EXTENSION NO INTERVALS.