Entering content frameProcedure documentation Inserting a Reference to Another Query Locate the document in its SAP Library structure

Use

If you insert a reference to another query in the current query, the query steps in the referenced query are executed as well when you execute the current query. You can display the query steps of the referenced query in the current query. You can edit them only in the referenced query, however.

Note

If you want to edit the query steps in the current query, you must insert a copy of a query instead of the reference. In this case, however, the reference to the original query you copied is lost, meaning that if you change the original query, the changes are not included in the query that contains the copy.

Prerequisites

You have displayed the Edit Query: Step Overview dialog box. For more information about how to get to this screen and for other prerequisites, see Creating and Editing Queries.

Procedure

  1. Position the cursor on one of the following:
  1. Choose This graphic is explained in the accompanying text.
  2. The group overview for the queries then appears.

  3. Double-click the query to which you want to insert a reference in the current query.
  4. The reference to the query is inserted in the current query under a new query step. The new query step is assigned the key of the referenced query.

  5. Save the query.
Leaving content frame