Skip to Content
author's profile photo Former Member
Former Member

textarea content is getting appended with ##

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 09:43 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 23, 2008 at 10:38 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 11:14 AM

    still not answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.