Viewing an ABAP program outside customer space.

When you encounter an ABAP program prefixed with "AQZZ", this indicates that the program was created by the SAP Query via transaction SQ01. While you might not be able to directly view the query, you can identify the Infoset on which the query relies. You can then enter the Infoset in SQ02 and when you click on 'Description', you can find more details about the program structure and data sources.

Ad-hoc Queries T-Code: SQ01

You can use this transaction to create ad-hoc queries (SAP Queries) for reporting off the infoset in any SAP module. When you run this T-code, you need to follow these steps ?

Step 1: Give the name of the query you want to create and hit the create button.

Step 2: You will be asked to provide the name of the Infoset that you want to use as the data source for your query.

T-Code SQ02 ? Infoset Management

This transaction is used to include all tables or infotypes that provide data for your queries. The Infoset acts as a data source that defines which fields are available for reporting in your SAP Query.

SQ01 Query Report SQ02 Infoset Creates Generates Uses Data From

Conclusion

Understanding ABAP programs with "AQZZ" prefix helps you trace back to their SAP Query origins through SQ01 and identify their data sources via SQ02 Infosets. This knowledge is essential for maintaining and understanding query-generated programs in SAP systems.

Updated on: 2026-03-13T18:58:07+05:30

328 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements