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

ranges from select option

Former Member
0 Likes
693

hi ranges in new sap

i found the way we code ranges is obsolete

i have s_date select options on screen

i want to retrieve is in an internal table. advise please

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
672

Hi,

Ex:

select-options : s_date for sy-datum.

ranges: sr_date for sy-datum.

sr_date[[] = s_date[[].

Ex:

select-options : s_date for sy-datum.

DATA: BEGIN OF sr_date OCCURS 10,

SIGN(1),

OPTION(2),

LOW LIKE f,

HIGH LIKE f,

END OF sel.

sr_date[[] = s_date[[].

hi ranges in new sap

i found the way we code ranges is obsolete

i have s_date select options on screen

i want to retrieve is in an internal table. advise please

4 REPLIES 4
Read only

Former Member
0 Likes
672

Hai,

Just chek it.

REPORT ZTEST111111.

data : begin of i_dat,

dat type date,

end of i_dat.

select-options s_date for i_dat-dat.

i_dat is internal table ans s_date is variable shown on the screen.Execute it.it may help u.

With Regards.

B.sowjanya

Read only

Former Member
0 Likes
673

Hi,

Ex:

select-options : s_date for sy-datum.

ranges: sr_date for sy-datum.

sr_date[[] = s_date[[].

Ex:

select-options : s_date for sy-datum.

DATA: BEGIN OF sr_date OCCURS 10,

SIGN(1),

OPTION(2),

LOW LIKE f,

HIGH LIKE f,

END OF sel.

sr_date[[] = s_date[[].

Read only

0 Likes
672

Hi

how do you delete internal table with data in a select option

selection screen

select-option: s_budat

Read only

0 Likes
672

Hi,

U can use :

Clear : s_budat.

awrd points if helpful

Bhupal