Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 718 Bytes

datapreview.md

File metadata and controls

38 lines (23 loc) · 718 Bytes

Datapreview

Wrappers for ADT SQL console.

osql

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