Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete User Dialogs →  Obsolete Editor Calls 

EDITOR-CALL FOR REPORT

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

EDITOR-CALL FOR REPORT prog [DISPLAY-MODE].

Addition

... DISPLAY-MODE

Effect

This statement starts ABAP Editor for the source code of the program specified in prog. prog has to be a character-like data object, which contains the name of a program in capital letters that exists in the repository. If not, a message is displayed in the status line.

Once ABAP Editor is started, it offers the full range of functions (as when called in ABAP Workbench or the ABAP Development Tools (ADT)). Forward navigation to other tools is also possible. After returning from ABAP Editor, the current program continues after the statement EDITOR-CALL.


Notes

  • If an inactive version of the program exists, then this version is loaded.
  • This statement skips the authorization checks triggered when using a transaction code to call ABAP Editor, however the editor still checks the development authorization of the user in question.
  • The statement EDITOR-CALL FOR REPORT calls the function module EDITOR_PROGRAM internally for the specified program prog, which starts the editor in the current environment (SAP GUI or Eclipse), including the required authorization checks.
  • Do not use this method of calling ABAP Editor any longer. Instead, use official ABAP Workbench interfaces, such as the function module RS_TOOL_ACCESS. If only the properties of the editor control are needed, the GUI class CL_GUI_SOURCEEDIT or its subclass CL_GUI_ABAPEDIT is used.

Addition

... DISPLAY-MODE

Effect

In the default setting, ABAP Editor is started in change mode. The addition DISPLAY-MODE causes ABAP Editor to start in display mode.


Note

ABAP Editor is started in display mode but can be switched to change mode.