SAP ABAP: How to capture Check box event on Table Control in Dialog Programming?
Capturing checkbox event on table control quite tricky as I've found numerous inquiries on the web. And here's my solution; Step 1. Add a screen and create Table Control. Upon selecting the internal table, insert the Check Box on the table control you've just created. Step 2. Double click the check box and on the check box attributes, put 'CHK' on the function code. This will trigger event on the PAI whenever user SEL/UNSELECT the check box column on the Table Control. Step 3. On the PAI Module, */---------------------------- ------------------------------ -- MODULE pai_0100 INPUT. */---------------------------- ------------------------------ -- CASE SY-UCOMM. WHEN 'CHK'. ""your logic goes here.. ENDCASE. ENDMODULE. " End of PAI_0100 INPUT */============================ ======== Hoping this will bring help to some trouble souls out there. Mabuhay, Philippines!