Result Objects

The result objects compose the query.

<resultObjects>
    <resultObject id="string" path="string"/>
Attribute Type or Value Description
id string The object identifier
path string The full path of the object in the universe. Optional.
Remember

The object order in <resultObjects> is important, because it reflects the object order in the SQL query. For example, the following query:

<queryData>
    <resultObjects>
        <resultObject id=A .../>
        <resultObject id=B .../>
    </resultObjects>
...

gives different results from the following one:

<queryData>
    <resultObjects>
        <resultObject id=B .../>
        <resultObject id=A .../>
    </resultObjects>
...

Example

The following snippet of a query specification shows the result objects of the query for a UNX universe.
<query xmlns="http://www.sap.com/rws/sl/universe" id="5897899822041415615" dataSourceType="unx" dataSourceId="5808">
    <querySpecification version="1.0">
        <queryOptions> 
            ...
        </queryOptions>
        <queryData>
            <resultObjects>
                <resultObject path="Product|folder\Product|dimension" 
                    id="_IB8eGbIhEeCk0Ylv-tlF2Q"/>
                <resultObject path="Inventory|folder\Stock Level|measure"
                    id="_IB8eFrIhEeCk0Ylv-tlF2Q"/>
                <resultObject path="Product|folder\Minimum Stock|measure"
                     id="_IB8eHrIhEeCk0Ylv-tlF2Q"/>
            </resultObjects>
        </queryData>
    </querySpecification>
</query>