2013 Jun 24 11:42 AM
Hi,
Path: SE19 -> edit implementation ->classic badi implementation (here name is 'CL_CU_DEP_EDITOR') ->display->interface->method (CHECK_ACTIVE).
2013 Jun 24 1:39 PM
hi ,
you can't edit the code in sap you can do enhancement the standard code .
coming to your point u have to create new implementation like ZCU_DEPENDENCY_EDITOR
in that u can write ur code
se19->createimplementation->clasicBadi(click) adn give ur badiname CU_DEPENDENCY_EDITOR->click on create implementation -> then give
ZCU_DEPENDENCY_EDITOR name then give short test -> click on check_active then u can get ur method then write the code in between
method IF_EX_CU_DEPENDENCY_EDITOR~CHECK_ACTIVE.
...........
........
endmethod.
V@li
2013 Jun 24 12:01 PM
Hi Vinit,
I have not worked on it but you can try like this,
go to se24 -> put CL_IM_CL_CU_DEP_EDITOR (the class name for your BADI)
and create an implicit enhancemnet and write your code there.
BR.
Message was edited by: Ankit Maskara
2013 Jun 24 12:09 PM
CL_CU_DEP_EDITOR is implementation of BAdi CU_DEPENDENCY_EDITOR.
You could create a new implementation of BAdi CU_DEPENDENCY_EDITOR.
2013 Jun 24 1:06 PM
hi ,
is that a badi or enhancement spot??
try the badi "cu_dependency_editor" instead to write code inside the CHECK_ACTIVE method.
create implementation for it or check if any already exists.
Thanks
Ujwal
2013 Jun 24 1:27 PM
hey,
click on the enhancement button when u are in the method and endmethod screen.
then u will get option to create the Enhancement Spot......
2013 Jun 24 1:39 PM
hi ,
you can't edit the code in sap you can do enhancement the standard code .
coming to your point u have to create new implementation like ZCU_DEPENDENCY_EDITOR
in that u can write ur code
se19->createimplementation->clasicBadi(click) adn give ur badiname CU_DEPENDENCY_EDITOR->click on create implementation -> then give
ZCU_DEPENDENCY_EDITOR name then give short test -> click on check_active then u can get ur method then write the code in between
method IF_EX_CU_DEPENDENCY_EDITOR~CHECK_ACTIVE.
...........
........
endmethod.
V@li
2013 Jun 24 2:39 PM
Hi
Try to use implicit enhancement if you want to edit this method (begining , end).
The following links might help you.
http://help.sap.com/saphelp_nw04s/helpdata/en/29/e59441026aae5fe10000000a1550b0/content.htm
http://wiki.sdn.sap.com/wiki/display/ABAP/How+To+Do+Implicit+Enhancement
2013 Jun 24 3:08 PM
Hi Vinit,
You need to give the Implementation name of a BADI in SE19 > Classic BADI Implementation field. Then the required method will be editable and no need of any enhancements there again.
As I understood, you are entering a BADI name, Instead Implementation name.
Thanks & Regards,
-Vijay