Skip to Content

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

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

1.jpg (35.8 kB)
2.jpg (27.5 kB)
3.jpg (23.5 kB)
4.jpg (44.7 kB)
5.jpg (38.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 22, 2017 at 05:48 PM

    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/

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 04 at 05:01 AM

    Hi Ankit,

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

    Thank You,

    Pankaj

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 27 at 07:12 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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 .