Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Editor-call

Former Member
0 Kudos

Hi all

what is editor-call? give me a sample pgm.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

Hey,

Check this solved thread,

Regards,

Samson Rodrigues.

Former Member
0 Kudos

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