Push Buttons in SAP ABAP

Push buttons offers an easy way for user interaction . Implementing push buttons in selection screen is pretty easy in ABAP.
Push Buttons in SAP
Push Buttons in SAP

 Just include and use sscrfields table to monitor  actions in push button. Every push button must be associated with a unique user command which can be used to associate action when we check the value of sscrfields.
An example program:



Please be cautious about spacing 2(10) means start from 2nd column and implement push button for next 10 columns in selection screen first row. So if you want to use another button the starting column should be at-least 13 other wise you will get dump.