Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

any FM or idea to remove # which get printed after every charin al11file

Former Member
0 Kudos

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..

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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..

0 Kudos

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