on 11-27-2018 5:14 PM
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:
many thanks
Neil
Is there any update for the ticket? Still the issue exists in trial web ide . not able to select any annotation path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am facing the same issue. I created local KPI annotation but still this is not showing up in annotation path dropdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same issue, could you give us an update?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
am also having same issue. unable to select annotation path from trial webIDE Full-Stack. Any updates?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Neil,
Yes you may also raise an OSS.
Regards,
Prasita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neil,
do you have a KPI annotation defined?
Regards,
Mariana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and here is my Project layou purchaseorderprojectstructure.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
}
}
}
}
}
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and here is my Project structure picture purchaseorderprojectstructure.png
Sorry if I'm confusing you, I have a similar problem both in the openSAP course, and following the Blog I mention.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.