Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

email id validation .

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.

Tags:
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question