on 03-05-2012 8:07 AM
Hi,
I have a situation where I need to print two lines inside a text view.
for eg: Bye Bye < user name>
Have a nice day!!
I am assigning this to the context by conactenating Bye Bye < user name> Have a nice day!!.
But the text view prints it a same line.
How can I print Have a nice day!!. in the second line.
Any suggestions and ideas are welcome and appreciated.
Thanks and regards.
data str type string.
concatenate 'Bye Bye < user name> ' 'Have a nice day!!' into str separated by cl_abap_char_utilities=>newline.
now bind this STR to your textview attribute.
Regards
Srinvias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This link will help you to do all the functions in text view using HTML.
[html in text view|http://help.sap.com/saphelp_erp2005/helpdata/en/08/5696420cc2c56ae10000000a155106/content.htm]
Karthik.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the html tag <br> to achieve this.
E.g.
Bye Bye <br> Have a nice day.
Regards
Fareez
Edited by: Fareez Ahamed on Mar 5, 2012 9:16 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.