Get Example source ABAP code based on a different SAP table
Standard SAP Help for EDITOR_CALL_FOR_REPORT
EDITOR-CALL FOR REPORT
Short Reference > • EDITOR-CALL FOR REPORT ABAP Statement
ABAP Syntax(Obsolete)EDITOR-CALL FOR REPORT prog [DISPLAY-MODE]. >
ABAP Addition ... DISPLAY-MODE>
What does it do? This statement starts the ABAP editor for the source text of the program specified in prog>. prog> has to be a character-type 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.
After starting the ABAP editor, it provides the full functionality, as if called from the ABAP-Workbench. You can navigate forward to branch to other tools. After returning from the ABAP editor, the current program continues after the statement EDITOR-CALL>.
Latest 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. 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. • DISPLAY-MODE EDITOR-CALL FOR REPORT
What does it do? In the default setting, the ABAP editor is started in change mode. The addition DISPLAY-MODE> causes the ABAP editor to start in display mode.
Latest notes:ABAP Editor is started in display mode but can be switched to change mode.