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: 

textarea content is getting appended with ##

Former Member
0 Kudos

Hi,

After entering text in a textarea input field, when its saved in the table '## ' is getting appended at the end of the text.

How to get rid of this.

Thanks in advance..

Regards,

Vathsalaa.K

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Can you tell me what do you mean by the "textarea input field".

is that you are using the text field in the screen and trying to update in the database level.

If yes check for the follwoing points.

1)what is the text field type ? it should of the message or string.....

2) may be you while creating the text from the FM text_created.

if you are tryiing to appending some extra lines/charecters.

it may happens some times.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Can you tell me what do you mean by the "textarea input field".

is that you are using the text field in the screen and trying to update in the database level.

If yes check for the follwoing points.

1)what is the text field type ? it should of the message or string.....

2) may be you while creating the text from the FM text_created.

if you are tryiing to appending some extra lines/charecters.

it may happens some times.

joginder_singh
Active Participant
0 Kudos

Hi

If your just getting this only end ( That are special characters which represnt and end of line or so) .Then do as follow.

Suppose thing that you have text in the varial v_string.

Count the length of the sring .

data : v_len type i.

v_len = strlen ( v_string ).

Then when passing into table field such as

v_len = v_len - 1. " Check whether u have to subtract one or 2 charactes length.

itab-text = v_string+(v_len) .

Hope this will resolve the problem.

Let me know if you have any issue with using this. Thr is standard function module is also available to remove the Special characters. I will put efforts to find the one if this doesnt work.

Cheers

Joginder

Former Member
0 Kudos

still not answered