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

Handlinng long text display for text field - Multiline Issue

Hi all,

I have an issue with an interactive text field in which user enters data in multiple lines without hitting enter key(for new line).

So the text field contains text in multiple lines so we are unable to split text for each line separately. If the user doesn't hit enter key there is no new line or any other separator stored in the text and hence we are unable to split the text into multiple line to store at the back end using SAVE_TEXT.

So could you please suggest any solution to handle this issue.

Regards

Pramod

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Apr 12, 2010 at 04:30 PM

    Hello,

    maybe you can explain the scenario you´re working on?

    What I would do (anyway) is to read the text, check the formatting (TDLINE part of the line) and based on the formatting from there (like * is very useful, right?) I would change the format of the text coming into the Adobe form.

    Regards Otto

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Omkar,

      Thanks for providing this solution. But i tried both '#' and cl_abap_char_utilities=>newline, but split just can't recognize them.

      Anything i need to set at the form? i uses "Plain text only" for Field format, Rich Text can't even pass the value back to the program when i upload the form.

      Any idea? thanks.

  • author's profile photo Former Member
    Former Member
    Posted on Apr 12, 2010 at 03:09 PM

    Hi check this FM's:

    SOTR_SERV_STRING_TO_TABLE

    CONVERT_STRING_TO_TABLE

    HR_EFI_CONVERT_STRING_TO_TABLE

    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.