|
How can I print number value without thousand separator?
See Eg.
Result is : 1,234.45
I usually using the REPLACE Command, mqty = '1,234.45'. REPLACE ',' WITH '' INTO mqty. Or REPLACE ',' WITH SPACE INTO mqty. ABAP Tips by: Nurmansah For thousand separator, you should write this program. You can also write this program as function. You can call
when it require.
DATA : x TYPE i,
MOVE it_comm1-fobval TO chspec.
IF x LE 3.
WRITE: 89(12) it_comm1-fobval RIGHT-JUSTIFIED USING EDIT MASK chspec. it_comm1-fobval = '1234'
ABAP Tips by: Siva |
|
Related ABAP Topics:
Get help for your ABAP problems
More ABAP Tips
BDC Programming Tips - Sapscripts Tips - Smartforms Tips SAP Basis, ABAP Programming and Other IMG Stuff http://www.erpgreat.com All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|