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

Auto populating values in Selection screen

Former Member
0 Likes
2,343

hi all,

can anybody please suggest me.

In the selection screen i have a block that has 1 parameter and 1 select-options with no Intervals. now based on the value entered in the parameter the select options should populate by itself.

i have the values that have to be populated in a internal table , but could pass the value to the select-options. the user can click on enter after entering the values in the parametr field or may press F8 at any case the fields should auto populate

any suggestions.

thanks in Advance

Srini

hi all,

can anybody please suggest me.

In the selection screen i have a block that has 1 parameter and 1 select-options with no Intervals. now based on the value entered in the parameter the select options should populate by itself.

i have the values that have to be populated in a internal table , but could pass the value to the select-options. the user can click on enter after entering the values in the parametr field or may press F8 at any case the fields should auto populate

any suggestions.

thanks in Advance

Srini

2 REPLIES 2
Read only

Former Member
0 Likes
687

Hi,

U can do like that.

This is a sample program.

TABLES: trdir.

PARAMETERS: name TYPE trdir-name.

SELECT-OPTIONS: subc FOR trdir-subc NO INTERVALS.

AT SELECTION-SCREEN.

DATA: subc1 TYPE trdir-subc.

SELECT SINGLE subc FROM trdir INTO subc1 WHERE name = name.

subc-sign = 'I'.

subc-option = 'EQ'.

subc-low = subc1.

APPEND subc.

After entering a program name in parameter and press enter the value will be updated in the select-option.

Thanks & Regards

Santhosh

Read only

0 Likes
687

Thanks for the response Santosh,

will this lgic work if i have multiple values in the Select-options.

actually based on the parameters we may have multiple values.

thanks

Srinivas