‎2008 May 22 8:52 AM
Hi Experts,
in selection screen i am using p_month
like parameter:p_month like isellist-month.
after that i am giving one popup based on value request.
like call function 'POPUP_TO_SELECT_MONTH'
exporting
actual_month = l_month
language = sy-langu
start_column = 8
start_row = 5
importing
selected_month = p_month
exceptions
factory_calendar_not_found = 1
holiday_calendar_not_found = 2
month_not_found = 3
others = 4.
now i am getting month properly my problem is how to do validations in this field.
if user enter wrong values its going to dump.how to restrict that.
please any bod tell me the way out.
thanks in advance,
Tharangini.
‎2008 May 22 9:00 AM
Hi,
Validate the month field at selection screen
check condition
L_month >= '1' and p_num <= '12'.
and throw error..if outside this range..
I hope this helps..
Regards,
Nikhil
‎2008 May 22 9:02 AM
‎2008 May 22 9:03 AM