Skip to Content
0
Jan 03, 2018 at 11:40 AM

Smarttable Extension for Standard Fiori App

393 Views

I am trying to extend the Manage Customer Line Items App on S4H 1511 implementation.

I have extended the oData and have registered the Extended Service. I have created a Extension Project for the Standard UI application and have deployed it back to my system. I have also registered the Extended App on my Fiori Launchpad.

The Metadata call for my extended service is also working fine.

In the extended App, when I try to run the App, there is a call first to the Metadata, with sap-documentation: heading,quickinfo & sap-value-list: none .

Post this call, there is a call to Metadata, with sap-value-list. The part of URL for the same is as follows -

sap/opu/odata/sap/ZFAR_CUSTOMER_LINE_ITEMS_SRV/$metadata?sap-value-list=ZFAR_CUSTOMER_LINE_ITEMS_SRV.Item/AccountingClerk

Here the Service - ZFAR_CUSTOMER_LINE_ITEMS_SRV, is the extended service. I my call to the Metadata, I can see the Annotations still available for FAR_CUSTOMER_LINE_ITEMS.Item/AccountingClerk, but my question is while extending a Standard Service for a App, with SmartTable, will I also have to create custom Annotations, with my Service.

I have also tried, the call with - sap/opu/odata/sap/ZFAR_CUSTOMER_LINE_ITEMS_SRV/$metadata?sap-value-list=FAR_CUSTOMER_LINE_ITEMS.Item/AccountingClerk, but even that call is not successful.

I have checked various blogs for Manage Customer Line Item Extensions, but none have been useful.

I have also tried to put code in my Z...MPC_EXT->DEFINE method, for auto generating the Annotations for the Custom service, but that leads to other errors like - 'Entity VL_FV_KOART already exists'