on 10-01-2012 10:03 AM
Hi all,
I have created event for one button , Now i want to delete that event method, so kindly let me know how can i delete the event and
how can i delete enhanced component
Would be helpful for me ..
Thanks & Regards,
N.Sasidhar
Hi Sasidhar,
let me very clear about deleting the enhancement you have already created, once you have created a enhancement for a component, don't ever try to delete by clicking the "Delete Enhancement" Button,
there is a procedure for deleting the enhancement.
first let me clear your first requirement, to delete the event you have created option 1) Right click on the event by going to the Event Handler and choose Delete Redefinition.
2) go to _IMPL class ,under the methods tab you can see your event name starting with "EH_" select that and click on "Define/Redefine" Button at top right.
2nd issue, to delete the enhancement created for an standard component, first after opening your component through BSP_WD_CMPWB TCode, in menu Environment-->Enhancement Definition , select the enhancement set used, double click on "Enhancement Definition "(left side) . once it is done go to SE09, select your user name and click display, double click on the sub-request no. you used to create the enhancement, and delete all the Z classes created for that particular component, save. go back and open the component, the Enhancement will be deleted.
Thank You & Regards
Rohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sasidhar,
When you click on enhancement definition, it will show you a set of enhancement Set used , just select your enhancement set , and in left side double click on Enhancement Definition.
There you can see the component you have enhanced, select it delete it.
now you have to go to SE09 manually, again you have to make note of the transport request you used for enhancing a component. when you go to SE09 you can see request no. and sub-request no.
select the sub-request no. (it is same as the one you used to create the enhancements) , after selecting it click on display button. you can see all the classes which are created in customer namespace(Z/Y)....select all those which are pertained to your component and delete it.
Regards
Rohan
Hi Sasidhar,
When you click on enhancement definition, it will show you a set of enhancement Set used , just select your enhancement set , and in left side double click on Enhancement Definition.
There you can see the component you have enhanced, select it delete it.
now you have to go to SE09 manually, again you have to make note of the transport request you used for enhancing a component. when you go to SE09 you can see request no. and sub-request no.
select the sub-request no. (it is same as the one you used to create the enhancements) , after selecting it click on display button. you can see all the classes which are created in customer namespace(Z/Y)....select all those which are pertained to your component and delete it.
Regards
Rohan
Hi sasidhar,
if you want delete the enhanced component goto sm34 give View Cluster 'BSPWDVC_CMP_EXT'. and it will show enhanced component list then select your component click on delete and save goto component work bench then check your component enhancement is removed.
any clarification please let me know.
regards,
vishwa
Hi Sasidhar,
Go to Super class of your _IMPL of view ,there you will find the method which is created for event say, EH_ONCANCEL. Delete the method and also remove code shown below from DO_HANDLE_EVENT.
WHEN 'CANCEL'.
EH_ONCANCEL( htmlb_event = htmlb_event
htmlb_event_ex = htmlb_event_ex ).
Regards
Rajarama U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.