on 10-04-2013 12:36 PM
Hi Friends,
We have developed a portal using webdynpro.
Where we need to bring user comments from ECC, which are provided through java portal.
Please suggest me in designing comment box(Feedback long text) and displaying the data.
Which UI_element I need to use.
Thanks in advance.
Regards,
Praveen G.V.S
Hi Praveen,
If you want user to edit the text you can use TEXT_EDIT or FORMATTED TEXT EDIT (for advance formatting) UI element for your requirement. Or else you can use Text View or FORMATTED_TEXT_VIEW (for advance formatting).
Thanks,
Ajay Bose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Praveen,
You can use TEXT_EDIT UI element to display long text of more than 255 chars. OR
Create text using SO10 transaction(SCRIPT text) and then READ_TEXT. u can use the UI Element FormattedTextView.
data : ls_header type thead,
lt_lines type standard table of tline,
lr_fm type ref to cl_wd_formatted_text.
call function 'READ_TEXT'
exporting
client = sy-mandt
id = 'ST'
language = 'E'
name = (name of the standard text)
object = 'TEXT'
importing
header = ls_header
tables
lines = lt_lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
lr_fm = cl_wd_formatted_text=>create_from_sapscript( sapscript_head = ls_header
sapscript_lines = lt_lines ).
WD_context->set_attribute( name = 'FOOTER' value = lr_fm->m_xml_text ).
Hope it will resolve your issue.
Thanks
Katrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can TextExdit UI for your requirement.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/06/45ee412e5e6324e10000000a1550b0/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.