Execute sql statement from SAP
Prerequisite : SE30 tips tricks function should be enabled ,In higher release i observed it’s disable and User should have editing authorization.
Goto T code : SE30
click ‘Tips & tricks’ (Runtime ABAP/4 Statements)
click ‘Initializing Strings’
put cursor in right box
and click on Measure run-time ,It will execute your sql query.