‎2008 Feb 25 3:51 AM
Hi all,
In system the Date setting DD.MM.YYYY,
In selection screen
Parameters : p_date like konh-erdat.
I am having the date as parameter.
when i am entereing the date in DD-MM-YYYY format, it is showing the
Standard message has 'Enter the date in __:__:_____.
But whereas my client needs to capture standard message and to display the customised message has 'Enter the date in DD:MM:YYYY.
Will this possible, please let me know this is urgent.
‎2008 Feb 25 3:58 AM
hi varisetty madhavi
you can define the customized message under the event.
AT SELECTION SCREEN ON P_DATE.
read the documentaiton
This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
reward if helpful
Rohan
‎2008 Feb 25 4:08 AM
Hi why dont you keep a note on the selection screen saying:
"Please enter the date in DD_MM_YYYY only" just above the parameter..
using
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(75) text-007.
SELECTION-SCREEN END OF LINE.
‎2008 Feb 25 4:18 AM
Hi jackandjay,
He wants only has error message .
No the text, Let me know is it possible to capture standard message
‎2008 Feb 25 4:30 AM
I tried may in package SZS , but with no luck... I doubt if its possible..