Wrappers for ADT SQL console.
Executes a oneliner OSQL statement in ABAP system and prints out the results.
Example:
sapcli datapreview osql "select mandt cccategory from t000"
the output for ABAP Trial would be:
MANDT | CCCATEGORY
000 | S
001 | C
Parameters:
sapcli datapreview osql STATEMENT [--output human|json] [--rows (100)] [--noaging] [--noheadings]
-
STATEMENT the executed ABAP OpenSQL statement
-
--output either human friendly or JSON output format; where the default is human
-
--rows "up to"; where the default is 100
-
--noaging turns of data aging
-
--noheadings removes column names from the human friendly output