ABAP/4
Formatting Options in SAPscript: Exponent for Floating Numbers
In SAPscript, if you don"t want to specify format an exponent for DATA TYPE FLTP, you can apply this option.
Syntax
&VAR(En)&
Example
&VAR& = +1.23456780000000E+06
&VAR(E2)& = +12345.6780000000E+02
&VAR(E7)& = +0.123456780000000E+07
&VAR(E)& = +1234567.80000000
- thitima's blog
- Add new comment
- 1340 reads
Formatting Options in SAPscript: Without the Separator for 'Thousands'
In SAPscript, if you don"t want to show the "Thousands" charactor of data types DEC, CURR, INT and QUAN, you can apply this option.
Syntax
&VAR(T)&
Example
&VAR& = 1,356.470
&VAR(T)& = 1356.470
- thitima's blog
- Add new comment
- 1306 reads
Formatting Options in SAPscript: Number of Decimal Places
In SAPscript, you can set number of decimal places fo data types DEC, QUAN and FLTP by this option.
Syntax
&VAR(.n)&
Example
&VAR& = 1,356.470
&VAR(.1)& = 1,356.5
&VAR(.4)& = 1,356.4700
&VAR(.0)& = 1,357
- thitima's blog
- Add new comment
- 2233 reads
Formatting Options in SAPscript: Condense Space
In SAPscript, we can condense space between words to single space and delete leading space by this option.
Syntax
&VAR(C)&
Example
&VAR& = I AM A ABAPER
&VAR(C)& = I AM A ABAPER
- thitima's blog
- Add new comment
- 2326 reads
Formatting Options in SAPscript: Without the Leading Zeros
In SAPscript you can show value symbol without leading zeros by this option.
Syntax
&VAR(Z)&
Example
&VAR& = 0010
&VAR(Z)& = 10
- thitima's blog
- Add new comment
- 2451 reads
Formatting Options in SAPscript: Move Sign to Left and Right
In SAPscript about symbol that contain numeric value, you can show the sign of value symbol to left of the number by this option.
Syntax
&VAR(<)&
Example
&VAR& = 999.99-
&VAR(<)& = -999.99
If you want to move back sign to the right of number, you can use this option.
Syntax
&VAR(>)&
- thitima's blog
- Add new comment
- Read more
- 1665 reads
Recent comments
2 years 30 weeks ago
2 years 35 weeks ago
2 years 36 weeks ago
2 years 36 weeks ago
2 years 36 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago