Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Text Edit in BSP

Hello All,

I have a normal text editor ( htmlb:textEdit ) in my BSP application.I am able to read what ever I have entered in the text editor in the 'OnInputProcessing' event handler.

My problem is that I am not able to split the text into multiple lines as entered. The whole text(i.e multiple lines) appears as a string. How can I split this string to multiple lines as I have entered in the text area. My aim is to get individual lines as each line of an internal table so that I can save this as a standard text.

Thanks in advance.



Former Member

data: text_tab type standard table of string .

split <variable holding the text> at CL_ABAP_CHAR_UTILITIES=>CR_LF into table text_tab .



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question