1. In Query, click New and create a Transaction query.
2. On the Criteria tab, expand Transaction code, select appropriate transaction code.
3. For the Operator, select Not Blank, and click OK.
4. Add any necessary fields to the Output tab.
5. Click Run to see the results.