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: 

Source Code of Module Pool

Former Member
0 Kudos
115

Hi Experts,

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

Thanks in advance.

1 ACCEPTED SOLUTION

marcelo_ramos
Active Contributor
0 Kudos
43

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

marcelo_ramos
Active Contributor
0 Kudos
44

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

Former Member
0 Kudos
43

Thanks Marcelo.

This solves my problem