06-10-2008 2:26 PM
06-10-2008 2:33 PM
06-10-2008 2:27 PM
06-10-2008 2:30 PM
hi
use no zero edition
NO-ZERO
This addition cannot be used together with the addition TIME ZONE.
Effect
If dobj has a numeric data type and contains the value 0, blanks are output for the length of the output. If dobj has the data type c, n, or string, leading zeroes are displayed by blanks.
Example
Output of 22 blanks with red background color instead of the standard output "0,0000000000000000E+00".
DATA float TYPE f.
SET BLANK LINES ON.
IF float = 0.
WRITE float NO-ZERO COLOR = 6.
ENDIF.
http://abaplovers.blogspot.com/2008/02/write-statement.html
regards
prasanth
06-10-2008 2:30 PM
06-10-2008 2:31 PM
Hi,
you can refer this page,..
http://abaplovers.blogspot.com/2008/02/write-statement.html
reward if useful
preet
06-10-2008 2:31 PM
Hi,
U can condense the variable if the variable contains leading Space.
CONDENSE <VARIABLE NAME>
Regards
Sandipan
06-10-2008 2:33 PM
06-10-2008 2:37 PM
pls stop giving such ready made answers to the newbies.
encourage them to SEARCH, and if that doesnt help let them come and post their queries.
Just to earn some "worthless" points, pls dont go around creating an overhead on the SDN server by answering queries that has been answered comprehensively by some hundred other users before u.
pk