Skip to Content
0
Aug 28, 2019 at 11:20 AM

Visual Filter does not appear on Analytical List Page

95 Views Last edit Aug 28, 2019 at 03:23 PM 3 rev

Hello Everyone,

I am trying to use Analytical List Page template. Even though, I created the chart (for content) and the table successfully, I couldn"t succeed on creating a chart on the visual filter section. Below is my annotation file. Looking forward for your replies.

Best Regards,

Merve

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
	<edmx:Reference Uri="/sap/bc/ui5_ui5/ui2/ushell/resources/sap/ushell/components/factsheet/vocabularies/UI.xml">
		<edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>
	</edmx:Reference>
	<edmx:Reference Uri="/sap/opu/odata/sap/ZMG_RN_PATDSH_CDS/$metadata">
		<edmx:Include Alias="ZMG_RN_PATDSH_CDS" Namespace="ZMG_RN_PATDSH_CDS"/>
	</edmx:Reference>
	<edmx:Reference Uri="https://wiki.scn.sap.com/wiki/download/attachments/448470974/Common.xml?api=v2">
		<edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/>
	</edmx:Reference>
	<edmx:DataServices>
		<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="zmg.rh.patdsh.dim.ZMG_RN_PATDSH_DIM.ZMG_RN_PATDSH_CDS">
			<!--===============================================================================
                Entity Type from chosen collection 
                ================================================================================-->
			<!--===============================================================================
                    Entity Type from chosen navigation property
                    ================================================================================-->
			<Annotations Target="ZMG_RN_PATDSH_CDS.ZMG_RN_PATDSHType">
				<Annotation Term="UI.DataPoint" Qualifier="Material">
					<Record Type="UI.DataPointType">
						<PropertyValue Property="Value" Path="MATERIAL"/>
					</Record>
				</Annotation>
				<Annotation Term="UI.SelectionFields">
					<Collection>
						<PropertyPath>MATERIAL</PropertyPath>
					</Collection>
				</Annotation>
				<Annotation Term="UI.PresentationVariant" Qualifier="FilterPresentationVariant">
					<Record Type="UI.PresentationVariantType">
						<PropertyValue Property="Visualizations">
							<Collection>
								<AnnotationPath>@UI.Chart#FilterVisualChart</AnnotationPath>
							</Collection>
						</PropertyValue>
					</Record>
				</Annotation>
				<Annotation Term="UI.Chart" Qualifier="FilterVisualChart">
					<Record Type="UI.ChartDefinitionType">
						<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Column"/>
						<PropertyValue Property="Measures">
							<Collection>
								<PropertyPath>MATERIAL</PropertyPath>
							</Collection>
						</PropertyValue>
						<PropertyValue Property="MeasureAttributes">
							<Collection>
								<Record Type="UI.ChartMeasureAttributeType">
									<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/>
									<PropertyValue Property="Measure" PropertyPath="MATERIAL"/>
									<PropertyValue Property="DataPoint" AnnotationPath="@UI.DataPoint#Material"/>
								</Record>
							</Collection>
						</PropertyValue>
						<PropertyValue Property="Dimensions">
							<Collection>
								<PropertyPath>DOCNUM</PropertyPath>
							</Collection>
						</PropertyValue>
						<PropertyValue Property="DimensionAttributes">
							<Collection>
								<Record Type="UI.ChartDimensionAttributeType">
									<PropertyValue Property="Dimension" PropertyPath="DOCNUM"/>
									<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/>
								</Record>
							</Collection>
						</PropertyValue>
					</Record>
				</Annotation>
				<Annotation Term="UI.Chart">
					<Record Type="UI.ChartDefinitionType">
						<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Line"/>
						<PropertyValue Property="Measures">
							<Collection>
								<PropertyPath>SALESAMOUNT</PropertyPath>
							</Collection>
						</PropertyValue>
						<PropertyValue Property="MeasureAttributes">
							<Collection>
								<Record Type="UI.ChartMeasureAttributeType">
									<PropertyValue Property="Measure" PropertyPath="SALESAMOUNT"/>
									<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/>
								</Record>
							</Collection>
						</PropertyValue>
						<PropertyValue Property="Dimensions">
							<Collection>
								<PropertyPath>DOCNUM</PropertyPath>
							</Collection>
						</PropertyValue>
						<PropertyValue Property="DimensionAttributes">
							<Collection>
								<Record Type="UI.ChartDimensionAttributeType">
									<PropertyValue Property="Dimension" PropertyPath="DOCNUM"/>
									<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/>
								</Record>
							</Collection>
						</PropertyValue>
					</Record>
				</Annotation>
				<Annotation Term="UI.LineItem">
					<Collection>
						<Record Type="UI.DataField">
							<PropertyValue Property="Value" Path="DOCNUM"/>
							<PropertyValue Property="Label" String="Document Number LBL"/>
						</Record>
						<Record Type="UI.DataField">
							<PropertyValue Property="Value" Path="ITEM"/>
							<PropertyValue Property="Label" String="Item Number LBL"/>
						</Record>
						<Record Type="UI.DataField">
							<PropertyValue Property="Value" Path="SALESAMOUNT"/>
							<PropertyValue Property="Label" String="Sales Amount LBL"/>
						</Record>
					</Collection>
				</Annotation>
				<Annotation Term="UI.Facets">
					<Collection>
						<Record Type="UI.CollectionFacet">
							<PropertyValue Property="ID" String="GeneralInformation"/>
							<PropertyValue Property="Label" String="{@i18n>@GeneralInfoFacetLabel}"/>
							<PropertyValue Property="Facets">
								<Collection>
									<Record Type="UI.ReferenceFacet">
										<PropertyValue Property="Label" String="{@i18n>@GeneralInfoFacetLabel}"/>
										<PropertyValue Property="Target" AnnotationPath="@UI.Identification"/>
									</Record>
								</Collection>
							</PropertyValue>
						</Record>
					</Collection>
				</Annotation>
			</Annotations>
			<Annotations Target="">
				<Annotation Term="UI.Facets">
					<Collection>
						<Record Type="UI.CollectionFacet">
							<PropertyValue Property="ID" String="GeneralInformation"/>
							<PropertyValue Property="Label" String="{@i18n>@GeneralInfoFacetLabel}"/>
							<PropertyValue Property="Facets">
								<Collection>
									<Record Type="UI.ReferenceFacet">
										<PropertyValue Property="Label" String="{@i18n>@GeneralInfoFacetLabel}"/>
										<PropertyValue Property="Target" AnnotationPath="@UI.Identification"/>
									</Record>
								</Collection>
							</PropertyValue>
						</Record>
					</Collection>
				</Annotation>
			</Annotations>
			<Annotations Target="ZMG_RN_PATDSH_CDS.ZMG_RN_PATDSHType/MATERIAL">
				<Annotation Term="Common.ValueList">
					<Record Type="Common.ValueListType">
						<PropertyValue Property="CollectionPath" String="ZMG_RN_PATDSH"/>
						<PropertyValue Property="PresentationVariantQualifier" String="FilterPresentationVariant"/>
					</Record>
				</Annotation>
			</Annotations>
		</Schema>
	</edmx:DataServices>
</edmx:Edmx>

Attachments

1.png (17.8 kB)