Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Handling events on phtmlb components (f.e. Menubar)


Does anyone have experience with the handling of events on phtmlb components?

I'm developing a BSP application with htmlb components (dropdown, buttons,..) as well as phtmlb component (Menubar).

Everything is going ok with the buttons: in oninputprocessing i can capture the event with the statments:

DATA: event TYPE REF TO cl_htmlb_event.

event = cl_htmlb_manager=>get_event( runtime->server->request ).

Unfortunately, when I press on a menubar-item I also pass oninputprocessing (through debugging), but when I check the event (see the code above), the event is empty... Do I have to capture the event in another way?

Anyone having any idea? Many thanks in advance!


Not what you were looking for? View more on this topic or Ask a question