Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing SmartChart in UI5/OData via OData Annotations in SEGW project

Former Member
0 Kudos

3.jpg4.jpg5.jpgHi Folks,

I am trying to implement Smart-Chart concept in UI5/OData. We have achieved it via creation of CDS view and consuming CDS Entity in SEGW Project.

However while trying to achieve it via OData annotations we are facing some issues and our requirement is very stringent to achieve it using OData vocabularies and annotations. It would be very helpful if someone provides a simple example of the same.

I have attached some snapshots indicating the procedure followed.

Kindly guide me how to proceed.

Thank's

Pankaj

  • SAP Managed Tags:
5 REPLIES 5

former_member185414
Active Contributor
0 Kudos

Not the same use case as of smartcharts but I implemented smarttables - see if it helps - https://blogs.sap.com/2016/01/28/smart-table-backend-and-frontend-example/

  • SAP Managed Tags:

Former Member
0 Kudos

Hi Ankit,

I have already tried this.
But I need a way to implement Smart-Charts.

Thank You,

Pankaj

  • SAP Managed Tags:

0 Kudos

Then, please let's wait for other mentors/fellow SCNers.

  • SAP Managed Tags:

shilpabasavaraj
Participant
0 Kudos

Hi Pankaj,

I had also faced the same issue. Got resolved after implementing the below code in MPC_EXT class of OData.

Hope this helps.

Regards,

Shilpa

  • SAP Managed Tags:

0 Kudos

Dear Shilpa ,

Could you please share the example of smartchart , i got stuck to display the smartchart .

Please help me out , great thanks to you in advance .

  • SAP Managed Tags: