cancel
Showing results for 
Search instead for 
Did you mean: 

problem in using SX_INTERNET_ADDRESS_TO_NORMAL

bhakti2
Active Participant
0 Kudos

hi,

I searched for getting function module to validate email address

I found SX_INTERNET_ADDRESS_TO_NORMAL but I am facing below problems

if there is space before '@' then it does not give error

if there is invalid address like 'testt' etc, then it gives a cryptic message on the screen.

I am using it in webdynpro abap.

how to do I handle the exception so that I can give error message in my own format?

thank you

B.

Accepted Solutions (0)

Answers (1)

Answers (1)

VenuAnumayam
Participant
0 Kudos

Not sure what kind of validations you are doing with this FM. Did you pass ADDRESS_UNSTRUCT-TYP = "INT"?

I got error if I put a blank in the email address.