[ABAP] Beschreibung zu Mime-Typen ermitteln

DATA: lv_mime_type TYPE sdokfext-type VALUE 'text/html'.
DATA: lv_mime_description TYPE sdokfextt-descript.

CALL FUNCTION 'SDOK_MIMETYPE_GET_DESCRIPTION'
  EXPORTING
    mimetype    = CONV skwf_mime( lv_mime_type )
  IMPORTING
    description = lv_mime_description.

WRITE: / lv_mime_description.