Application Development and Automation 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: 
Read only

How to display a ABAP source code without 'EXECUTE' button

former_member232384
Participant
0 Likes
1,516

Is there a way to display a source code without a Test/Execute button?

I want to just 'show' the source code to unauthorized people.

FM 'EDITOR_PROGRAM' can execute a report.

ABAP keyword 'EDITOR-CALL FOR LT_SOURCE DISPLAY-MODE.' only display source code,

but code navigation is not activted.

2 REPLIES 2
Read only

Former Member
0 Likes
685

Hi,

Use EDITOR-CALL FOR report LT_SOURCE DISPLAY-MODE.

Regards,

Srini.

Read only

ThomasZloch
Active Contributor
0 Likes
685

Give these people authorization S_DEVELOP with display rights only (ACTVT = 03), but not S_PROGRAM, then they can use SE38 or SE80 to display the code but are not allowed to execute the program (the programs must have an authorization group in the attributes for this to work).

At least I think so, because I did not face this very special scenario myself yet.

Or just print and hand out the code

Thomas