Skip to Content

I was lately trying to find an HTML WYSIWYG editor for ABAP, but I failed. I though or this was not needed so far, or the solution was not posted anywhere. So I’ve tried several times and thanks to NICEdit and this tread on SCN I found the way to make HTML WYSIWYG editor for ABAP.

My editor use CL_GUI_HTML_VIEWER to display NICEdit in container, and then thanks to POST method I put changes back to SAP. ZCL_HTML_EDITOR class,  raises an event whenever someone click on save button in the editor, so you can easily handle it and then use new HTML for your purposes. Video bellow shows the demo of usage.

NUGG with class and demo program + HTML file with editor can be found here


To report this post you need to login first.


You must be Logged on to comment or reply to a post.

    1. Łukasz Pęgiel Post author

      Hello Peter,

      I was once told, “There are not stupid questions, only stupid answers.” Hopefully my answer will not be considered as stupid 🙂

      My editor can be used in SAP GUI for Windows, don’t know if BTF editor can, if it does then I would be glad if you could post some examples for me to try it. On my system I could not find any, but I may be looking in wrong place, as I see that BTF is linked to BSP pages?

      The main purpose of my development was to allow to have editor on one screen together with other GUI elements like ALV, and to allow users to do edit of mail body which comes out of SAP.



      1. Peter Inotai

        Hi Łukasz,

        Thanks for the info and clarification.

        Now I see the point. To have the BTF Editor in SAPGUI, it would be necessary to develop a custom BSP page, call it from an HTML control. That would also work, but it overcomplicates things a little bit.



          1. Peter Inotai

            Hi Volker,

            I have to admit I didn’t know this program.

            Thanks a lot for this info, it’s very useful demo program for BTF. It seems it can be used directly in SAPGUI without BSP, which is a nice feature.



      2. Matthew Billingham

        “There are not stupid questions, only stupid answers.” Whereas I was told “There are no stupid questions, but there are a lot of inquisitive idiots”, 😆

        Nice blog.


Leave a Reply