SAP Queries
SAP Queries are a tool provided to SAP implementers and super-users. There is some maneuvering room for ABAPers, but this is not considered a programming tool. This doesn’t mean that there aren't programming problems with the tool, but they are mostly ignored until it's too late.
Using Alias Tables in SAP Queries
When working with SAP queries, sometimes you need alias tables when you work with reports that cover a sequence of events, such as with sales document flow.