Skip to Content
0
Former Member
Jul 05, 2006 at 09:33 AM

FM EU_TAX_NUMBER_CHECK

186 Views

Hi Friends,

I am using the FM EU_TAX_NUMBER_CHECK.

CALL FUNCTION 'EU_TAX_NUMBER_CHECK'
         EXPORTING
              COUNTRY       = WA_FILE_DATA-LAND1
              EU_TAX_NUMBER = WA_FILE_DATA-STCEG
         EXCEPTIONS
              NOT_VALID     = 1
              OTHERS        = 2.
    <b>IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF</b>

it checks for SY-SUBRC after calling

i want all the error messages to be passed to one internal table , i dont want them to be displayed at runtime

any suggestions