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

how can i edit method?

Former Member
0 Likes
7,823

Hi friends,

i need to change method, how can i do that?

thanks,

dana.

<<moved by moderator to correct forum>>

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,512

Hi Dana,

From another thread of yours I suspect you are trying to modify method check_consistency in class cl_hrrcf_app_e_ext_appl_data_m.

Reading between the lines this is a BSP class. In CRM you would inherit this class and change the entry in the MAC. However, as this is an ERP class I do not know the equivalent configuration steps. Maybe worth investigating this as once you inherit you are free to change methods as long as they are not declared as final.

Hope this helps.

Pete

8 REPLIES 8
Read only

Former Member
0 Likes
3,512

Use SE24 on the methods class.

/Tom

Read only

Former Member
0 Likes
3,512

Transaction SE24 is the class builder. From here you can modify all components of a class including attributes, types and methods etc.

Read only

0 Likes
3,512

i tried that, and it write to me a message:

"In this mode you can create implementations only"

how can i modify the method?

Read only

0 Likes
3,512

hi,

with se24 you can opon class and after clicking on method goto code and go to change mode.

code button is third button from parameters button

Edited by: vinod kumar D on Nov 3, 2008 1:19 PM

Read only

0 Likes
3,512

In se24 , on methods tab you can view methods ( in change mode ) double click on the method name , then you can see the method implementation , you can modify as required.

Read only

0 Likes
3,512

what is the class and method. if you don't give details about your problem , you will never get the answer for your query.

Read only

0 Likes
3,512

Hi,

Is this a "Interface' or "Class"?

Because if you are trying to code in method of interface then it is not possible. For that you will have to create one Z class which inherit that interface and then you can always write code in method of that Z class.

But if that is a class then you can code in the method by SE24.

Read only

Former Member
0 Likes
3,513

Hi Dana,

From another thread of yours I suspect you are trying to modify method check_consistency in class cl_hrrcf_app_e_ext_appl_data_m.

Reading between the lines this is a BSP class. In CRM you would inherit this class and change the entry in the MAC. However, as this is an ERP class I do not know the equivalent configuration steps. Maybe worth investigating this as once you inherit you are free to change methods as long as they are not declared as final.

Hope this helps.

Pete