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

Read reports enhancement implementations

Former Member
0 Likes
997

In ABAP programs that contain enhancement points or enhancement sections which are implemented (ENHANCEMENT keyword), when trying to read the report using READ REPORT command, the enhancement implementations are not read.

I know they are saved within external include files which can be read additionally, or can be accessed by the CL_ENH_FACTORY class, but there's no information about the enhancement's specific location within the code.

Is there a way to get the complete version of reports code, including enhancements?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
826

If anyone's wondering, it can be done with class CL_WB_PGEDITOR method READ_SOURCE.

In ABAP programs that contain enhancement points or enhancement sections which are implemented (ENHANCEMENT keyword), when trying to read the report using READ REPORT command, the enhancement implementations are not read.

I know they are saved within external include files which can be read additionally, or can be accessed by the CL_ENH_FACTORY class, but there's no information about the enhancement's specific location within the code.

Is there a way to get the complete version of reports code, including enhancements?

1 REPLY 1
Read only

Former Member
0 Likes
827

If anyone's wondering, it can be done with class CL_WB_PGEDITOR method READ_SOURCE.