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

Writing source code of a method through code.

Former Member
0 Likes
462

Hi,

The need is like inserting code to an already existing method of a class without going to the transaction SE24.I should be able to insert the code of that method through a report program by calling some function module or using some system table.

hope the query is clear.Ur replies are valuable.

Thanks in advance.

Hema

1 REPLY 1
Read only

Former Member
0 Likes
337

Hi !

See the function modules SEO* i.e. SEO_METHOD_CREATE

or have a look to the SEO_METHOD_CALL_EDITOR so see how the source name is created..

BUT what you'll have to to is highly risky because any mistake in your generated code may make the hole class

inconsitent.

Regards

Rainer

Some points would be nice...