Zed FrameOpen workbench

CONVERT_DATE_TO_EXTERNAL — ABAP Function Module

Format an internal date as DD.MM.YYYY.

CONVERT_DATE_TO_EXTERNAL

Format an internal date as DD.MM.YYYY.

Parameters
NameDirectionTypeDescription
DATE_INTERNAL (required)EXPORTINGDValidated internal YYYYMMDD date
DATE_EXTERNALIMPORTINGSTRINGExternal dotted date
DATA external_date TYPE string.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
  EXPORTING date_internal = '20261014'
  IMPORTING date_external = external_date.
WRITE: / external_date.

Example output:

14.10.2026

Uses DD.MM.YYYY because the simulator does not have SAP user locale settings.

Exceptions: DATE_NO_PLAUSIBLE