Application Development and Automation 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: 
Read only

Adding Space after ## in description

Former Member
0 Likes
607

Hi

I have a requirement where for example-

Text field has letter as ## in description - material number is ##5This is ok.

I have to change the above description as- material number is ## 5This is ok.

That is if there is no space after ## , we have to add a space in the description.

Please provide me ABAP code for that.

Regards

Deep

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
518

Hi,

you can work with replace.

e.g.

replace '#' with '# ' into maktx.

regards

Nicole

2 REPLIES 2
Read only

Former Member
0 Likes
519

Hi,

you can work with replace.

e.g.

replace '#' with '# ' into maktx.

regards

Nicole

Read only

former_member189059
Active Contributor
0 Likes
518
" do this first so that if there is a space it will not show double spaces
replace '## ' with '##' into maktx.

" then do this
replace '##' with '## ' into maktx.