‎2008 May 07 4:32 AM
Hi,
How to set default value in selection screen
Edited by: Hima on May 7, 2008 5:45 AM
‎2008 May 07 4:49 AM
SELECT-OPTIONS : s_date FOR bkpf-bldat.
INITIALIZATION.
MOVE sy-datum TO s_date-high.
APPEND s_date.Use the INITIALIZATION event.
Regards
Gopi
‎2008 May 07 4:52 AM
tables: kna1.
select-options:cust for kna1-kunnr Default '2000' and '3000'.
Another method as stated above..
Pls rewards points if useful..
regards
sas
‎2008 May 07 4:54 AM
Hi Hima,
PARAMETERS: p_matnr TYPE matnr DEFAULT 1000,
p_date type sy-datum.U can also use INITIALIZATION. Event to give the default values.
For Example:
This is to set the previous date.
INITIALIZATION.
p_date = sy-datum - 1.Best regards,
raam
‎2008 May 07 4:55 AM
Hi
Chjeck this Program..
PARAMETERS: value TYPE i DEFAULT 100,
name TYPE sy-uname DEFAULT sy-uname,
date TYPE sy-datum DEFAULT '19980627'.
Hope it helps.
Praveen
‎2008 May 07 5:06 AM
hi
good
add "MEMORY ID vko" to the selection parameter.
thanks
mrutyun^
‎2008 May 07 5:18 AM
Adding a DEFAULT follow with VALUE in the parameter or variable declaration.