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: 

How to put the code in class's method ?

ankur_sharma16
Active Participant
0 Kudos
209

Hello Experts,

I am trying to create a class programatically, for that i am using the FM SEO_CLASS_CREATE_COMPLETE, which is creating class, attribute and method also.

But the problem is that it is creating method only. Now i want to put the logic code in the method. In debug mode i got the class CL_WB_SOURCE which is doing that. But i don't know how to put the logic code in method using this. I tried SET_SOURCE_TAB but am not getting the code there.

Please help.

Regards,

Ankur Sharma.

1 REPLY 1

ThomasZloch
Active Contributor
0 Kudos
136

Continue here:

Please do not create a new discussion for partial steps of your task, stick to one per main problem, e.g. creating a class in this case.

Thomas