Ansicht
Dokumentation
ABAPWRITE_TO_SHORTREF - WRITE TO SHORTREF
Addresses (Business Address Services) General Material DataThis documentation is copyright by SAP AG.
WRITE TO
Syntax
WRITE {source|(source_name)} TO destination
[LEFT-JUSTIFIED|CENTERED|RIGHT-JUSTIFIED]
{ { [EXPONENT exp]
[NO-GROUPING]
[NO-SIGN]
[NO-ZERO]
[CURRENCY cur]
{ { [DECIMALS dec]
[ROUND scale] }
| [UNIT unit] } }
| { [ENVIRONMENT TIME FORMAT]
[TIME ZONE tz] }
[STYLE stl] }
[USING {{NO EDIT MASK}|{EDIT MASK mask}}]
[DD/MM/YY|MM/DD/YY|DD/MM/YYYY|MM/DD/YYYY|DDMMYY|MMDDYY|YYMMDD].
Effect
Formats the content of a data object specified either statically as source or dynamically in source_name and writes it to the variable destination.
Additions
- LEFT-JUSTIFIED$|CENTERED$|RIGHT-JUSTIFIED
Determines whether the output is left-aligned, centered or right-aligned within the current output length.
- EXPONENT exp
Determines the exponent for the output of data objects of the data type f.
- NO-GROUPING
Suppresses the thousands separators in the output of data objects of the data types (b, s), i, int8, or p or p.
- NO-SIGN
Suppresses the sign in the output of data objects of the data types i, p, or f.
- NO-ZERO
Replaces zeros with blanks.
- CURRENCY cur
Defines currency-related decimal places for the output of data objects of the data types i or p by using a currency key cur from the database table TCURX.
- DECIMALS dec
Sets the decimal places contained in the output of data objects of the data types i, p, f, or of time stamps, to dec.
- ROUND scale
Multiplies the value of a data object of the data type p by 10**(-scale) before the output.
- UNIT unit
Cuts off decimal places which have the value 0 and are outside the precision of a measurement unit unit from the database table T006 when formatting data objects of the data type p.
- ENVIRONMENT TIME FORMAT
Formats a time output in 12 hour or 24 hour format.
- TIME ZONE tz
Formats a time stamp with reference to a time zone tz.
- STYLE stl
Formats a decimal floating point number into an output format stl.
- USING ${${NO EDIT MASK$}$|${EDIT MASK mask$}$}
NO EDIT MASK - Disables the execution of an assigned conversion routine.
EDIT MASK - Either calls another conversion routine mask or defines an edit mask mask.
- DD/MM/YY$|MM/DD/YY$|DD/MM/YYYY$|MM/DD/YYYY$|DDMMYY$|MMDDYY$|YYMMDD
Functions as an edit mask for the output of data objects of the data type d.
mask$}$}>>
NO EDIT MASK - Disables the execution of an assigned conversion routine.
EDIT MASK - Either calls another conversion routine mask or defines an edit mask mask.
- DD/MM/YY$|MM/DD/YY$|DD/MM/YYYY$|MM/DD/YYYY$|DDMMYY$|MMDDYY$|YYMMDD
Functions as an edit mask for the output of data objects of the data type d.
RFUMSV00 - Advance Return for Tax on Sales/Purchases BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 5799 Date: 20240427 Time: 000635 sap01-206 ( 52 ms )