cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE Annotation Path is not available for Overview Page Template

grandad1
Participant
0 Kudos

Hi,

I've been trying to create a Fiori Overview Page app with mixed results.When I follow the video, the Annotation Path is already filled in on the screen, but when I do a dropdown on any Annotation Path there is nothing there. For charts, this is mandatory, though for a simple table Card I managed to get it working by changing the Manifest file and adding the vocabularies website. I'd like to make it easy by having these annotation paths available like in the following blog.

I'm on WebIDE Full-Stack Version: 181122 .

I thought maybe I have to load a newer version of something but I'm not sure what. Eclipse seems to work ok, this just relates to the WebIDE.

I've been following this blog:

https://blogs.sap.com/2016/02/05/how-to-make-your-odata-entities-work-with-the-fiori-overview-page-a...

many thanks

Neil

Accepted Solutions (1)

Accepted Solutions (1)

former_member225463
Participant
0 Kudos

Is there any update for the ticket? Still the issue exists in trial web ide . not able to select any annotation path.

Answers (15)

Answers (15)

SG
Explorer
0 Kudos

Hi ,

I am having the same issue. The defined Annotation is not showing up in the drop down.

Some observation that i did in my project.

I noticed, When defining the Annotations, the entity set that I chose is "ZLXC_ITEM_OPERPROJ_QType"

When i am trying to create a Analytical chart Card . In the drop down for the Entity set, the only option available is "ZLXC_ITEM_OPERPROJ_Q" This does not have the word "Type" in the end.

In the OData Service is see the atom-title and sap:member title are generated differently. Can this be the cause of the confusion in WebIDE ...?

Thanks for your help.

GJASPALADL
Participant
0 Kudos

I am facing the same issue. I created local KPI annotation but still this is not showing up in annotation path dropdown.

former_member103161
Contributor
0 Kudos

Hello,

If the local annotation file for the selected entitySet has a KPI Annotation available (as CDS does not support KPI annotation), the dropdown should show the respective annotations for selection. If it still does not show up, please report the bug.

jvanattenhoven
Participant
0 Kudos

Similar issue. I have added a KPI annotation to Sales Orders. In the wizard to create a new analytics card, you cannot enter or select anything for the KPI annotation path.

grandad1
Participant
0 Kudos

Hi,

I'm not sure, but I think it now depends on the oData service having a KPI definition, whereas maybe it didn't before.

could still do with a bit more advice, but the response says it is sorted out.

regards

Neil

jacobrasmussen
Discoverer
0 Kudos

I have the same issue, could you give us an update?

former_member327199
Participant
0 Kudos

am also having same issue. unable to select annotation path from trial webIDE Full-Stack. Any updates?

grandad1
Participant
0 Kudos

I just received this message from SAP:

SAP

Hello Mr. Neil,

This has been fixed with the latest patch for WebIDE. Request you to check and confirm

Regards,

Prasita

Reply 07.01.2019 08:11:55 CETbut not sure what i have to do, use WEBide 1.60? I have asked.
former_member103161
Contributor
0 Kudos

Hello Neil,

Yes you may also raise an OSS.

Regards,

Prasita

grandad1
Participant
0 Kudos

Hi Prasita,

I have raised an incident - 619624 / 2018 WebIDE Annotation Path is not available for Overview Page Template today.

Best regards

Neil

former_member103161
Contributor
0 Kudos

Hello Neil,

We are working on a fix for this issue and shall keep you posted as soon as the fix is available. You may also report the issue via an incident.

Regards,

Prasita

grandad1
Participant
0 Kudos

Brilliant, thank you.

grandad1
Participant
0 Kudos

Hi Prasita,

do you mean i should raise an OSS by 'an incident'?

regards

Neil

maryana_naboka
Active Participant
0 Kudos

Hi Neil,

do you have a KPI annotation defined?

Regards,

Mariana

grandad1
Participant
0 Kudos

and here is my Project layou purchaseorderprojectstructure.png

grandad1
Participant
0 Kudos

Hi Mariana,

Thank you for getting back to me.

I'm following the Jocelyn Dart video from the course, and managed to add 1 Tile, although I had to manually add the '"annotationPath": "com.sap.vocabularies.UI.v1.LineItem#POtable", line to my Manifest .json file. It didn't immediately appear in the dropdown list like it does in the video. I managed to do that manually and it works, but with the Chart type, after creating more Annotations with a Qualifer of POChart as described in the video, I try to create a second Tile, select Chart, but then there is nothing in any of the Path fields.

Attaching my Project and some slides:

1 Adding Annotations for the Chart:

2. Qualifier of POchart

3 create a second Analytic Card in my Project

4. I cannot click on NEXT, and there is nothing in the Dropdown list for the Path. like in the video

voab21.pngvocab22.pngvocab23.pngvocab24.pngvocab25.png

Maybe I need to add a Resource to my Project Path to make this library available?

Best regards

Neil

grandad1
Participant
0 Kudos
Sorry, I can't attach my Project file.Here is the Manifest.json.


{
	"_version": "1.7.0",
	"start_url": "start.html",
	"sap.app": {
		"id": "PURCHASEORDERSOVP.PURCHASEORDERSOVP",
		"type": "application",
		"i18n": "i18n/i18n.properties",
		"applicationVersion": {
			"version": "1.0.0"
		},
		"title": "{{app_title}}",
		"description": "{{app_description}}",
		"dataSources": {
			"Z_HIGHVAL_PO_ALIAS": {
				"uri": "/sap/opu/odata/sap/ZTEST_REF_OVP_CDS/",
				"type": "OData",
				"settings": {
					"odataVersion": "2.0",
					"localUri": "localService/Z_HIGHVAL_PO_ALIAS/metadata.xml",
					"annotations": [
						"annotation0"
					]
				}
			},
			"annotation0": {
				"type": "ODataAnnotation",
				"uri": "annotations/annotation0.xml",
				"settings": {
					"localUri": "annotations/annotation0.xml"
				}
			}
		},
		"sourceTemplate": {
			"id": "OVP.cardtemplate",
			"version": "0.0.0"
		}
	},
	"sap.ui": {
		"technology": "UI5",
		"icons": {
			"icon": ""
		},
		"deviceTypes": {
			"desktop": true,
			"tablet": true,
			"phone": true
		},
		"supportedThemes": [
			"sap_belize"
		]
	},
	"sap.ui5": {
		"dependencies": {
			"minUI5Version": "${sap.ui5.dist.version}",
			"libs": {
				"sap.ovp": {}
			}
		},
		"models": {
			"i18n": {
				"type": "sap.ui.model.resource.ResourceModel",
				"uri": "i18n/i18n.properties"
			},
			"@i18n": {
				"preload": true,
				"type": "sap.ui.model.resource.ResourceModel",
				"uri": "i18n/i18n.properties"
			},
			"Z_HIGHVAL_PO_ALIAS": {
				"dataSource": "Z_HIGHVAL_PO_ALIAS",
				"settings": {
					"defaultCountMode": "Inline"
				}
			}
		},
		"extends": {
			"extensions": {}
		},
		"contentDensities": {
			"compact": true,
			"cozy": true
		}
	},
	"sap.ovp": {
		"globalFilterModel": "Z_HIGHVAL_PO_ALIAS",
		"globalFilterEntityType": "ZTEST_REF_OVPType",
		"containerLayout": "resizable",
		"enableLiveFilter": true,
		"considerAnalyticalParameters": false,
		"cards": {
			"card00": {
				"model": "Z_HIGHVAL_PO_ALIAS",
				"template": "sap.ovp.cards.table",
				"settings": {
					"title": "{{card00_title}}",
					"entitySet": "ZTEST_REF_OVP",
					"sortBy": "Total_Gross_Amount",
					"sortOrder": "descending",
					"annotationPath": "com.sap.vocabularies.UI.v1.LineItem#POtable", // I HAD to manaually add this line!
					"addODataSelect": false
				}
			}
		}
	}
}
maryana_naboka
Active Participant
0 Kudos

Hi Neil,

Please check the local annotations file in your projects. Double click to open it and then check if it has a LineItem annotation in it.

If you do not have this annotation or you do not have the annotation file at all, I guess you missed some steps in your blog/course. Inthe Blog it refers to the step 6 of the first part and steps 4,5,6 in the second part.

If this is the case, I'll tell you how to add it, it will not take much time.

If you do have the line item annotation but cannot see it in the annotation path of the New ->Card Wizard, please let us know.

Hope this helps,

Mariana

grandad1
Participant
0 Kudos

and here is my Project structure picture purchaseorderprojectstructure.png

grandad1
Participant
0 Kudos

Sorry if I'm confusing you, I have a similar problem both in the openSAP course, and following the Blog I mention.

grandad1
Participant
0 Kudos

vocabularies1.pngvocabularies2.pngvocabularies3.pngvocabularies4.png

	"sap.ovp": {
		"globalFilterModel": "Z_HIGHVAL_PO_ALIAS",
		"globalFilterEntityType": "ZTEST_REF_OVPType",
		"containerLayout": "resizable",
		"enableLiveFilter": true,
		"considerAnalyticalParameters": false,
		"cards": {
			"card00": {
				"model": "Z_HIGHVAL_PO_ALIAS",
				"template": "sap.ovp.cards.table",
				"settings": {
					"title": "{{card00_title}}",
					"entitySet": "ZTEST_REF_OVP",
					"sortBy": "Total_Gross_Amount",
					"sortOrder": "descending",
					"annotationPath": "com.sap.vocabularies.UI.v1.LineItem#POtable",
                	"addODataSelect": false
				}


Hi Mariana,

The course I'm following is actually in the openSAP 'Extending SAP S4HANA Cloud and SAP S4HANA' course, Week 3 Unit 3, Creating a SAP overview page with Jocelyn Dart, this after creating an Annotation File, and 10 minutes 54 seconds in, I can see the first screen in the attached file. In the annotation path field there is a pre-filled value of com.sap.vocabularies.UI.v1.Lineitem.

I had to manually add the annotationPath line to the Manifest.json, then it worked.

similarly, for the second Chart there is no available value for the KPI Annotation path.

I could manually add some code in there, but it looks like I shouldn't have to.

Thank you for any help you can give.

Regards

Neil

maryana_naboka
Active Participant
0 Kudos

Hello Neil,

I'd like to help you with this, so I would need more information: in which step of the blog do you have a problem?

I could not see the annotation path dropdown in the blog you mentioned.

Looking forward to hearing from you.

Mariana

grandad1
Participant
0 Kudos

Hi Mariana,

Are you still able to help with this please?

Thanks a lot, I'm sure you are busy.

regards

Neil