cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance BP_HEAD/BPHeadOverview - Component DO_HANDLE_EVENT does not exist

Former Member
0 Kudos
102

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192716
Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

or just to read the attirubutes values entered on the page. on click of the button , before saving .

Answers (0)