10-10-2008 4:05 PM
I have to provide select option on the selection screen for the user to enter email ids.
Shall I give 40 character size for email id or any standard one you suggest ?
Then I have to validate like banks and spaces and @ etc symbols in between ... so
Some body might know better than me - could you help ?
Thanks IN ADV.
10-10-2008 4:14 PM
You can makre further checks in similar fashion. I am not sure is there is any function to do this.
REPORT ztest3.
PARAMETERS: p_mail TYPE ad_smtpadr.
AT SELECTION-SCREEN.
IF p_mail NA '@' OR p_mail NA '.'.
BREAK-POINT.
ENDIF.
Here you go..Check this FM
SX_INTERNET_ADDRESS_TO_NORMAL
-Aman
Edited by: Amandeep Bal on Oct 10, 2008 11:15 AM
10-10-2008 4:14 PM
You can makre further checks in similar fashion. I am not sure is there is any function to do this.
REPORT ztest3.
PARAMETERS: p_mail TYPE ad_smtpadr.
AT SELECTION-SCREEN.
IF p_mail NA '@' OR p_mail NA '.'.
BREAK-POINT.
ENDIF.
Here you go..Check this FM
SX_INTERNET_ADDRESS_TO_NORMAL
-Aman
Edited by: Amandeep Bal on Oct 10, 2008 11:15 AM
10-10-2008 4:20 PM
check this function for validation of email address SX_INTERNET_ADDRESS_TO_NORMAL
this function only look for @