Skip to Content

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

About CL_GUI_ALV_GRID's event-handling & PAI/PBO

Hi, all,

I met a problem when using CL_GUI_ALV_GRID's event-handling.

I created a simple event-handling-class with an event-handling-method for DOUBLE-CLICK event of CL_GUI_ALV_GRID. And the event-handling-method, only makes some changes to the contents of itab to be shown in ALV_GRID.

The problem is: In my idea, after event-dispatch and event-handling in PAI, subsequent PBO will be called. Since SET_TABLE_FOR_FIRST_DISPLAY is called in PBO, I would saw the changed itab shown. BUT, I saw the contents of the itab remaining unchanged.

* PAI module, DISPATCH the event
      CALL METHOD cl_gui_cfw=>dispatch.

I debugged, and found that, after event-handling-method, PBO module doesn't execute.

That's my wondering, after the preceding PAI, shouldn't the subsequent PBO appear? OR is event-handling different from other user actions?

Many thanks.

Former Member

Helpful Answer

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