2008 Oct 07 4:55 PM
Hi All,
I need to remove leading space from variable lv_wa-kbetr = ' 123'. and to output it to a SmartForm.
So I create program lines node and maintain it with a following code:
SHIFT lv_wa-kbetr LEFT DELETING LEADING space.
but it does not remove leading space (I see it in debugger) and the result is the same:
lv_wa-kbetr = ' 123'.
any ideas?
Thanks.
Regards,
Mindaugas
2008 Oct 07 4:59 PM
2008 Oct 07 4:59 PM
2008 Oct 07 5:02 PM
2008 Oct 07 5:20 PM
Ah, the shift command will only work on character/string fields.
Can you move it to a character field and work on that version?
Darren
2008 Oct 07 5:37 PM
I was using kbetr in order to have such format in output:
123.456.567,00
If I use char I have 1234567.00 as an output.
Anyway, thank you, i will try solve it with chars
Regards,
Mindaugas
2008 Oct 08 5:00 PM
here is a solution:
&lv_wa-kbetr(CZ)&
hope it helps to somebody...