cancel
Showing results for 
Search instead for 
Did you mean: 

Using Analytical List Page Causes DrillStack Check Error

merveguel
Participant
0 Kudos

Hello everyone,

I am trying to build up an Analytical List Page and I assume getting a bug in here. Basically, I have added the following annotations.

ERROR: Data source does not support drillDown/drillUp. The method "getDrillStack" therefore cannot be used!

				<Annotation Term="UI.Chart">
					<Record Type="UI.ChartDefinitionType">
						<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Line"/>
						<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>
						<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>
					</Record>
				</Annotation>
				<Annotation Term="UI.LineItem">
					<Collection>
						<Record Type="UI.DataField">
							<PropertyValue Property="Value" Path="DOCNUM"/>
						</Record>
						<Record Type="UI.DataField">
							<PropertyValue Property="Value" Path="ITEM"/>
						</Record>
						<Record Type="UI.DataField">
							<PropertyValue Property="Value" Path="SALESAMOUNT"/>
						</Record>
					</Collection>
				</Annotation>

Even though I am not doing anything with Drill Down/Up property of the Chart section, it gives the following error as I click anywhere.

I debugged the DetailController.dbg and there is even bug related comment in it (// workaround for bug in chart...). Because of that, I also assumed maybe this is a bug as well.

Basically, as I click to the Go btn up right on my table it takes to the DetailController.dbg/_getSelParamsFromChart and applyParamsToTable methods which returns empty for every sentence related with finding a DrillStack and causes the Error.

drillStack: undefined

	 */
			_getSelParamsFromChart: function(chart) {
				var dpList = [];
				var oChartInfo = this.oState.chartController._chartInfo;
				if (oChartInfo.vizSelection) {// workaround for bug in chart, will get null pointer exception if vizSelection is not checked
					dpList = oChartInfo.chartSelection.dataPoints;
				}
				return this._getSelParamsFromDPList(dpList);
			},

Looking forward your contributions gurus,

whether am I doing something wrong in annotations or there is something wrong in the code..

Best Regards,

Merve

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Same , if any solution kindly let me know

krantikartan
Discoverer
0 Kudos

Same , if any solution kindly let me know

vish89
Explorer
0 Kudos

Hi Merve or Silvia,

I am also facing same issue, can you let us know. how it is resolved.

Regards,

Vishnu

vish89
Explorer

Hi All,

This issue resolved for me when I add '@DefaultAggregation: #SUM' at my measures.

Thanks,

Vishnu

JuliusRelacion
Participant
0 Kudos

Thanks bro for the lead defaultAgregationsum:

Sharing also the detail.

https://answers.sap.com/answers/13953102/view.html

0 Kudos

Hi Merve,

did you solve this problem or bypass it? I'm facing the same issue and I'm kind of stuck

Thanks

Silvia