Skip to Content

problem in using SX_INTERNET_ADDRESS_TO_NORMAL

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 14, 2016 at 09:18 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded