<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_COMMON',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="com.sap.vocabularies.Common.v1" Alias="Common"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_CAPABILITIES',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_COMMUNICATION',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="com.sap.vocabularies.Communication.v1" Alias="Communication"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_AGGREGATION',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="Org.OData.Aggregation.V1" Alias="Aggregation"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_PERSONALDATA',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="com.sap.vocabularies.PersonalData.v1" Alias="PersonalData"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_VALIDATION',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="Org.OData.Validation.V1" Alias="Validation"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_ANALYTICS',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="com.sap.vocabularies.Analytics.v1" Alias="Analytics"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_MEASURES',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
    </edmx:Reference>
    <edmx:Reference Uri=".3/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_UI',Version='0001',SAP__Origin='')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
        <edmx:Include Namespace="com.sap.vocabularies.UI.v1" Alias="UI"/>
    </edmx:Reference>
    <edmx:DataServices m:DataServiceVersion="2.0">
        <Schema Namespace="cds_zui_sls" xml:lang="en" sap:schema-version="1" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
            <EntityType Name="zc_sls_headType" sap:label="Projection View for Sales Order Header" sap:content-version="1">
                <Key>
                    <PropertyRef Name="vbeln"/>
                </Key>
                <Property Name="Delete_mc" Type="Edm.Boolean" sap:label="Dyn. Method Control" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
                <Property Name="Update_mc" Type="Edm.Boolean" sap:label="Dyn. Method Control" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
                <Property Name="to_sales_Item_oc" Type="Edm.Boolean" sap:label="Dynamic CbA-Control" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
                <Property Name="vbeln" Type="Edm.String" Nullable="false" MaxLength="10" sap:display-format="UpperCase" sap:label="Sales document" sap:quickinfo="Sales Document" sap:creatable="false" sap:updatable="false"/>
                <Property Name="auart" Type="Edm.String" MaxLength="4" sap:display-format="UpperCase" sap:label="Sales Document Type"/>
                <Property Name="vkorg" Type="Edm.String" MaxLength="4" sap:display-format="UpperCase" sap:label="Sales Organization"/>
                <Property Name="vtweg" Type="Edm.String" MaxLength="2" sap:display-format="UpperCase" sap:label="Distribution Channel"/>
                <Property Name="spart" Type="Edm.String" MaxLength="2" sap:display-format="UpperCase" sap:label="Division"/>
                <Property Name="vkbur" Type="Edm.String" MaxLength="4" sap:display-format="UpperCase" sap:label="Sales office"/>
                <Property Name="kdgrp" Type="Edm.String" MaxLength="2" sap:display-format="UpperCase" sap:label="Customer Group"/>
                <Property Name="kunag" Type="Edm.String" MaxLength="10" sap:display-format="UpperCase" sap:label="Sold-To Party"/>
                <Property Name="kunwe" Type="Edm.String" MaxLength="10" sap:display-format="UpperCase" sap:label="Ship-to party"/>
                <Property Name="netwr" Type="Edm.Decimal" Precision="16" Scale="3" sap:unit="waerk" sap:label="Net Value" sap:quickinfo="Net Value in Document Currency"/>
                <Property Name="waerk" Type="Edm.String" MaxLength="5" sap:label="Document Currency" sap:quickinfo="SD document currency" sap:semantics="currency-code"/>
                <Property Name="ernam" Type="Edm.String" MaxLength="12" sap:display-format="UpperCase" sap:label="Created by" sap:quickinfo="Name of Person who Created the Object" sap:creatable="false" sap:updatable="false"/>
                <Property Name="erdat" Type="Edm.DateTime" Precision="0" sap:display-format="Date" sap:label="Created on" sap:quickinfo="Date on which the record was created" sap:creatable="false" sap:updatable="false"/>
                <Property Name="erzet" Type="Edm.Time" Precision="0" sap:label="Time" sap:quickinfo="Entry time"/>
                <NavigationProperty Name="to_sales_Item" Relationship="cds_zui_sls.assoc_F22A3ECD28359DA6742C767627180944" FromRole="FromRole_assoc_F22A3ECD28359DA6742C767627180944" ToRole="ToRole_assoc_F22A3ECD28359DA6742C767627180944"/>
            </EntityType>
            <EntityType Name="zc_sls_itemType" sap:label="Projection View for Sales Orders Items" sap:content-version="1">
                <Key>
                    <PropertyRef Name="vbeln"/>
                    <PropertyRef Name="posnr"/>
                </Key>
                <Property Name="Delete_mc" Type="Edm.Boolean" sap:label="Dyn. Method Control" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
                <Property Name="Update_mc" Type="Edm.Boolean" sap:label="Dyn. Method Control" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false"/>
                <Property Name="vbeln" Type="Edm.String" Nullable="false" MaxLength="10" sap:display-format="UpperCase" sap:label="Sales document" sap:quickinfo="Sales Document" sap:creatable="false" sap:updatable="false"/>
                <Property Name="posnr" Type="Edm.String" Nullable="false" MaxLength="6" sap:display-format="NonNegative" sap:label="Item (SD)" sap:quickinfo="Item number of the SD document" sap:creatable="false" sap:updatable="false"/>
                <Property Name="matnr" Type="Edm.String" MaxLength="18" sap:display-format="UpperCase" sap:label="Material" sap:quickinfo="Material Number"/>
                <Property Name="arktx" Type="Edm.String" MaxLength="40" sap:label="Item Description" sap:quickinfo="Short text for sales order item"/>
                <Property Name="kwmeng" Type="Edm.Decimal" Precision="15" Scale="3" sap:unit="vrkme" sap:label="Order Quantity" sap:quickinfo="Cumulative order quantity in sales units"/>
                <Property Name="vrkme" Type="Edm.String" MaxLength="3" sap:label="Sales unit" sap:semantics="unit-of-measure"/>
                <NavigationProperty Name="to_header" Relationship="cds_zui_sls.assoc_8775CBE7BEE7F25748DB635AD13AF0B8" FromRole="FromRole_assoc_8775CBE7BEE7F25748DB635AD13AF0B8" ToRole="ToRole_assoc_8775CBE7BEE7F25748DB635AD13AF0B8"/>
            </EntityType>
            <Association Name="assoc_8775CBE7BEE7F25748DB635AD13AF0B8" sap:content-version="1">
                <End Type="cds_zui_sls.zc_sls_itemType" Multiplicity="1" Role="FromRole_assoc_8775CBE7BEE7F25748DB635AD13AF0B8"/>
                <End Type="cds_zui_sls.zc_sls_headType" Multiplicity="1" Role="ToRole_assoc_8775CBE7BEE7F25748DB635AD13AF0B8"/>
            </Association>
            <Association Name="assoc_F22A3ECD28359DA6742C767627180944" sap:content-version="1">
                <End Type="cds_zui_sls.zc_sls_headType" Multiplicity="1" Role="FromRole_assoc_F22A3ECD28359DA6742C767627180944">
                    <OnDelete Action="Cascade"/>
                </End>
                <End Type="cds_zui_sls.zc_sls_itemType" Multiplicity="*" Role="ToRole_assoc_F22A3ECD28359DA6742C767627180944"/>
                <ReferentialConstraint>
                    <Principal Role="FromRole_assoc_F22A3ECD28359DA6742C767627180944">
                        <PropertyRef Name="vbeln"/>
                    </Principal>
                    <Dependent Role="ToRole_assoc_F22A3ECD28359DA6742C767627180944">
                        <PropertyRef Name="vbeln"/>
                    </Dependent>
                </ReferentialConstraint>
            </Association>
            <EntityContainer Name="cds_zui_sls_Entities" m:IsDefaultEntityContainer="true" sap:message-scope-supported="true" sap:supported-formats="atom json xlsx">
                <EntitySet Name="zc_sls_head" EntityType="cds_zui_sls.zc_sls_headType" sap:searchable="true" sap:content-version="1" sap:deletable-path="Delete_mc" sap:updatable-path="Update_mc"/>
                <EntitySet Name="zc_sls_item" EntityType="cds_zui_sls.zc_sls_itemType" sap:content-version="1" sap:deletable-path="Delete_mc" sap:updatable-path="Update_mc"/>
                <AssociationSet Name="assoc_F22A3ECD28359DA6742C767627180944" Association="cds_zui_sls.assoc_F22A3ECD28359DA6742C767627180944" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:content-version="1">
                    <End EntitySet="zc_sls_head" Role="FromRole_assoc_F22A3ECD28359DA6742C767627180944"/>
                    <End EntitySet="zc_sls_item" Role="ToRole_assoc_F22A3ECD28359DA6742C767627180944"/>
                </AssociationSet>
                <AssociationSet Name="assoc_8775CBE7BEE7F25748DB635AD13AF0B8" Association="cds_zui_sls.assoc_8775CBE7BEE7F25748DB635AD13AF0B8" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:content-version="1">
                    <End EntitySet="zc_sls_item" Role="FromRole_assoc_8775CBE7BEE7F25748DB635AD13AF0B8"/>
                    <End EntitySet="zc_sls_head" Role="ToRole_assoc_8775CBE7BEE7F25748DB635AD13AF0B8"/>
                </AssociationSet>
                <FunctionImport Name="sendToSap" ReturnType="cds_zui_sls.zc_sls_headType" EntitySet="zc_sls_head" m:HttpMethod="POST" sap:action-for="cds_zui_sls.zc_sls_headType">
                    <Parameter Name="vbeln" Type="Edm.String" Mode="In" MaxLength="10"/>
                </FunctionImport>
                <FunctionImport Name="getProduct" ReturnType="cds_zui_sls.zc_sls_itemType" EntitySet="zc_sls_item" m:HttpMethod="POST" sap:action-for="cds_zui_sls.zc_sls_itemType">
                    <Parameter Name="vbeln" Type="Edm.String" Mode="In" MaxLength="10"/>
                    <Parameter Name="posnr" Type="Edm.String" Mode="In" MaxLength="6"/>
                </FunctionImport>
            </EntityContainer>
            <Annotations Target="cds_zui_sls.cds_zui_sls_Entities" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Common.ApplyMultiUnitBehaviorForSortingAndFiltering" Bool="true"/>
                <Annotation Term="Aggregation.ApplySupported">
                    <Record>
                        <PropertyValue Property="Transformations">
                            <Collection>
                                <String>aggregate</String>
                                <String>groupby</String>
                                <String>filter</String>
                            </Collection>
                        </PropertyValue>
                        <PropertyValue Property="Rollup" EnumMember="None"/>
                    </Record>
                </Annotation>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_itemType/kwmeng" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_itemType/matnr" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_itemType/vrkme" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.cds_zui_sls_Entities/zc_sls_head" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Capabilities.FilterRestrictions">
                    <Record>
                        <PropertyValue Property="NonFilterableProperties">
                            <Collection>
                                <PropertyPath>Delete_mc</PropertyPath>
                                <PropertyPath>Update_mc</PropertyPath>
                                <PropertyPath>to_sales_Item_oc</PropertyPath>
                            </Collection>
                        </PropertyValue>
                    </Record>
                </Annotation>
                <Annotation Term="Capabilities.NavigationRestrictions">
                    <Record>
                        <PropertyValue Property="RestrictedProperties">
                            <Collection>
                                <Record>
                                    <PropertyValue Property="NavigationProperty" NavigationPropertyPath="to_sales_Item"/>
                                    <PropertyValue Property="InsertRestrictions">
                                        <Record>
                                            <PropertyValue Property="Insertable" Path="to_sales_Item_oc"/>
                                        </Record>
                                    </PropertyValue>
                                </Record>
                            </Collection>
                        </PropertyValue>
                    </Record>
                </Annotation>
                <Annotation Term="Capabilities.SortRestrictions">
                    <Record>
                        <PropertyValue Property="NonSortableProperties">
                            <Collection>
                                <PropertyPath>Delete_mc</PropertyPath>
                                <PropertyPath>Update_mc</PropertyPath>
                                <PropertyPath>to_sales_Item_oc</PropertyPath>
                            </Collection>
                        </PropertyValue>
                    </Record>
                </Annotation>
            </Annotations>
            <Annotations Target="cds_zui_sls.cds_zui_sls_Entities/zc_sls_item" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Capabilities.FilterRestrictions">
                    <Record>
                        <PropertyValue Property="NonFilterableProperties">
                            <Collection>
                                <PropertyPath>Delete_mc</PropertyPath>
                                <PropertyPath>Update_mc</PropertyPath>
                            </Collection>
                        </PropertyValue>
                    </Record>
                </Annotation>
                <Annotation Term="Capabilities.SortRestrictions">
                    <Record>
                        <PropertyValue Property="NonSortableProperties">
                            <Collection>
                                <PropertyPath>Delete_mc</PropertyPath>
                                <PropertyPath>Update_mc</PropertyPath>
                            </Collection>
                        </PropertyValue>
                    </Record>
                </Annotation>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_headType/erdat" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Core.Immutable"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_headType/ernam" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Core.Immutable"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_headType/vbeln" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Core.Immutable"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_itemType/posnr" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Core.Immutable"/>
            </Annotations>
            <Annotations Target="cds_zui_sls.zc_sls_itemType/vbeln" xmlns="http://docs.oasis-open.org/odata/ns/edm">
                <Annotation Term="Core.Immutable"/>
            </Annotations>
            <atom:link rel="self" href="http://100.0.0.196:8003/sap/opu/odata/sap/ZUI_SLS/$metadata" xmlns:atom="http://www.w3.org/2005/Atom"/>
            <atom:link rel="latest-version" href="http://100.0.0.196:8003/sap/opu/odata/sap/ZUI_SLS/$metadata" xmlns:atom="http://www.w3.org/2005/Atom"/>
        </Schema>
    </edmx:DataServices>
</edmx:Edmx>