START-OF-SELECTION not triggered
I think I am missing something. But it's late here and I'm not getting to the point.
I have a SELECTION-SCREEN declared in a Module Pool program:
SELECTION-SCREEN BEGIN OF SCREEN 0100. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001. PARAMETERS: p_bukrs TYPE bkpf-bukrs OBLIGATORY, p_gjahr TYPE bkpf-gjahr OBLIGATORY. SELECTION-SCREEN END OF BLOCK b1. SELECTION-SCREEN END OF SCREEN 0100.
I've also declared the event START-OF-SELECTION.
START-OF-SELECTION. PERFORM zroutine USING p_bukrs p_gjahr.
The selection screen is called by a transaction. It shows up, I fill the values and then execute (F8). The program "leave screen" (back to SAP Easy Access).
Per my investigations the START-OF-SELECTION is not triggered. How do I process the execution (F8) of this selection screen? What am I missing?
Thank you all in advance!