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

date in selection screen

Former Member
0 Likes
680

hi to all,

how can i get date field like in parameters like

the following way

date from -


to -


thanks in advance

reddy

1 ACCEPTED SOLUTION
Read only

Former Member
624

Hi

Declare selection screen like

select-options: v_date for sy-datum.

it will give the date from.........to...........

Reward points if useful

Regards

Anji

5 REPLIES 5
Read only

Former Member
625

Hi

Declare selection screen like

select-options: v_date for sy-datum.

it will give the date from.........to...........

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
624

U can simply have the same date field as parameter for the report and then use it accordingly in ur program or u can also use select-options for ranges at selection screen.

Read only

0 Likes
624

thanks for your answers

but i need in the following way in parameters only

out put screen

date from -


to -


thanks & Regards

reddy

Read only

0 Likes
624

very awkward way to do it. simply declare parameters as follows

PARAMETERS: p_begda LIKE sy-datum,

p_endda LIKE sy-datum.

name the fields accordingly. this will give you date from on one line and to on the next.

Read only

Former Member
0 Likes
624

why do you want to use parameters ? just use select-options

select-options: s_date for sy-datum.

hope this helps.