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

Former Member
0 Likes
2,926

Hi

good morning to all , we are developing a report wherein we need to enter somedetails in it .On the selection screen when we enter a field it gives a pop-up window .As select options acts like an Internal table and fills durign execution time it gives four options.

Sign ,option ,Low and High .I tried finding the F1 help to get some more data but unfortunately no relavant data I found there. Kindly tell me the significance of each field attaching the screenshot .Reward point assured.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,440

hi

<b>Select-Options </b>

Internally a select-option behaves like an internal table.

The different fields of the internal table are

<b>SIGN </b> Possible Values: I, E Include /Exclude

<b>OPTION </b> Possible values: EQ(Equal ),NE (Not Equal ),CP( contains pattern),NP( Not contains pattern),GE,LT,LE,GT, BT

LOW

HIGH

One might want to make it necessary to input some values for the execution of the program. In such a case the following addition is used

Obligatory

e.g Parameters p_id like vbak-vbeln obligatory

Select-options s_vbeln for vbak-vbeln obligatory

reward if useful

swati

7 REPLIES 7
Read only

varma_narayana
Active Contributor
0 Likes
1,440

Hi..

These are the Values for the fields of SELECT-OPTIONS internal table

SIGN - 'I' OR 'E'. (i.e INCLUDE OR EXCLUDE)

OPTION - Operator like 'BT' 'EQ' 'GT' 'LT' ....

LOW - LOWER LIMIT VALUE

HIGH - UPPER LIMIT VALUE

So Each Condition entered by user will be stored in a New record in this table.

When the user Selects the Multiple Selection Icon It gives a Popup where u can see:

Green Tab: Means "Include"

Red Tab: Means "Exclude"

Single Values

Intervals: Ranges.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
1,441

hi

<b>Select-Options </b>

Internally a select-option behaves like an internal table.

The different fields of the internal table are

<b>SIGN </b> Possible Values: I, E Include /Exclude

<b>OPTION </b> Possible values: EQ(Equal ),NE (Not Equal ),CP( contains pattern),NP( Not contains pattern),GE,LT,LE,GT, BT

LOW

HIGH

One might want to make it necessary to input some values for the execution of the program. In such a case the following addition is used

Obligatory

e.g Parameters p_id like vbak-vbeln obligatory

Select-options s_vbeln for vbak-vbeln obligatory

reward if useful

swati

Read only

Former Member
0 Likes
1,440

Hi..

These are the Values for the fields of SELECT-OPTIONS internal table

SIGN - 'I' OR 'E'. (i.e INCLUDE OR EXCLUDE)

OPTION - Operator like 'BT' 'EQ' 'GT' 'LT' ....

LOW - LOWER LIMIT VALUE

HIGH - UPPER LIMIT VALUE

So Each Condition entered by user will be stored in a New record in the internal table whose name is the name which u ll give for select option.

When the user Selects the Multiple Selection Icon It gives a Popup where u can see:

Green Tab: Means "Include"

Red Tab: Means "Exclude"

Single Values

Intervals: Ranges.

this pou up window shows that u can give multiple values such as 1 to 100 and excluding some individual values like 96, 69. 88.

for ranges we ll give in green tab and for excluding ill give values in red tab.

both for including n excluding we can give ranges.

inorder to c this but a break point in select options declaration and debug it.

f helpful reward some points.

with regards,

Suresh Aluri.

Read only

Former Member
0 Likes
1,440

Hi! Mojindar,

Plz try the following Function module.

<b>POPUP_TO_DISPLAY_TEXT</b>

1. Export the details what it asks.

- Title

- Text to be displayed.

- Start column & Row

It will pop-up by displaying the message you gave in the Text field under the Title u gave.

If its useful Reward me.

Thanks,

Nagulan

Read only

Former Member
0 Likes
1,440

SELECT-OPTIONS declares an internal table which is automatically filled with values or ranges of values entered by the end user. For each SELECT-OPTIONS , the system creates a selection table.

A selection table is an internal table with fields

SIGN, OPTION, LOW and HIGH.

The data type of LOW and HIGH is the same as that of <field>.

The SIGN field can take the following values: I: Inclusive (should apply) or

E: Exclusive (should not apply)

The OPTION field can take the following values:

EQ: Equal

NE: Not equal

GT: Greater than

GE: Greater than or equal

BT: Between

NB: Not between

LT: Less than

LE: Less than or equal

CP: Contains pattern

NP: No pattern.

SELECT-OPTIONS allow users to fill an internal table with a range of values.

PS: Reward appropriate points if useful.

Read only

Former Member
0 Likes
1,440

Thanks for the valuable inputs.