on 02-26-2008 3:42 PM
Hi All,
I have to display a quantity feild of 20 char legth along with a field of 3 char.
Problem is that my quantity feild also have decimal values.But the value in this field is presently having having only 5 char like 66.704.No i have display a another feild along with like
66.704 Kg.But when i try to display in smartform it diplay with space like 66.704 kg.But i have to display like 66.704 kg.
Please sugest how will i remove this space and my value should be print from left side(Left align).I mean there should not be any space at left side.
Plz let me know the solution it quite urgent.
Regards,
Mohit
mohit.sap1@gmail.com
Hi
Use
CONDENSE
Or
shift LEFT deleting leading SPACE.
DATA: l_var TYPE char20.
l_var = ' 12.345'.
WRITE / l_var.
CONDENSE l_var.
WRITE / l_var.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohit,
You can use CONDENSE statement to remove the space. Just concatenate the Kg with quantity and condense that.
Reward if it helps!!
Thanks,
Sudha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.