‎2008 Nov 03 12:00 PM
Hi friends,
i need to change method, how can i do that?
thanks,
dana.
<<moved by moderator to correct forum>>
‎2008 Nov 05 4:58 PM
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
‎2008 Nov 03 12:01 PM
‎2008 Nov 03 12:02 PM
Transaction SE24 is the class builder. From here you can modify all components of a class including attributes, types and methods etc.
‎2008 Nov 03 12:11 PM
i tried that, and it write to me a message:
"In this mode you can create implementations only"
how can i modify the method?
‎2008 Nov 03 12:18 PM
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
‎2008 Nov 03 12:18 PM
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.
‎2008 Nov 03 12:20 PM
what is the class and method. if you don't give details about your problem , you will never get the answer for your query.
‎2008 Nov 05 11:23 AM
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.
‎2008 Nov 05 4:58 PM
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