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

Modify class module on the fly.

anbusivam_s
Product and Topic Expert
Product and Topic Expert
0 Likes
501

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
Read only

franois_henrotte
Active Contributor
0 Likes
456

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
Read only

Former Member
0 Likes
456

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

Read only

franois_henrotte
Active Contributor
0 Likes
457

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