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

default value??????????

Former Member
0 Likes
776

hi

i created a selection screen with parameter

selection screen begin of block xxx with frame.

parameters p_date type dats.

selection screen end of block xxx.

i want this parameter to have default value, how do i do that?

ami

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
744

Hi,

Try this

selection screen begin of block xxx with frame.

parameters p_date type dats DEFAULT sy-datum.

selection screen end of block xxx.

hi

i created a selection screen with parameter

selection screen begin of block xxx with frame.

parameters p_date type dats.

selection screen end of block xxx.

i want this parameter to have default value, how do i do that?

ami

3 REPLIES 3
Read only

Former Member
0 Likes
744

Hi Ami,

Try this:

parameters: p_date type dats default sy-datum.

Hope this will help.

Regards,

Nitin.

Read only

Former Member
0 Likes
745

Hi,

Try this

selection screen begin of block xxx with frame.

parameters p_date type dats DEFAULT sy-datum.

selection screen end of block xxx.

Read only

JanStallkamp
Advisor
Advisor
0 Likes
744

Please don't use multiple question marks in the subject.