Getting the launcher XML schema
The launcher schema is a .xsd file that defines the syntax to be used in the Analysis launcher file. You can use it to create your own launching file according to your business need.
The launching file that you create based on the template needs to be saved as .sapaox file to launch Analysis.
You can download the schema: Analysis Launcher Schema
The schema is located here:
https://help.sap.com/doc/fc2ed58b24284dd2b585eee78fb878f5/2.8.3.0/en-US/AoLauncher.zip
Every time you execute a .sapaox file to launch Analysis, it is validated against the schema.
Alternatively, you can
copy the schema code here and save it as a .xsd file on your machine. Please note that you then need also to adapt the schema location in the examples :
copy the schema code here and save it as a .xsd file on your machine. Please note that you then need also to adapt the schema location in the examples :
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="AOLauncher"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:aol="AOLauncher"
elementFormDefault="qualified">
<annotation>
<documentation xml:lang="en">
Schema for SAP Analysis for Microsoft Office
</documentation>
</annotation>
<complexType name="AOLauncherType">
<sequence>
<choice>
<element name="ConnectionItem" type="aol:ConnectionItemType" minOccurs="1" maxOccurs="1"/>
<element name="DataSourceItem" type="aol:DataSourceItemType" minOccurs="1" maxOccurs="1"/>
<element name="RepositoryItem" type="aol:RepositoryItemType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
<attribute name="debug" type="boolean" default="false"/>
<attribute name ="version" type="aol:VersionType" use="required"/>
</complexType>
<simpleType name="VersionType" >
<restriction base="decimal">
<minInclusive value="2"/>
<fractionDigits value="1" />
</restriction>
</simpleType>
<complexType name ="ILauncherItem" />
<complexType name="ConnectionItemType">
<complexContent>
<extension base="aol:ILauncherItem">
<sequence>
<choice>
<element name="BWConnection" type="aol:BWConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="HanaConnection" type="aol:HanaConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="SACConnection" type="aol:SACConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="BIPConnection" type="aol:BIPConnectionType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="DataSourceItemType">
<complexContent>
<extension base="aol:ILauncherItem">
<sequence>
<element name="Name" type="string" minOccurs="1" maxOccurs="1"/>
<element name="DataSourceType" type="aol:DataSourceType" minOccurs="1" maxOccurs="1"/>
<element name="Configuration" type="aol:ItemConfigurationType" minOccurs="0" maxOccurs="1" />
<choice>
<element name="BWConnection" type="aol:BWConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="HanaConnection" type="aol:HanaConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="SACConnection" type="aol:SACConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="BIPConnection" type="aol:BIPConnectionType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
<simpleType name="DataSourceType">
<restriction base="string">
<enumeration value ="INFO_PROVIDER"/>
<enumeration value="QUERY" />
<enumeration value="QUERY_VIEW" />
</restriction>
</simpleType>
<complexType name="RepositoryItemType">
<complexContent>
<extension base="aol:ILauncherItem">
<sequence>
<element name="Name" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Configuration" type="aol:RepositoryItemConfiguration" minOccurs="0" maxOccurs="1" />
<choice>
<element name="BWConnection" type="aol:BWConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="BIPConnection" type="aol:BIPConnectionType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- Configuration -->
<complexType name="ItemConfigurationType">
<sequence>
<element name="ForcePrompt" type="boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="Variables" minOccurs="0" maxOccurs="1">
<complexType>
<sequence>
<element name="Variable" type="aol:VariableType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
<complexType name="VariableType">
<simpleContent>
<extension base="string">
<attribute name="name" type="string" use="required"/>
<attribute name="datasource" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<complexType name="RepositoryItemConfiguration">
<complexContent>
<extension base="aol:ItemConfigurationType">
<sequence>
<element name="ForceRefresh" type="boolean" default="false" minOccurs="0" maxOccurs="1" />
<element name ="LastChangedAt" type="dateTime" minOccurs="0" maxOccurs="1" />
</sequence>
</extension>
</complexContent>
</complexType>
<!-- Connection -->
<complexType name ="IConnection">
<sequence>
<choice>
<element name="BWDestination" type="aol:BWDestinationType" minOccurs="1" maxOccurs="1"/>
<element name="HanaDestination" type="aol:HanaDestinationType" minOccurs="1" maxOccurs="1"/>
<element name="SACDestination" type="aol:SACDestinationType" minOccurs="1" maxOccurs="1"/>
<element name="BIPDestination" type="aol:BIPDestinationType" minOccurs="1" maxOccurs="1"/>
</choice>
<choice>
<element name="AutomaticAuthentication" type="aol:AutomaticAuthenticationType" minOccurs="1" maxOccurs="1"/>
<element name="BasicAuthentication" type="aol:BasicAuthenticationType" minOccurs="1" maxOccurs="1"/>
<element name="ReentranceTicketAuthentication" type="aol:ReentranceTicketAuthenticationType" minOccurs="1" maxOccurs="1"/>
<element name="SAMLAuthentication" type="aol:SAMLAuthenticationType" minOccurs="1" maxOccurs="1"/>
</choice>
<choice>
<element name ="BIPRedefinedConnectionItem" type="aol:BIPRedefinedConnectionItemType" minOccurs="0" maxOccurs="unbounded"/>
</choice>
</sequence>
</complexType>
<complexType name="BWConnectionType">
<complexContent>
<restriction base="aol:IConnection">
<sequence>
<element name="BWDestination" type="aol:BWDestinationType" minOccurs="1" maxOccurs="1" />
<choice>
<element name="BasicAuthentication" type="aol:BasicAuthenticationType" minOccurs="1" maxOccurs="1"/>
<element name="ReentranceTicketAuthentication" type="aol:ReentranceTicketAuthenticationType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
<complexType name="HanaConnectionType">
<complexContent>
<restriction base="aol:IConnection">
<sequence>
<element name="HanaDestination" type="aol:HanaDestinationType" minOccurs="1" maxOccurs="1" />
<choice>
<element name="BasicAuthentication" type="aol:BasicAuthenticationType" minOccurs="1" maxOccurs="1"/>
<element name="SAMLAuthentication" type="aol:SAMLAuthenticationType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
<complexType name="SACConnectionType">
<complexContent>
<restriction base="aol:IConnection">
<sequence>
<element name="SACDestination" type="aol:SACDestinationType" minOccurs="1" maxOccurs="1" />
<element name="AutomaticAuthentication" type="aol:AutomaticAuthenticationType" minOccurs="1" maxOccurs="1"/>
</sequence>
</restriction>
</complexContent>
</complexType>
<complexType name="BIPConnectionType">
<complexContent>
<restriction base="aol:IConnection">
<sequence>
<element name="BIPDestination" type="aol:BIPDestinationType" minOccurs="1" maxOccurs="1" />
<choice>
<element name="BasicAuthentication" type="aol:BasicAuthenticationType" minOccurs="1" maxOccurs="1"/>
<element name="SAMLAuthentication" type="aol:SAMLAuthenticationType" minOccurs="1" maxOccurs="1"/>
</choice>
<element name ="BIPRedefinedConnectionItem" type="aol:BIPRedefinedConnectionItemType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
<complexType name="IConnectionItem"/>
<complexType name="BIPRedefinedConnectionItemType">
<complexContent>
<extension base="aol:IConnectionItem">
<sequence>
<element name="CUID" type="string" minOccurs="0"/>
<element name="BoeId" type="int" minOccurs="0"/>
<choice>
<element name="BWConnection" type="aol:BWConnectionType" minOccurs="1" maxOccurs="1"/>
<element name="HanaConnection" type="aol:HanaConnectionType" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
<!--Destination-->
<complexType name="IDestination"/>
<complexType name="BWDestinationType">
<complexContent>
<extension base="aol:IDestination">
<sequence>
<element name="SystemId" type="string" minOccurs="1" maxOccurs="1"/>
<choice>
<group ref="aol:group1"/>
<group ref="aol:group2"/>
</choice>
<element name="Client" type="string" minOccurs="1" maxOccurs="1"/>
<element name="ServerGroup" type="string" minOccurs="0"/>
<element name="ServerType" type="string" minOccurs="0"/>
<element name="Language" type="string" minOccurs="0"/>
<element name="SNCInfo" type="aol:SNCInfoType" minOccurs="0" />
</sequence>
</extension>
</complexContent>
</complexType>
<group name="group1">
<sequence>
<element name="MessageServer" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</group>
<group name="group2">
<sequence>
<element name="ApplicationServer" type="string" minOccurs="1" maxOccurs="1"/>
<element name="SystemNo" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</group>
<complexType name="BWMessageServer">
<sequence>
<element name="MessageServer" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="BWApplicationServer">
<sequence>
<element name="ApplicationServer" type="string" minOccurs="1" maxOccurs="1"/>
<element name="SystemNo" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="SNCInfoType">
<sequence>
<element name="SNCName" type="string" minOccurs="1" maxOccurs="1" />
<element name="SNCQuality" type="aol:SNCQualityType" minOccurs="1" maxOccurs="1" />
<element name="SNCPartnerName" type="string" minOccurs="0" maxOccurs="1" />
</sequence>
</complexType>
<simpleType name="SNCQualityType">
<restriction base="int">
<enumeration value="0">
<annotation>
<documentation>SNC disabled</documentation>
</annotation>
</enumeration>
<enumeration value="1">
<annotation>
<documentation>Authentication only</documentation>
</annotation>
</enumeration>
<enumeration value="2">
<annotation>
<documentation>Authentication and integrity protection</documentation>
</annotation>
</enumeration>
<enumeration value="3">
<annotation>
<documentation>Authentication, integrity protection, and privacy protection (encryption)</documentation>
</annotation>
</enumeration>
<enumeration value="8">
<annotation>
<documentation>Default value defined by back-end system</documentation>
</annotation>
</enumeration>
<enumeration value="9">
<annotation>
<documentation>Maximum value that the current security product supports</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<complexType name="HanaDestinationType">
<complexContent>
<extension base="aol:IDestination">
<sequence>
<element name="SystemId" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Url" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Language" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="SACDestinationType">
<complexContent>
<extension base="aol:IDestination">
<sequence>
<element name="SystemId" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Url" type="string" minOccurs="1" maxOccurs="1"/>
<element name="LiveDataConnectionID" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="BIPDestinationType">
<complexContent>
<extension base="aol:IDestination">
<sequence>
<element name="Url" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Language" type="string" minOccurs="1" maxOccurs="1"/>
<element name="OlapConnection" type="aol:OlapConnection" minOccurs="0" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="OlapConnection">
<sequence>
<element name="CUID" type="string" minOccurs="1" maxOccurs="1"/>
<element name="BoeId" type="int" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<!-- Authorization-->
<complexType name="IAuthenticationType"/>
<complexType name="BasicAuthenticationType">
<complexContent>
<extension base="aol:IAuthenticationType">
<sequence>
<element name="User" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Password" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="AutomaticAuthenticationType">
<complexContent>
<extension base="aol:IAuthenticationType">
</extension>
</complexContent>
</complexType>
<complexType name="SAMLAuthenticationType">
<complexContent>
<extension base="aol:IAuthenticationType">
<sequence>
<element name="User" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Ticket" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ReentranceTicketAuthenticationType">
<complexContent>
<extension base="aol:IAuthenticationType">
<sequence>
<element name="User" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Ticket" type="string" minOccurs="1" maxOccurs="1"/>
<element name="Ticket2" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="AnalysisLauncher" type="aol:AOLauncherType"/>
</schema>