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: 

Modify class module on the fly.

anbusivam_s
Participant
0 Kudos

Hi,

I want to modify an abap class(adding new methods, attributes,...) in runtime. Is it possible to dynamically alter the content of a class routine from an abap program. Also I need to assign transport requests to the modification. Could anybody help me please?

Best Regards,

Anbu.

1 ACCEPTED SOLUTION

franois_henrotte
Active Contributor
0 Kudos

I think you cannot do it because there is too much conditions to do it (for example, have an open transport request to put it in).

Standard programs use method SAVE_SOURCE of class CL_WB_SOURCE in order to save, this can be a starting point to investigate

2 REPLIES 2

Former Member
0 Kudos

HI

GOOD

GO THROUGH THE FOLLOWING LINKS WHICH WILL GIVE YOU THE BRIEF IDEA ABOUT THE CREATION AND MODIFICATION OF THE ABAP CLASS

http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm

http://www.fs.fed.us/r9/gmfl/nepa_planning/plan_revision/deis/fldocs/fl_deis_appendix_b.pdf

THANKS

MRUTYUN

franois_henrotte
Active Contributor
0 Kudos

I think you cannot do it because there is too much conditions to do it (for example, have an open transport request to put it in).

Standard programs use method SAVE_SOURCE of class CL_WB_SOURCE in order to save, this can be a starting point to investigate