on 06-04-2007 3:59 PM
Hi,
I want to display a large text in a Webdynpro ABAP page, but I'm stuck with 255 chars of OTR. I'm unable to create long texts via SOTR_EDIT transaction and I don't know how I can use more then 255 chars.
The text is static, it's just an explanation of what the screen is about with about 600 chars. How can I do this? What UI element should I use, and where do I write my text?
Thanks
Hi,
since the links above refer to the internal documentation system and point to a lower support package release, here are some up-to-date links:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/336208da18060be10000000a155369/frameset.htm">Documentation on help texts</a>
For really long texts, you could use the UI element <a href="http://help.sap.com/saphelp_nw70/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/frameset.htm">FormattedTextView</a> which has the advantage of formatting tags (unlike theTextView UI element).
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For the texts more than 255 chatercters we can have a context attribute of type string. In the WDINIT we can set the context node with the text to the attribute.
In the View we can use the UI element Explanation to display the text.
We can use TextView but we need to use a label for it (for accessebility purpose). Hence we can use the UI element Explanation for displaying the text this UI element can be used to display multiple lines texts.
For More information about this UI element refer the link <a href="http://aiokeh.wdf.sap.corp:50000/SAPIKS2/contentShow.sap?_SCLASS=IWB_STRUCT&_SLOIO=7C3545415EA6F523E10000000A155106&TMP_IWB_TASK=DISPLAY&RELEASE=684&LANGUAGE=EN&_SEQNUM=420&_LOIO=A942C041E125C917E10000000A155106&_CLASS=IWB_EXTHLP">http://aiokeh.wdf.sap.corp:50000/SAPIKS2/contentShow.sap?_SCLASS=IWB_STRUCT&_SLOIO=7C3545415EA6F523E10000000A155106&TMP_IWB_TASK=DISPLAY&RELEASE=684&LANGUAGE=EN&_SEQNUM=420&_LOIO=A942C041E125C917E10000000A155106&_CLASS=IWB_EXTHLP</a>
In the wddomodifyview you can write code to set the data to the explanation ui element for more information, kindly refer <a href="http://aiokeh.wdf.sap.corp:50000/SAPIKS2/contentShow.sap?_CLASS=IWB_EXTHLP&TMP_IWB_TASK=DISPLAY&_LOIO=4511E310459D7201E10000000A155369&_SLOIO=7C3545415EA6F523E10000000A155106&RELEASE=684&LANGUAGE=EN&_SEQNUM=107&_SCLASS=IWB_STRUCT">http://aiokeh.wdf.sap.corp:50000/SAPIKS2/contentShow.sap?_CLASS=IWB_EXTHLP&TMP_IWB_TASK=DISPLAY&_LOIO=4511E310459D7201E10000000A155369&_SLOIO=7C3545415EA6F523E10000000A155106&RELEASE=684&LANGUAGE=EN&_SEQNUM=107&_SCLASS=IWB_STRUCT</a>
In this link you can also find the code and the example with screenshot.
Best regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.