abap:format_string
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
abap:format_string [2015/02/03 12:10] – ginko | abap:format_string [2015/10/27 12:17] (current) – ginko | ||
---|---|---|---|
Line 6: | Line 6: | ||
endif.</ | endif.</ | ||
**NB** : Fait rarissime, cette notation est utilisable dans la plupart des instructions ABAP (comme illustré dans l' | **NB** : Fait rarissime, cette notation est utilisable dans la plupart des instructions ABAP (comme illustré dans l' | ||
+ | |||
+ | ===== String Templates ===== | ||
+ | Le successeur du '' | ||
+ | <code abap>str = |{ f DECIMALS = 3 } bla \|bla { p DECIMALS = 4 } plop| & |j { sy-datum }|.</ | ||
===== Format with WRITE ===== | ===== Format with WRITE ===== | ||
Line 59: | Line 63: | ||
... RIGHT-JUSTIFIED | ... RIGHT-JUSTIFIED | ||
- | ===== Minus sign ===== | + | ===== Number formatting ===== |
+ | En plus du '' | ||
+ | ==== Minus sign ==== | ||
To move the minus sign to the left, use FM '' | To move the minus sign to the left, use FM '' | ||
+ | ==== Séparateur décimal ==== | ||
+ | De la virgule au point. | ||
+ | '' |
abap/format_string.txt · Last modified: 2015/10/27 12:17 by ginko