Char. formats(Bold, Underline) in Long text editor not visible in ABAP WD

Hi ABAP experts,
Problem:
I have created long text with using bold and under line formats in long text editor (FM TEXT_ EDIT). I am trying to show same text in WebDynpro using READ_TEXT FM. But FM READ_TEXT is getting long text with HTML tags as shown below for bold and underline and it long text showed as same in WebDynpro application with HTML tags.
Long text shown in webdynpro:
Type your message using the form below. When finished, you can
optionally preview your post by clicking on the <H>"Preview"</> tab.
Otherwise, click the <U><H>"Post Message"</></> button to submit your
message immediately.
Is there any function module available to change format and pass to WebDynpro context?
Thanks
Rajesh Yadla

The normal text editor in Web Dynpro won't handle HTML tags (they get safe encoded as you described).  In NetWeaver 7.01 we do introduce a FormattedTextEditor that allows for such formatting. There are APIs to convert from SAPScript based texts to the XHTML FormattedText tags.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm

Similar Messages

  • Long text editor - sign problem

    Hi,
    Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in the transaction once I input my value in the graphical editor , save and come back.
    Please help...
    Thanks
    Praneeth

    Hi Sandra,
    I am also talking about the same issue in IW32 and the internal SAP program is not doing a correct conversion due to which the wild characters are entered into the long text window on IW32.
    I received an answer for my OSS note and they say it is how the system is ..please see the comments from SAP below ...
    26.08.2011 - 12:37:23 CET - Reply by SAP             
    Hi,
    I am sorry, but the behaviour which you describe is correct.
    I will try to explain the meaning of the special characters and
    why they have to be there: In Sapscript there are some characters,
    which have a special meaning. E.g. a '&' starts a symbol, a '<'
    starts a character format, etc. So if you use e.g. a '&' in your
    text, this Sapscript needs the information, whether the '&' shall
    start a symbol or whether it shall be printed as '&'.
    So if you want to print the '&' as '&', the character must be masked.
    This is done via the characters <(>...<)>. So when you enter
    a '&' (and when it is not sure, whether it may start a symbol),
    the Sapscript internally saves the character as <(>&<)>.
    Usually this should be no problem: If you process the text via
    the Sapscript, you will not notice the masking characters. The
    graphical editor will not display them. And if you print the text
    via a Sapscript form or a Smartform, you will not see them.
    Only if you look into the internal table, which is returned
    by EDIT_TEXT or READ_TEXT, you will see the characters.
    (and the old Sapscript editor displays them, too, because it
    is displays the text in the Sapscript-internal format).
    If you process the internal table yourself, you must take this
    into consideration. E.g. if you want to convert the
    Sapscript-internal ITF format which is returned by EDIT_TEXT
    into 'normal' text format, you can use the function module
    CONVERT_ITF_TO_ASCII.
    Kind Regards,
    Marian O'Connell
    Support Consultant
    AGS Primary Support
    Visit the Enterprise Asset Management (EAM) forums:
    Enterprise Asset Management (SAP EAM)

  • Long Text Editor displaying & incorrectly.

    Hi Experts,
                    Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in some places and '&' in others. I understand that the <(> symbol is used as protection for special symbols like &, however this is occuring in some places and not in others. Is there any package which fixes this  problem??
                      Please help.
    Thanks,
    Aditya.

    Hi Naimesh,
                       My problem is not with the display of variables in the editor. Consider the case wherein transactional data is displayed in Long text. For example if you go to IW22 and decide to change the text for the notification description. In case you give a & sign in the long text -  it will be converted to  - '<(>&<)>' , when I log on to see the changes I made the next time. However I want the editor to stop this conversion. Please reply.
    Thanks ,
                 Aditya.

  • Long text  editor called  from report

    Hi All,
    I  have a requirement of displaying long text editor(like the one used for sap script) for maintaining the details for each PO in report column.A similar example is transaction SO10.I will be thankful  if anybody can help in this regard.
    Thanks,
    Sanjay.

    Hi,
    You will have to use the FM: READ_TEXT, EDIT_TEXT, SAVE_TEXT to achieve this functionality.
    This will basically open the text editor as a pop up box ( size will be as sap script editor) for entering some comments against a Purchase Order.
    For this FMs, you 'll require Text id, text name, text object and language as parameters to be passed.
    thead-tdname = 'Purchase Order No'. " Name
    thead-tdid = 'ZQH1'.               " Text ID - E.g. To be created in your system
    thead-tdobject = 'VBBK'.   " Texts: application object
    thead-tdspras = sy-langu.       " Language Key
    Hope this helps.
    Regards,
    JLN

  • POP UP LONG TEXT EDITOR

    Moderator message: please do not use ALL CAPITALS in your subject
    Hi all,
    I have a requirement to pop up a long text editor screen on clicking a PO in ALV column.
    Please guide for the same.
    Thanks.
    Edited by: Matt on Dec 16, 2008 11:25 AM

    hi .. check this ..
    REPORT ZEX_MINITEXTEDITOR .
    Parameters: P_title(10).
    Data: Begin of int_text occurs 0,
          Text(100),
          End of int_text.
    CALL FUNCTION 'TERM_CONTROL_EDIT'
    EXPORTING
       TITEL                = P_title
       LANGU                = 'E'
      TABLES
        TEXTLINES            = int_text
    EXCEPTIONS
       USER_CANCELLED       = 1
       OTHERS               = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    regards
    chinnaiya

  • How do I get the bold, underline, italics editing option for Notes on iPhone 5 iOS 7.0.4? Option is not appearing when I select text.

    When I select text, I don't get an arrow with additional options. What is shown in the image are the only options I get. Is there something I need to do in Settings or something in order to be able to bold, underline and italicize text?
    I     

    I only have an iPod (but it does have the latest software) but I achieved bold text as follows:
    1) touch and hold word to embolden;
    2) touch Select;
    3) touch the arrow head at the right;
    4) touch BIU option section of the option bar;
    5) touch the Bold section of the option bar.
    Having selected the text, the selection can be narrowed or widened using the blue dot.  Also, the Bold, Italics and Underline option bar does not disappear once a section has been made, thus bold and underline can be chosen - touch elsewhere on the screen to remove the option bar.  When the selected option bar section background turns grey the software has accepted your request.  Note that a first go at achieving this might not work if the software has not correctly picked up your touch and may not present you with the correct options - it is intuitively trying to help you and sometimes misunderstands your touch.

  • How to open "change long text" editor on a button click

    Hi,
    I have 4 long text boxes alligned vertically and a button beside them on a screen.
    My client has the following requirement:
    -- When this button is clicked, a "change long text" editor should open, the user will make his changes here and when back button is clicked, all the information in the editor should get transferred to the 4 text boxes.
       (the functionality should to similar to the big custom control box and the "Create Text" button beside it (in the Subject block) in IW52 transaction except that the custom control should be replaced with the 4 Text boxes).
    Please help, How could I achieve this?

    Cheacked the SAP given programs / pakages and solved the problem.
    Thanks.

  • LOok for Emergeny help about Property editor not visible

    For some reason, my Property Editor window of Workshop is not visible any more. I have tried restart workshop and from possible menus.
    I have read a posting dated Mar 10, 15,17 by Jared, Judecki, he said even by restall the workshop, the problem still there. He talked about editing a properties file that Weblogic placed in Window's profile
    (which related with the window's location.
    I post this problem again want to get tour response especially from Jared Judecki, if you know what's the name of properties file and how to edit it, also if you know the email of Jared Judecki, that's of great help.
    Thanks again!!
    Please tell me the steps how to fix the "property
    editor not visible in weblogic", where is the properties file related with weblogic in windows profile. and how to edit this file.

    Did you try selecting portal components like books, pages, portlets. I have seen this problem too. But it would go away when you restart workshop.
    --SJ                                                                                                                                                                                                                                                                                                               

  • I udate my os to 10.6.7 and since then my Pages have color problems. The text is not visible (white on white background) it does'nt help to change the text color nor background color. Pls help

    I udate my os to 10.6.7 and since then my Pages have color problems. The text is not visible (white on white background) it does'nt help to change the text color nor background color. I just download the recent trail version of Iworks and install it. The first document I opened it was ok. When I open the second one the problem appear again and stayed. Pls help

    This behavior was described many times.
    In every occurrence,the operating system was an uncompleted one resulting of the use of Software Update to update the operating system to 10.6.2, 10.6.3, 10.6.4, 10.6.5, 10.6.6, 10.6.7.
    In such cases, the solace was to apply a combo updater.
    As you are using 10.6.7, download and apply the combo 10.6.7 :
    http://support.apple.com/kb/DL1361
    After that, run Software Update which will urge you to apply :
    Snow Leopard Font Update
    Yvan KOENIG (VALLAURIS, France) dimanche 29 mai 2011 21:15:58
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to use long text editor in Webdynpro

    hi ,
    I want to use text editor in webdynpro.  I want to save the data in  long text.
    My requirement is the format of data should remain same(It should not get changed).
    Thanks
    SK

    Hi,
    use text editor uielement and bind it with a attribute of type string.  convert this string into a table using function module
    fill another internal table which is type compatible with table of SAVE_TEXT function module.
    CONVERT_STRING_TO_TABLE. Call the function module SAVE_TEXT to save this text. 
    you need to find proper tdobject and tdid value which is to be passed in importing parameter "header".
    similarly use FM "READ_TEXT" and convert the returned data into string using FM CONVERT_TABLE_TO_STRING.
    Bind the returned table to an attribute of your context. The data will be displayed in the same format in which you entered it.
    Thanks
    Vishal Kapoor
    Edited by: vishal kapoor on Oct 19, 2010 3:51 PM

  • Need to assign char in o12c to show long text of the char in PI sheet

    Hi, Trying to learn PP-PI.  in o12c t-code, created instruction category u201Ctextu201D under instruction cattype (0) and trying to assign a characteristic (test) which is having char group as u201Cprocess instruction characteristicsu201D and willing to select u201Clong text indictor- Tu201D against this characteristic, but getting the error that u201Cthis characteristic is not supported for long textu201D. Please advise how to set long text indicator so that we can show long text in the pi sheet. Thank you.

    Hi,
    To Maintain Long text for characteristic in O12C , you need to
    1) create the Char in T-code O25C with Data type character and click on Proc.Mgmt tab
    2) Tick unlimited field situated right of Length and SAVE the char
    3) Assign this char in O12C under instruction cattype (0). You can see the indicator in the field Text. Now it will allow to main long text for that char in O12C.
    Hope this will help
    Regards
    Brahmaji D

  • Routing long text editor change

    Hi,
    When we go to Routing long text and try to open it, it will open one word document.
    My requirement is, I want to change that word document as Notepad (text editor) for particular user.
    Please tell me is it possible to change that word doc to text doc, If yes then how to make settings?
    Regards,
    Chetan

    Hi Chetan,
    Even I have the same problem ! I had raised a SAP ticket & waiting for the response...
    Now can tell me how/what should i do to change to get a particular editor???
    Awaiting for your response..
    ~Guru

  • Long text editor

    Hi,
    i want to show/edit the long text for an maintenance order.
    Is there a function module where the editor is created?
    etc.
    regards

    Hi Wolfgang,
    Text functions are :
    READ_TEXT
    EDIT_TEXT
    SAVE_TEXT ( creation )
    To know what are the input parameters of thoses FM's, please display your text in <b>plain page mode</b>, then : GoTo -> Header
    Hope this helps,
    Erwan

  • Configuration of the rich text editor not working as expected, can you help?

    Hi,
    I'm having a great deal of trouble customising the available features of teh rich text editor to the point where I believe there is either a bug, or the documentation is incorrect.
    I have  defined 3 plugins; edit, format and lists.
    I can configure edit to enable or disable features, but format and lists cannot be configured and always display as default no matter what I configure.
    Here is the configuration:
    <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
        jcr:primaryType="cq:Dialog"
        xtype="dialog">
        <items jcr:primaryType="cq:WidgetCollection">
            <text
                jcr:primaryType="cq:Widget"
                fieldLabel="Text"
                hideLabel="{Boolean}false"
                name="./text"
                xtype="richtext">
                <rtePlugins jcr:primaryType="nt:unstructured">
                    <edit
                        jcr:primaryType="nt:unstructured"
                        features="[cut,copy]"/>
                    <format
                        jcr:primaryType="nt:unstructured"
                        features="[bold]"/>
                    <lists
                        jcr:primaryType="nt:unstructured"
                        features="[ordered,unordered]"/>
                </rtePlugins>
                <htmlRules jcr:primaryType="nt:unstructured">
                    <links
                        jcr:primaryType="nt:unstructured"
                        ensureInternalLinkExt="{Boolean}false"
                        protocols="[http://,https://,mailto:,javascript:]"/>
                </htmlRules>
            </text>
        </items>
    </jcr:root>
    As you can see I specify only bold for format, and ordered and unordered for lists, but all features are still present (edit however is configured as expected).
    Hopefully someone can point out a schoolboy error that I have made, or agree this is a bug.
    Thanks in advance
    Chris

    Nope, upgrade to 5.6.1 makes no difference.
    @Jr. Jason - What version of CQ5 are you running where you are seeing the above configured correctly?
    Also I've found that I can't enable the image plugin.
    I'll raise a support call.

  • Rich Text Editor not showing up

    Hi. I've installed OracleAS 10g Rel 2.
    When I try to add text using IE6 the text area is just gray. I have tried to change different attributes in IE but its still gray. I dont know how to debug IE either, I normally use firefox.
    Any ideas how I can debug IE, or what I should change on my IE to make the rich text editor show up.
    (btw, the installation is on my laptop, using XP pro. Not supportet but generally works fine. I know ppl at Oracle have this working on XP so it should not be the issue).

    hi terje,
    i just tested this on my 10.1.2 installation using IE6 and it works fine. so it seems not to be any general issue.
    2 things i would check:
    - does a java scrip error occur on the page when you add/edit a text item. you see this in the left lower corner of the browser.
    - check the log files on the application server mid-tier.
    - but before starting debugging i would go to another pc and try to access your portal from there. this will show you if your client machine is the problem or if the portal installation is the problem.
    regards,
    christian

Maybe you are looking for

  • Is there a way to make duplicate e-mail drafts to be sent out

    I would like to know if there is a way of duplicating an e-mail that I drafted to send out. In other words: I need to send the same e-mail to a few dozen times. I do not want to do BBC's The e-mail would need the subject and body info with the To: bl

  • Using Java Web Dynpro iViews to integrate with SAP MDM

    Hi, I have already SAP MDM 5.5 supplied iViews with Enterprise Portal. These include itemDetail iView, ResultSet iView, PicklistSearch, Hiearchy Search. Now, I am integrating Java Web Dynpro iViews with SAP MDM. When adding the fields using object of

  • First name and siri

    I am more than happy to tell siri my details, but how do I stop the robot continually using my name when it answers questions? I know who I am, I dont need to be continuously reminded! If I created a blank contact and pointed siri at that, that would

  • Need help for proper blending parameters

    Hi, I am trying to make a very simple movement with 2 servos: go down 4 meters, go right 20 cm, go up 4 meters, go right 20 cm, etc.. However, during those 4 meters up down moves, the speed should be constant. I wasnt happy wth the blend movements so

  • Background image no longer displays

    I have been editing the same site for years. Today when I opened Contribute and selected a page to edit, the background image did not appear in the draft. The background was gray instead. I tried changing the background to a color as an experiment an