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

internal table related question

Former Member
0 Likes
688

In selection-screen : s_bedat(select options)

I am intrested to display the data according to the user input means

only displayed data should be within the between s_date-low and s_high-high.

how to do it?

Any solution ,kindly send .

In selection-screen : s_bedat(select options)

I am intrested to display the data according to the user input means

only displayed data should be within the between s_date-low and s_high-high.

how to do it?

Any solution ,kindly send .

5 REPLIES 5
Read only

Former Member
0 Likes
651

Hi,

Have NO EXTENSION..

Example..

SELECT-OPTIONS: S_BEDAT FOR SY-DATUM NO EXTENSION.

Thanks,

Naren

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
651

In the WHERE clause of your SELECT statement, simply use the IN operator.

select * into table itab
             from some_table
                          where BEDAT in S_BEDAT.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
651
if not s_bedat[] is initial.
  select * from ztable into table itab where bedat in s_bedat. 
endif.
Read only

Former Member
0 Likes
651

Hi,

Try this code.

Select-options: s_bedat for sy-datum.

select * into table int_tab

from DBtable

where bedat in s_bedat.

It will give ur required o/p.

Hope it helps u.

Regards,

Kumar

Message was edited by:

kumar kk

Read only

Former Member
0 Likes
651

Hi ,

SELECT-OPTIONS: S_BEDAT FOR SY-DATUM .

select bedat from dbtable into corresponding fields of table itab where bedat ge s_bedat-low and bedat le s_bedat-high .