‎2007 Jul 12 12:02 PM
‎2007 Jul 12 12:11 PM
Syntax
EDITOR-CALL FOR REPORT prog [DISPLAY-MODE].
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. Otherwise you will get a corresponding status message.
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.
This statement bypasses the authority checks that are performed when calling the ABAP editor via transaction code.
Addition
<u>... DISPLAY-MODE</u>
The ABAP editor starts by default in change-mode. The addition DISPLAY-MODE causes the ABAP editor to start in display-mode.
IF USE FUL GIVE REWARD POINTS
‎2007 Jul 12 12:11 PM
Syntax
EDITOR-CALL FOR REPORT prog [DISPLAY-MODE].
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. Otherwise you will get a corresponding status message.
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.
This statement bypasses the authority checks that are performed when calling the ABAP editor via transaction code.
Addition
<u>... DISPLAY-MODE</u>
The ABAP editor starts by default in change-mode. The addition DISPLAY-MODE causes the ABAP editor to start in display-mode.
IF USE FUL GIVE REWARD POINTS
‎2007 Jul 12 12:16 PM
‎2007 Jul 12 3:30 PM
Hi
Check out this sample programs..
report zvasu222 .
tables : zvskdept.
data : a1 like zvskdept occurs 0 with header line.
select * from zvskdept into table a1.
editor-call for a1.
loop at a1.
write 😕 a1.
endloop.
report zvasu333 .
DATA: BEGIN OF T OCCURS 200,
TEXT1(60),TEXT2(12),
END OF T.
T-TEXT1 = 'Text 1'. T-TEXT2 = 'A'. APPEND T.
T-TEXT1 = 'Text 2'. T-TEXT2 = 'B'. APPEND T.
T-TEXT1 = 'Text 3'. T-TEXT2 = 'C'. APPEND T.
T-TEXT1 = 'Text 4'. T-TEXT2 = 'D'. APPEND T.
EDITOR-CALL FOR T TITLE 'Editor for internal tables'.
LOOP AT T.
WRITE: / T-TEXT1, T-TEXT2.
ENDLOOP.
Reward points if useful.
Thanks & Regards,
Vasudeva Rao