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

selection screen query

Former Member
0 Likes
686

Can anybody please tell me how to pick the values from the selection screen and use them in internal tables for manupulation.

I mean after the inputs i receive from the selection screen i want to use them for my internal table operations

Regards

Mave

6 REPLIES 6
Read only

Former Member
0 Likes
669

Can you describe your requirement in more detail way with example.

Read only

Former Member
0 Likes
669

Hi Mave,

You can use

Loop at Screen.

Endloop.

Inside this all the values entered in the selection screen will be available. You can assign to your internal table for further proceedings.

The fields of the internal table are as follows:

Sign

Option

Low

High

Regards,

Baburaj

Read only

0 Likes
669

Hi Baburaj,

When you are using loop at screen...endloop, you will get the selection screnn fields name and not the values enter in those fields.

Also Sign, Option, low and high you will get for only select-options and not for parameters.

Read only

Former Member
Read only

Former Member
0 Likes
669

Hi mave,

try this.

Selection-screen : matnr foe mara-matnr.

Data : Begin of itab,

matnr like mara-matnr,

End of itab.

.

.

.

Loop at matnr.

itab-matnr = matnr-low.

append itab.

.

.

endloop

Reg,

Viswanath Babu

Read only

0 Likes
669

If you are using a select-option in your selection screen you can do something like this.



select-options: s_matnr for mara-matnr.
data: imara type table of mara with header line.

select * from mara into table imara
          where matnr <b>IN</b> s_matnr.

If you are using a parameter in your selection screen you can do something like this.



parameters: p_matnr type mara-matnr.
data: imara type table of mara with header line.

select * from mara into table imara
          where matnr = p_matnr.

Is this what you are asking?

Regards,

Rich Heilman