Wednesday, April 20, 2011

The Features of ABAPTM New Editor - Part 1

This article, the first part of a two-article series, takes you on a brief tour of the features available in the new ABAPTM editor (step by step with screenshots)

Pre-requisites

The new ABAPTM editor is available with SAP® GUI for windows 6.40 patch level 10 or higher. However this new editor is supported from the SAP® Version SAP® Netweaver 2004s.

Shifting to ABAPTM New Editor

Start any of the following transaction codes to access the ABAPTM workbench:

  • SE38
  • SE37
  • SE24
  • SE37

We would use SE38 for our demo purposes.

Procedure to shift between Old ABAPTM Editor and New ABAPTM Editor:

  • Go to Utilities à Settings
  • Click on Front-end Editor (New) as shown below

  • Click for changes to effect.

Features in ABAPTM New Editor

First Look:

View of the new ABAPTM Editor (from SE38):

Display Features

Following are some of the features that could be observed while writing the code:

Line Numbers

As observed in the above screenshot, the new ABAPTM editor displays the line numbers for easy navigation through the code.

Changed line indicators

The changed lines in the current session are marked with .

These indicators would vanish once you come out of the program.

Bookmarks

Bookmarks allow in navigating and code editing. There are 9 numbered bookmarks provided by SAP® and unlimited unnumbered bookmarks. Bookmarks could be accessed by the right click of the mouse in the Indicator Margin (The complete left portion of the ABAPTM editor).

To set a bookmark, right click on the Indicative Margin, click on Bookmarks --> Bookmark 0 (Bookmarks are numbered 0 to 9). A Blue flag with the bookmark number would appear on the Indicative Margin.

To navigate to any bookmark marked earlier, right click on the Indicative Margin, Go to Bookmark --> Bookmark 0.

Code Hints

Code hints appear as you type in ABAPTM editor. For example, if you start typing for Parameters, following occurs:

  • When typed P, nothing appears.
  • When typed PA, code hint PACK appears.
  • When typed PAR, code hint PARAMETERS appears.

Press TAB to choose the given code hint.

Changing the Font and Colors of coding environment

Click on , available at the right side bottom of the editor. Click on “Fonts and Colors” on the left side of the window that is appeared after clicking. From here, we can set different colors and fonts for different elements on the editor.

Window Splitter

The window splitter allows you to work on different parts of the code simultaneously.

The window could be set to splitter mode by double clicking the splitter line above the vertical scrollbar (shown below).

The split screen is seen as below:

Also visit Features of ABAP New Editor Part 2


No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

Blog Archive

goodsites