When a query is transported, only the query itself is transported.
If the Transport Query Variants checkbox is selected when you perform the transport action Export, all the query variants, i.e. all the variants of the associated query report are also transported to the transport dataset.
To import a query, an appropriate user group and an appropriate InfoSet must exist in the target client, and the InfoSet must be assigned to the user group.
The query has the name G1 and belongs to the source client for the user group FB.
During an import, the import option REPLACE overwrites the query G1 of the user group FB in the target client, if this user group exists.
During an import, the import option GROUP=FX overwrites the query G1 of the user group FX in the target client, if this user group exists. Using this import option, the query is explicitly assigned to a user group in the target client. This target user group may be different from the user group in the source client.
In both cases, you must ensure that a suitable InfoSet exists in the target system and that this InfoSet is assigned to the user group FB or FX.
When transporting a query, the system does not transport the generated report at the same time. After the transport, it ensures that the report is regenerated in the target system as soon as the query is executed the first time. This means that variants can be transported, although the associated report is not transported.