cancel
Showing results for 
Search instead for 
Did you mean: 

Text Edit issues abap Webdynpro screen

Former Member
0 Kudos

Hello, I have a requirement for displaying text on a webdynpro screen in display mode. The text window should be like 100 char in length with 15 lines. Each line in an internal table should correspond to one line in the text control and if there are more than 15 lines then a scroll bar should appear.

I tried the text edit in read only mode, text view and formatted text view elements (no formatted text edit in my version) but couldn't achieve the desired output. Can some one give some suggestions to achieve the desired output?

Since the text controls are assigned to a context variable of type string and character formatting to display each line in ITAB into a new line in the text control is looking difficult. Please help!

I'm on ECC 6.0(release 7, level 15)

Thank you

Sg

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I used the cl_abap_char_utilities=>newline in places where I need a line break while concatenating the source text to the string variable linked to the text edit element in the screen.