cancel
Showing results for 
Search instead for 
Did you mean: 

sap editor

Former Member
0 Kudos

HI ,

can we set the editor in sap gui( ie the editor used to write report in se 38) with different sets of colours

actually the white background and black font strains eye with long hours of working

is there any waay by which i can change the text colour to my choice and background color to black,as sometimes we do in windows command prompt.

kindly provide me the solution

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

set your external editor to your favorite editor which satisfies your requirements and choose Local Edit in se38. It sounds like a joke, but it really can solve your problem. I use gvim configured to hilight ABAP/4 syntax and I am quite happy with its environment.

Regards,

Pavel

Former Member
0 Kudos

Hi

thanks for your valuable time,

Kindly explain me what do you mean by External editor

Former Member
0 Kudos

Hi Pavel,

this really sounds like a joke ..... please can you specify closer where can we choose option LOCAL EDIT in SE38?

THX

Former Member
0 Kudos

Hi Radim,

Prerequisities:

se38 -> Utilities -> Settings

choose ABAP Editor

set Back-end editor in selected window

Now you can edit any your program or function module via se37, se38, se80, etc.

Backend editor appears in your window.

Select from Menu: Utilities -> More utilities -> Edit locally

You can choose any local executable as your editor, e.g. you can test it with Notepad (if you run any version of Windows). It is not good editor for programmers, but it is usually a part of standard Windows installation.

My favorite editor is graphical version of vi editor (gvim) with ABAP/4 syntax rules.

Regards,

Pavel

Former Member
0 Kudos

Hi,

external editor is any program able to edit text file installed on your computer. You want to change colors of window, so you have to install an editor with this attribute. I do not know your OS and environment, it is possible that I'll give you more detail answer if you write me your operating system and its version and what GUI do you use.

Just some good examples:

For Windows: [Multiedit|http://sourceforge.net/projects/multiedit/], [GVim portable|http://portablegvim.sourceforge.net/]

For many platforms (including Windows): [(G)Vim|http://www.vim.org/], [Emacs|http://www.gnu.org/software/emacs/]

All these editors can change colors, fonts, highlight syntax of many programming languages, work with keyboard macros, etc.

How to activate external editor as your ABAP/4 editor ... se my previous answer to Radim Stefek

My personal favorite is GVim ... of course with included ABAP/4 syntax rules.

Just a warning: Some features will not work with external editor, for example on-line help, Pretty printer and pattern including.

Regards,

Pavel

Former Member
0 Kudos

WHEN EVER I GO FOR EDIT LOCALLY I FOUND IT USES NOTEPAD AS ITS EDITOR

BUT I WANT MY OWN EDITOR LIKE editplus.EXE TO BE USED

HOW CAN I CHANGE ITS EDITOR

Former Member
0 Kudos

Hi,

try to google a bit ... I think that in GUI for Windows it has to work too. I have no Windows installed so I cannot try it. If nobody can help you, try to install sap GUI for Java. First time you'll use external editor GUI asks you for editor and later you can edit config file applications.

Just a note: there are another ways how to use external editors without GUI, see [ABAP eclipse editor|www.ceon.nl/abapeclipse/] It is possible you will find a usable hints there.

Regards,

Pavel

Former Member
0 Kudos

Hi Sumesh,

I've found a solution for your problem ... I try to assign external editor in Windows. It takes me about 10 minutes to find a solution

It really works.

The answer is: GUI for Windows downloads a file *.txt to your computer and then ... looks for assigned application and runs it (as expected).

The last step you have to do: Assign editplus.exe as default editor for your *.txt files and enjoy your colors!

Pavel

PS: Thank you for points.

Former Member
0 Kudos

I have already followed the above steps

but the problem is that

whenever i open a txt file from windows the editor selected is EDITPLUS.exe as it is set defualt editor

but when i go thru utilities - > more utilities - > edit locally it opens NOTEPAt.exe for it.

the sap gui make a temporary file named bt me report name.exe

and deletes this file frim presentation server as soon as i close it.

during this temporary file doesnt open with editplus editor rather it opens p with notepad.exe.

have you made it run at your system.

logically speaking your logic is correct and even i thoght of it but at runtime it doesnt work.

there is somethng missing somewhere.

when a txt file is edited thru sap it always ask notepad as an editor.

thanks

Former Member
0 Kudos

Hi,

it is possible that SAP GUI for Windows has a configuration similar to the mentioned one in explorer.exe with higher priority (in registers?). SAP GUI for Java creates file applications in its configuration directory. This file contains assigning of mime-type text/plain with my external editor. Sorry, I have no Windows installed so I cannot check it, but if you are able to install on some computer just Windows with SAP GUI and editplus.exe, I think it has to work.

Alternative: If you have Java or JRE installed on your computer, install SAP GUI for Java ... it can help you.

Regards,

Pavel

Former Member
0 Kudos

Hi,

just additional note: When we try to change editor, we use Wordpad.exe. I do not believe that saved file will be deleted before you close it in the editor, but ... I cannot be 100% sure.

Pavel

Answers (4)

Answers (4)

Former Member
0 Kudos

If you are interested in using an external editor, I would like to recommend you Sublime Text 2 together with my ABAP plugin.

Read more: http://www.jaros.in/item/abap-syntax-highlighting-for-sublime-text

Former Member
0 Kudos

Hi Pavel,

Using your plugin! You did a great job with that! I know this question is spawned by utter laziness, but - now that Edit Locally launches the Sublime app, do you have a way to save the *local* file and updates your ABAP code in SAP? 😕

Saw in this link: http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b17454211d189710000e8322d00/content.htm that is should but mine doesn't. Using SAP GUI 7.30 for Java.

Thanks!

Erik

Former Member
0 Kudos

SAP GUI 7.2 allows change background color and syntax highlighting very easily with new front-end editor. Icon for this settings is located on the lower right corner an is extremely small.

How-to:

  1. Open the ABAP Editor (SE38)
  2. Utilities -> Settings -> ABAP Editor -> Editor
  3. Choose Front-End Editor (New)
  4. Confirm and close dialog
  5. Click on the yellow icon on the lower right corner (see pic. below)

Now you can set the editor colors, fonts, formatting and much more.

Former Member
0 Kudos

Hi,

still not solved? Try this hack: rename your notepad.exe to notepad.win.exe and then rename your editplus.exe to notepad.exe. It HAS TO work.

Regards,

Pavel

Former Member
0 Kudos

I don't think so it's able in the old style of ABAP editor. But if you work on new WebAS and have at least SAP GUI for Windows 6.4 (with some latest patch) or better SAP GUI 7.0 it's possible to use this feature in new ABAP editor. This editor is fully configurable especially you can set colours for paper and ink.

WBR