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/range in screen

Former Member
0 Likes
1,090

Hi all,

I just wanted to display select-options in the screen numbered 1000,

by putting which control can i do this ??........

regards

Jose

6 REPLIES 6
Read only

Former Member
0 Likes
843

Jose.

In your program

TABLES : MARA , QMEL.

SELECT-OPTIONS : s_matnr LIKE MARA-Matnr,

s_qmnum LIKE qmel-qmnum.

But you can't use range option on screen.

This is useful to pass the values in range object without displaying the screen element on screen.

Both will work as internal tables.

Read only

0 Likes
843

Thnx Murali,

I have designed a screen numbered 1000, and placed a input box on it. i want to display select-options for input box. how can i do this,

regards

Jose

Read only

Former Member
0 Likes
843

Hi

tables:mara.

SELECTION-SCREEN BEGIN OF SCREEN 1000.

select-options : s_matnr for mara-matnr .

SELECTION-SCREEN END OF SCREEN 1000..

Read only

Former Member
0 Likes
843

Jose,

By default screen number is 1000.

So .Do like this in tcode SE38

Create program..

TABLES : MARA.

SELECT-OPTIONS : s_matnr. LIKE MARA-MATNR.

Check the program (ctrl+F2).

activate the program (ctrl+F3).

Execute Program(F8).

Now you can see input fields

Read only

0 Likes
843

Thanx Murali,

I designed a screen numbered 1000 and placed alv on it.

I also put an input box on the screen and i want to display selections like select-options .....this is my question..

regards

Jose

Read only

Former Member
0 Likes
843

if u want to pass values in the selection screen use

Ex:

selection-screen begin of block b1

select-options : p_matnr for mara-matnr.

selection-screen end of block b1.

else if u want to pass while execution of program

use Ranges

Ex: ranges: p_matnr for mara-matnr.

Pass variables

p_matnr-low, p_matnr-high....................

Regards,

Ajay