04-20-2009 10:41 AM
Hi All,
My report is using customized HR Report Category with selection period as Key Date.
My requirement is to make Key Date as mandatory field and with default value as sydatum.
Pls help .
Regards,
Nibha
04-20-2009 10:51 AM
Hi,
You can use the below:
obligatory-This prohibits blank input fields.
default-This term maintains an initial default value for the parameter.
Thanks,
Archana
04-20-2009 10:51 AM
Hi,
You can use the below:
obligatory-This prohibits blank input fields.
default-This term maintains an initial default value for the parameter.
Thanks,
Archana
04-20-2009 10:59 AM
I am not using my selection screen. Selection screen is being generated using HR Report category... How do I make fields mandatory in HR report Catagory?
04-20-2009 11:06 AM
Hello,
Although the selection screen will appear from the logical database you define, you can add your validation check at the event 'At selection-screen' to check if particular field is initial or not and give proper error message.
Regards,
Mansi.
04-20-2009 11:08 AM
04-20-2009 11:08 AM
04-20-2009 11:10 AM
hi,
In the initialization event you can initialize it to sy-datum...
INITIALIZATION.
date = sy-datum.
This will default it to sy-datum
04-20-2009 11:11 AM
Hello,
Although the selection screen will appear from the logical database you define, you can add your validation check at the event 'At selection-screen' to check if particular field is initial or not and give proper error message.
Other way would be at the initialisation event use the following :
loop at screen.
if screen-name = 'P_NAME'.
screen-input = '1'.
endif.
modify screen.
endloop.
Also at initialisation
s_date = sy-datum.
Regards,
Mansi.