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