<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The New Code Editor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104376#M104332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone who know where I can download the new code editor,&lt;/P&gt;&lt;P&gt;Which is powerful,fully-customizable highlighting for pre-defined keywords,comments and strings and support modern code-editing functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Aries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2005 14:22:36 GMT</pubDate>
    <dc:creator>jonathanzhang2</dc:creator>
    <dc:date>2005-12-19T14:22:36Z</dc:date>
    <item>
      <title>The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104376#M104332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone who know where I can download the new code editor,&lt;/P&gt;&lt;P&gt;Which is powerful,fully-customizable highlighting for pre-defined keywords,comments and strings and support modern code-editing functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Aries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 14:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104376#M104332</guid>
      <dc:creator>jonathanzhang2</dc:creator>
      <dc:date>2005-12-19T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104377#M104333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this thread...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="995461"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 14:25:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104377#M104333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-19T14:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104378#M104334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can download it.  You need to have the lastest SAP gui patches for 6.40 as well as a WebAs 7.0 engine.  You can test the editor out in prior releases using Thomas's code, but you must have all of the sap gui patches for 6.40.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2005/08/03/new-abap-editor-too-good-to-wait-for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have converted Thomas's code to a cut/paste solution using only an ABAP report program.  Just cut/paste this code in a report program.  Yes, you still need the lasted gui 6.40 and newest patches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zrich_0002.

*---------------------------------------------------------------------*
*       CLASS lcl_abap_editor  DEFINTION
*---------------------------------------------------------------------*
*       ........                                                      *
*---------------------------------------------------------------------*
class lcl_abap_editor definition inheriting from cl_gui_control.

  public section.

    methods: constructor importing value(style) type i
                                   parent type ref to cl_gui_container
                                   lifetime type i
                                   name type string
                          exceptions
                                   error_cntl_create
                                   error_cntl_init
                                   error_cntl_link
                                   error_dp_create
                                   gui_type_not_supported,
             add_empty_doc importing str_name type string
                                     b_readonly type i
                                     str_extension type string
                                     str_tooltip type string
                           exceptions
                                   unable_to_set_doc.

endclass.

*---------------------------------------------------------------------*
*       CLASS lcl_abap_editor IMPLEMENTATION
*---------------------------------------------------------------------*
*       ........                                                      *
*---------------------------------------------------------------------*
class lcl_abap_editor implementation.

  method constructor.

    data prog_id(80).

    if parent is initial.
      raise error_cntl_create.
    endif.

    class cl_gui_cfw definition load.

* assign prog_id to get the frontend specific control
    if not activex is initial.
      prog_id = 'SAPGUI.AbapEditor.1'.
    elseif not javabean is initial.
      raise gui_type_not_supported.
    endif.

    if prog_id is initial.
      raise gui_type_not_supported.
    endif.

* Set the window styles of the control when style parameter was not
* set with constructor call.
* For more information on the styles see WIN32 SDK
    if style is initial.
* otherwise the control would be invisible and the mistake would be
* hard to find
      style = cl_gui_control=&amp;gt;ws_visible
              + cl_gui_control=&amp;gt;ws_child
              + cl_gui_control=&amp;gt;ws_clipsiblings.

    endif.

* Create the control
    call method super-&amp;gt;constructor
      exporting
        clsid = prog_id
        shellstyle = style
        parent = parent
        lifetime = lifetime
        name = name
     exceptions
        others    = 1.

    call method cl_gui_cfw=&amp;gt;flush
      exceptions
        cntl_system_error = 1
        cntl_error        = 2
        others            = 3.

    if sy-subrc &amp;lt;&amp;gt; 0.
      raise error_cntl_create.
    endif.

* register instance at framework
    call method cl_gui_cfw=&amp;gt;subscribe
      exporting
         shellid = h_control-shellid
         ref = me
      exceptions
        others    = 1.

    if sy-subrc &amp;lt;&amp;gt; 0.
      raise error_cntl_create.
    endif.


  endmethod.

  method add_empty_doc.

    call method call_method
        exporting
          method      = 'AddEmptyDoc'
          p_count     = 4
          p1          = str_name
          p2          = b_readonly
          p3          = str_extension
          p4          = str_tooltip
          exceptions
                    cntl_system_error = 1
                    cntl_error        = 2
                    others            = 3.
    if sy-subrc &amp;lt;&amp;gt; 0.
      raise unable_to_set_doc.
    endif.

  endmethod.

endclass.

data: docking_container type ref to cl_gui_docking_container,
      abap_editor type ref to lcl_abap_editor,
      repid type syrepid.

parameters: p_check type c.

at selection-screen output.

  repid = sy-repid.

  check docking_container is initial.

  create object docking_container
              exporting repid     = repid
                        dynnr     = sy-dynnr
                        side      = docking_container-&amp;gt;dock_at_left
                        extension = 1500.

  create object abap_editor
   exporting
     style                  = 0
     parent                 = docking_container
     lifetime               = space
     name                   = space.
  if sy-subrc &amp;lt;&amp;gt; 0.
  endif.

  call method abap_editor-&amp;gt;add_empty_doc
    exporting
      str_name          = 'Test Program'
      b_readonly        = '0' "Edit Mode
      str_extension     = 'ABAP'
      str_tooltip       = 'Tooltip'.
  if sy-subrc &amp;lt;&amp;gt; 0.
  endif.
  call method cl_gui_cfw=&amp;gt;flush( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 14:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104378#M104334</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-19T14:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104379#M104335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like the WebAs 7.0 Sneak Preview has been released.  You can download it in the Dowload Section of SDN under the WebAs.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 17:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104379#M104335</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-19T17:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104380#M104336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WebAs 7.0 Sneak Preview seems too large, which is more than 1G. It is impossible to download. Do you have any idea? And what I used is the SAP R/3 system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 02:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104380#M104336</guid>
      <dc:creator>jonathanzhang2</dc:creator>
      <dc:date>2005-12-20T02:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104381#M104337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked this thread,&lt;/P&gt;&lt;P&gt;It seems there are some external editors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 02:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104381#M104337</guid>
      <dc:creator>jonathanzhang2</dc:creator>
      <dc:date>2005-12-20T02:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104382#M104338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, you will need a good connection to pull it down, but not impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 04:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104382#M104338</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-20T04:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104383#M104339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it. And what I used is SAP R/3 system. Also I have to install this WebAs 7.0 or not? And after installation, where can I get the new code editor or it has been included in WebAs 7.0? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104383#M104339</guid>
      <dc:creator>jonathanzhang2</dc:creator>
      <dc:date>2005-12-20T05:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104384#M104340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And what I used the SAP system is R/3 4.7, the frontend is SAP GUI 640, patch level 14.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104384#M104340</guid>
      <dc:creator>jonathanzhang2</dc:creator>
      <dc:date>2005-12-20T05:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104385#M104341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Better Person Thomas he will be able to tell you.&lt;/P&gt;&lt;P&gt;You need some patches also along with WebAs 7.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104385#M104341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-20T05:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104386#M104342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with 4.7 and patch level 14 it won't ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need 5.0 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104386#M104342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-20T05:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104387#M104343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you mean ECC5.0? But it is not easy to upgrade from R/3 470 to ECC5.0. It will involve much efforts. At the moment,our company didn't consider to upgrate.&lt;/P&gt;&lt;P&gt;Is it possible to use new ABAP editor under R/3 470?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104387#M104343</guid>
      <dc:creator>jonathanzhang2</dc:creator>
      <dc:date>2005-12-20T05:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: The New Code Editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104388#M104344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with out ECS 5.0 it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with R/3 4.7 it can't be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be you should try some trail version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-new-code-editor/m-p/1104388#M104344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-20T05:38:28Z</dc:date>
    </item>
  </channel>
</rss>

