‎2008 Oct 29 3:58 PM
Hi all,
i have name1 of char type of lenght 9.
data: name1(9) type c.
i have a name of 4 digits....i.e, name1 = 'ravi'.
in o/p i m getting 'ravi ' followed by 5 empty space.
how can i remove the empty space...
i have tried with CONDENSE it is not working.
pls help.
‎2008 Oct 29 4:01 PM
‎2008 Oct 29 4:03 PM
i have tried with no-gaps also.....not working....any other way??
‎2008 Oct 29 4:07 PM
‎2008 Oct 29 4:13 PM
‎2008 Oct 29 4:27 PM
Hi ravi,
Actaully CONDENSE No-gaps should work check it once again.
I am not sure how much this can help you as i am having system to test whether it works or not
REPLACE ALL OCCURRENCES OF ' ' IN <ITAB> WITH ' '.
CONDENSE <ITAB>.
Cheers!!
VEnk@
‎2008 Oct 29 4:40 PM
Hie Ravi
try this CONDENSE name1 NO-GAPS.
or
SHIFT name1 LEFT DLETEING TRAILING SPACE.
hope that helps..
Isaac Prince
‎2008 Oct 29 4:42 PM
o/p? where are you seeing the output?
is it a ALV? file? idoc? bdc ?