SAP Function CONVERSION_EXIT_SDATE_OUTPUT - Internal date OUTPUT conversion exit (e.g. YYYYMMDD)

Parameter Reference Type Length Default Optional Text
INPUT 0 internal date format

Parameter Reference Type Length Text
OUTPUT 0 external date format

Functionality
The function module determines the external language-dependent dateformat for an internal date.

Example
Date format definition in the user master: DD.MM.YYYY
DATA: INT_DATUM LIKE SY-DATUM VALUE '19940102',
EXT_DATUM(11) TYPE C.
...
CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
EXPORTING
INPUT = INT_DATUM
IMPORTING
OUTPUT = EXT_DATUM.
Result:
EXT_DATUM = 02.JAN.1994
You can call the test report RSSCA1T0 to see thefunctionality of this function module. It contains the entire dateconversion, both external and internal formats.

  • This module is called automatically when a date is output to the screen
  • and at WRITE commands.
    • All function modules in this group are buffered by default. Buffering
    • can be deactivated with the function moduleBUFFER_CONTROL_SCA1.