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

ABAP query - default value in selection parameter

Former Member
0 Likes
3,147

In ABAP Query, how to get a default value into the field which is in selection screen?

7 REPLIES 7
Read only

Former Member
Read only

0 Likes
1,292

But is about variants, if I create a variant in Development then what about Quality and Production?

Read only

0 Likes
1,292

You can create variants in Quality and Production as well or transport it from Development.

Read only

Former Member
0 Likes
1,292

hi priya,

You can specify a default value to both a Parameter and a Select-Option with the following addition

Default <value>

E.g. Parameters : p_date TYPE sy-datum DEFAULT sy-datum.

Select-options s_date for sy-datum default sy-datum.

thanks

Sachin

Read only

0 Likes
1,292

in ABAP query, apart from variants, is there any option where we can mention that default value of a selection-screen field.

Read only

0 Likes
1,292
Read only

0 Likes
1,292

You can mention default values in the Query also without creating the variants as well.

When you declare the output variables at that time you can specify the values. This would be saved in the Standard variant.

Revert if anything is not clear.

Thanks.