SAP Message AQ218 - No program yet generated for query &

Diagnosis
You attempted to execute a query, for which no program has yet beengenerated, from the directory of all queries.
Programs belonging to queries are automatically generated only ifexecution is directly activated by one of the query maintenancecomponents. Execution from the directory of all queries does notinclude auomatic program generation.

Procedure
Execute the query concerned once in the user group in which it wascreated. This generates the required program, allowing you to executethe query from the directory.
You can also copy the query to your own user group and then execute it.