"yyyymmdd" and formatted for the individual additions as follows:
DD/MM/YY and MM/DD/YY
Both additions have the same effect. The date is formatted with a
two-digit year and separators. Separators and order are determined
DD/MM/YYYY and MM/DD/YYYY
Both additions have the same effect. The date is formatted with a
four-digit year with separators. Separators and order are determined
DDMMYY and MMDDYY
Both additions have the same effect. The date is formatted with a
two-digit year with no separators. The order is determined
YYMMDD
This addition formats the date with a two-digit year without separators
in the format "yymmdd" .
If the available length is too short, the formatted output is
truncated at the right.
Latest notes: The truncation on the right differs from the usual
cutoff behavior in the date output specified
by the formatting setting of the
language environment , where
first the separators are removed and then any surplus characters are cut
off.
Some special properties apply when date
masks are used in the statement WRITE for
lists.
Example ABAP Coding The formatting is, for example, "060131".
DATA formatted_text TYPE c LENGTH 50.
WRITE sy-datlo TO formatted_text YYMMDD.
cl_demo_output=>display_text( formatted_text ).
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved