Skip to Content
0

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

Apr 09 at 03:59 PM

28

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Cristiano Hansen
Apr 09 at 05:41 PM
0

Hi Juwin,

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

Regards,
Cris

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Cris,

As I said in my earlier post, I cannot use method from Note 1446334, because the screen I am trying to publish, is a standard screen and hence, I cannot change the field type.

I saw the list in Note 1037715. Does this mean, even if I am ready to create a HTML template on my own for a custom control, I can't make it work?

Thanks,

Juwin

0

Hi Juwin,

Note that ITSmobile is not intended to have complex screen elements, as they are meant to be used in handheld devices.

If you want a more fancy screen, then maybe you can try SAP Screen Personas 3.0, with SP06, which includes the Slipstream Engine, i.e. the mechanism to use Personas flavors in mobile devices.

Regards,

Cris

0

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

0