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: 

how to give range in selection screen

laxman_sankhla3
Participant
0 Kudos

hi

i am using this below parameter but rang is not coming in selection parameter.

i want to give selection parameter.

parameter: s_werks like eine-werks, "OBLIGATORY.

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

use obligatoty in select-options

7 REPLIES 7

Former Member

Hi,

You can define range in a selection screen as follows:--

Data: p_werks like eine-werks.

select-options: s_werks for p_werks obligatory.

Try this code....

Rewards points if usefull

0 Kudos

thank you

Former Member
0 Kudos

hi laxman,

Use the select-option ABAP key word to create a range.

SELECT-OPTIONS: s_werks for eine-werks OBLIGATORY.

This will create a ranges table where you can enter some high and low values.

Thanks,

Samantak.

<b>Rewards points for useful answers.</b>

0 Kudos

Hi,

A little modification to my code.

Use the following code to properly code the details.

Tables: EINE.

select-OPTIONS: s_werks for eine-werks OBLIGATORY.

This is the correct precedure. This will create a tables work area and hence it will help you to declare the ranges internal table.

Thanks,

Samantak.

<b>Rewards points for useful answers.</b>

Former Member
0 Kudos

hi ,

give it in select option like

select-options: s_werks for eine-werks,

reward if helpful

ravi

varma_narayana
Active Contributor
0 Kudos

Hi Laxman..

To input ranges in selection Screen Declare the SELECT-OPTIONS like this:

TABLES EINE.

SELECT-OPTIONS: S_WERKS FOR EINE-WERKS OBLIGATORY.

<b>reward if Helpful</b>

Former Member
0 Kudos

use obligatoty in select-options