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

Copying Classes

Former Member
0 Likes
790

Hi,

Can anybody help in copying the entire class to a text or word file with code and everything

4 REPLIES 4
Read only

matt
Active Contributor
0 Likes
697

The simplest way is to print the class, then to save the spool file to a flat file.

matt

Read only

uwe_schieferstein
Active Contributor
0 Likes
697

Hello Gowri

If you have class CL_OO_SOURCE available in your system create an instance of this class (testing framework of SE24) with IMPORTING parameter CLSKEY = <name of your class>.

Its public attribute SOURCE holds the entire coding of the class.

Regards

Uwe

Read only

Former Member
0 Likes
697

Thanks for the help

Read only

Former Member
0 Likes
697

Hi,

if you don't need the documentation.

The easiest I've found is just typing _OUTPUT in the transaction edit control and pressing enter.

This will generate a report with class definition and implementation ready to paste in to any other report and it'll just activate with out any changes.

Regards

Adi