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.
| Name | Direction | Type | Description |
|---|---|---|---|
| DATE_INTERNAL (required) | EXPORTING | D | Validated internal YYYYMMDD date |
| DATE_EXTERNAL | IMPORTING | STRING | External 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.2026Uses DD.MM.YYYY because the simulator does not have SAP user locale settings.
Exceptions: DATE_NO_PLAUSIBLE