[ABAP] Gültigkeit einer europäischen Umsatzsteuer-Identifikationsnummer prüfen

CALL FUNCTION 'EU_TAX_NUMBER_CHECK'
  EXPORTING
    country       = 'DE'
    eu_tax_number = 'DE12345678901'
  EXCEPTIONS
    not_valid     = 1
    OTHERS        = 2.

IF sy-subrc NE 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.