09-20-2008 12:47 PM
Hi all,
when a file gets saved from tcode FBWE in al11, # will be displayed after every character like,
#1# # #0# #3#4....and when i read it into table it comes along with hash....but i want data with out it.
Any FM to remove the # symbol from the actual number (1 0 34. ...above example)
Any pointer for above would be really helpul..
Thank you..
09-20-2008 1:19 PM
yeah it is there
but not function module
class functionality is there
i think cl_gui_frontend_services->horizontal tab some thing like that it is there
u can try using this
it is not exact thing
some thing like this class
try this
with regards
s.janagar
09-20-2008 1:54 PM
Hi dinesh,
No need for FM just use Replace as follows;
1) For Single Field
REPLACE ALL OCCURRENCES OF '#' IN lv_text WITH ''.
2) For a whole internal table
REPLACE ALL OCCURRENCES OF '#' IN TABLE itab WITH ''.
Revert Back if u have any doubts.
Regards
Karthik D
09-20-2008 2:06 PM
Hi ,
thanks for ur reply...
thats true..but still i have to condense it...after removing # , there will be a space between characters..hw to remove space from between???
like...1 3 4 5..i want 1345..
09-20-2008 2:14 PM
Hi dinesh,
It is coming like 1345 only with the above code, remember there is no space between the single quotes in the Replace Statement.
Mark the question as answered if it is solved.
Regards
Karthik D