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

Move Module Pool program to internal Table

Former Member
0 Likes
460

Hi,

As we move report program code to the internal table thru READ REPORT statement,

How to move the Module Pool program code to the internal table?

Regards,

K.Tharani.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
437

REPORT ZSRK_056 .

DATA : BEGIN OF ITAB OCCURS 0,

TEXT(255),

END OF ITAB.

READ REPORT 'ZSRK_055' INTO ITAB.

LOOP AT ITAB.

WRITE : / ITAB-TEXT.

ENDLOOP.

Here ZSRK_055 is a module pool program

3 REPLIES 3
Read only

Former Member
0 Likes
438

REPORT ZSRK_056 .

DATA : BEGIN OF ITAB OCCURS 0,

TEXT(255),

END OF ITAB.

READ REPORT 'ZSRK_055' INTO ITAB.

LOOP AT ITAB.

WRITE : / ITAB-TEXT.

ENDLOOP.

Here ZSRK_055 is a module pool program

Read only

0 Likes
437

Hi..

I have tried it using READ REPORT but,

Module Pool Program is not read into internal table thru READ REPORT Statement..

Read only

GauthamV
Active Contributor
0 Likes
437

hi,

READ REPORT will work for modulepool also.