Skip to Content

How to use Text Editor Control on ITS Service HTML Page?

I am trying to use a TextEditor control on a ITS Mobile screen. I read through the following discussion https://archive.sap.com/discussions/thread/3510977 and has the same exact question. How can I know the attribute name of ^name object, to set the text stream contents?

SAP Note https://service.sap.com/sap/support/notes/1446334, doesn't help me, because it shows how to display an input field as a textarea. I have no option to convert the TextEditor Control on the screen to an input field, because the screen is a standard screen.

During my debugging, I could find that the following attribute names have values:

^name.type = texteditor

^name.clsid = 5.104

My question is which attribute of ^name do I set, so that CL_GUI_TEXTEDIT=>GET_TEXTMODIFIED_STATUS, GET_TEXT_AS_STREAM can read the texts back from the HTML page.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 09 at 05:41 PM

    Hi Juwin,

    Note that the texteditor is not a supported element (SAP note 1037715).
    The approach from note 1446334 should be considered.

    Regards,
    Cris

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Cris,

      Thanks very much for the guidance.

      It was a long text field from a standard screen, that I was trying to show on the ITS mobile screen. It was the only field, that I couldn't map onto the mobile screen. But, as you confirmed it is not possible, I will try other possibilities.

      Regards,

      Juwin