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 Query

Former Member
0 Likes
584

Hi all,

In select-options .

How to set the how to set the default date duration is last 30 days ???

eg.

Upper Date : 09/08/2007 ( Current Date ---> SY-DATUM ) ????????

Lover date : 09/07/2007 ( Date b4 30 days of current date )

Thanks in advance..

Raj

5 REPLIES 5
Read only

Former Member
0 Likes
564

hi,

use At Selection-screen output. event

regards,

Navneeth K.

Read only

Former Member
0 Likes
564

Hi Raj

Good Morning!

in initialization event

s_date-low = sy-datum - 30.

s_date-high = sy-datum.

reward points to all helpful answers

kiran.M

Read only

Former Member
0 Likes
564

hi,

AT SELECTION-SCREEN OUTPUT.

s_date-low = '09-07-2007'.

s_date-high = '09-08-2007'.

s_date-sign = 'I'.

s_date-option = 'BT'.

append s_date.

if helpful reward some points.

with regards,

Suresh Aluri.

Read only

Former Member
0 Likes
564

hi.try like this

s_date-low = sy-datum - 30.

s_date-high = sy-datum.

Read only

Former Member
0 Likes
564

Hi..

<b>select-options:</b>

s_date for sy-datum.

<b>initialization.</b>

s_date-high = sy-datum.

s_date-low = sy-datum - 30.

append s_date.