on 2010 Jun 11 4:04 AM
Hello,
Please help me with this issue. I am trying to enhance the BP_HEAD/BPHeadOverview to add a button on the toolbar.
i am creating an even handler for the click event of the button.
ls_button-text = 'Check'.
ls_button-on_click = 'CHECK'. "#EC N
while creating the event handler .... right click create ...give the name 'CHECK' for the event .....next step it throughs a message saying
'Component DO_HANDLE_EVENT does not exist' ...... but it do create the event handler EH_ONCHECK. Now on click event of the button it does not call the event.
I am not able to understand this behaviour of the event in BP_HEAD. I have already added button to the Opportunities component and it works fine. the Do_HANDLE_EVENT registers the event created. and it triggers the event on click.
Is there any specific step that needs to be carried out to enhance this above view for BP_HEAD.
Thanks in advance,
Jaya.
Hi,
Check in the controller class whether do_handle_event method is redefined. If yes, then check for the case statement or write it by your own,
When 'CHECK'.
EH_ONCHECK(....).
When 'OTHERS'.
Super->do_handle_event(....)
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Arun ,
I thought of doing same , but wanted to verify if i missed some step because of which this message comes. So thats done.
Also a small query....in this button event if we want to read the GUID of the current account page which handler do we use or do we have the appication object so that the guid can be read.....because before saving the document this check button will be clicked.
Jaya.
User | Count |
---|---|
10 | |
1 | |
1 | |
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.