/  14
SAP QUERY – SQ01
STEP BY STEP GUIDE
SAP Query enables data from multiple tables to be extracted in one report, as long as at least one

field of data can be linked from one table to another e.g. by Document Number.
Unlike table browser (SE16), reports from SAP Query can be saved.
You will need the required tables and fields before running SAP Query (if not known, refer to the

list of tables PDF within the Data Extraction section).
Click on the Quick Viewer button.
The next screen enables new reports to be created or saved reports to be run or amended.
Note: The Help topics at the bottom of the page are referenced to the SAP Library on Internet
Explorer.
In this example we are creating a report to show all vendors for a particular Company with name,
address, payment method and bank details.
This will involve joining three tables:
Table
Name
What it contains
Fields Description
(not a comprehensive list)
SAP Name
LFA1
Vendor Master

Vendor
Name
City
Postal Code
Search Term
Street
Address
Created On
Created By
Account Group

LIFNR
NAME1
ORT01
PSTLZ
SORTL
STRAS
ADRNR
ERDAT
ERNAM
KTOKK

LFB1
Vendor Master Data by
Company

Vendor
Company Code
Personnel Number
Created On
Created By
Reconciliation Account
Payment Methods
Payment Terms

LIFNR
BUKRS
PERNR
ERDAT
ERNAM
AKONT

ZWELS
ZTERM
LFBK
Vendor Bank Details

Vendor
Bank Key
Bank account number
Account Holder

LIFNR
BANKL
BANKN
KOINH

Note: A query will only work with actual tables and some e.g. BSEG are too large to work with.
The system will let you know if it cannot work with a specific table. When this happens, logical
databases should be used instead. These can be identified using transaction SE12 (See separate
instructions).

Share & Embed

More from this user

Add a Comment

Characters: ...