on 11-13-2014 5:57 AM
Dear Experts,
I have 2 text edit UI elements(namely requestor comments and approver comments).
For the first time, the requestor will provide comments and submit the request ( here approver comments will be hidden)
For the second time, when approver opens the request, he should see the previous comments provided by requestor in requestor comments and approver can also provide his comments.
When requestor opens his request, he should see all the previous comments in one box i.e requestor comments...
I can able to show them,But it is not showing the comments in new line.
PFB the snapshot
Pls help me to resolve this issue.
Thanks
Santhosh
20 seconds of Google:
You have to put a line break (br) between the texts..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for prompt reply.But if i user br, following is the output.
Thanks
Santhosh
Hi Santhosh,
Please test the standard component WDR_TEST_UI_ELEMENTS, if TextEdit works fine.
...
Run the application ---> choose TextEdit element from left panel---> enter text with line breaks ---> Click on APPLY CHANGES button to refresh the screen .
Check out if line breaks are still fine after clicking button APPLY CHANGES
Also check the below thread,
Regards,
Rama
Hi Santosh,
if you are using TextEdit use:
CL_ABAP_CHAR_UTILITIES=>newline
or
CL_ABAP_CHAR_UTILITIES=>cr_lf
as linebreak.
Regards
ismail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please used FormattedTextEdit instead of TextEdit! Than the line-break will work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.