on 2018 Jan 03 11:40 AM
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'
Request clarification before answering.
Hi Rohit,
Ok so you don't access the annotations directly in the OData Service. The annotations are provided by calling the CATALOG_SERVICE
You'll find more info on this here:
Rgds,
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
40 | |
15 | |
10 | |
9 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.