on 11-13-2017 9:46 AM
Hi Experts,
I have a requirement to extend one of the standard Fiori Applications without creating a new SEGW or UI projects. I have to add a custom field as a new column to the existing Line Item SmartTable .
I have added and made that field/column as default one as well using annotation and it is showing on the SmartTable. Even though I could see the value in the EntitySet payload, this field value is not displaying on my new column. Requesting your valuable suggestions.
Thanks in Advance,
Glady
Hi Glady,
have you checked if the metadata of your service is already up-to-date and contains new line item?
You will find a node in the metadata looks something like below, this node will contains the new field you added.
<Annotations xmlns="http://docsoasis-open.org/odata/ns/edm Target="YourEntity">
<Annotation Term="com.sap.vocabularies.UI.v1.LineItem">
....
</Annotation>
</Annotations>
If the new field is not there, maybe you have to clean the cache. Some useful transactions and reports for clearing caches:
Clear metadata cache
Transaction /IWFND/CACHE_CLEANUP
Transaction /IWBEP/CACHE_CLEANUP
UI2 Cache:
Report /UI2/INVALIDATE_GLOBAL_CACHES
Report /UI2/INVALIDATE_CLIENT_CACHES
Cheers
Cuong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is standard Fiori Application code. We are not touching that part.
As I mentioned, this is a standard application. Both UI and backend are standard. We just want to bring one additional column to the existing SmartTable. Is it possible to do that without redefining the service or the UI code?
Hi Glady,
sorry I can not help further. From your comments, everything looks ok to me too.
What I can think of is trying to make sure you had cleaned all the caches (browser and abap system), this is often the cause of the all headaches.
And maybe you look again in the metadata and UI5 code to see if there is any annotation or property which prevents the rendering of displaying the field data. Or, you have to add any annotation or property to make that field data visible.
I hope you find a solution soon.
Cheers
Cuong
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.