on 12-29-2008 7:54 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.