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

Source Code of Module Pool

Former Member
0 Likes
526

Hi Experts,

Which table has the source code of Module pool programs and Function Modules?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
454

Hi Hari,

Use READ REPORT <program_name> statment to get source code as follow:


"// Internal Table
DATA t_source TYPE TABLE OF string.

START-OF-SELECTION.

"// Read Source Code of program / Function Group / Include ....
READ REPORT 'SAPLSALV' INTO t_source.

&nbsp;

Greetings,

Marcelo Ramos

2 REPLIES 2
Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
455

Hi Hari,

Use READ REPORT <program_name> statment to get source code as follow:


"// Internal Table
DATA t_source TYPE TABLE OF string.

START-OF-SELECTION.

"// Read Source Code of program / Function Group / Include ....
READ REPORT 'SAPLSALV' INTO t_source.

&nbsp;

Greetings,

Marcelo Ramos

Read only

Former Member
0 Likes
454

Thanks Marcelo.

This solves my problem