Skip to Content

Required steps for a simple SmartTable control

Hi Specialists,

I'm struggling now a few days with the UI5 SmartTable control and implementation. As a summary

of my last days:

* UI5 online documentation checked

* Mass of SCN entries, Q&A, Blogs checked

* Requirement for special annotations evaluated

What I have already done:

* SAP WEB IDE Project which successfully displays sap.m.table, based on ODATA Service (ODATA Service Name "X")

* Want to move to SmartTable to use also FilterBar ...

What I have done for SmartControl:

* SAP Backend Gateway, Service Builder, New Annotation Project for original Service "X" created

* Redefinition of Annotation model class method to enter the special vocabulary annotations for required "LineItem" for
SmartTable

* Successfull test of extension Project in Gateway Client => Annotations are generated

Situation now:

* In the SAP WEB IDE ODATA Model => which Service do I have to reference? Service "X" ?

* When I check the metadata of Service "X", I see only the SAP annotations, not the Special annotations of my
extension project !?

* How do I Transfer the complete required annotations (sap annotations + special new annotations for smart controls)

to SAP WEB IDE?
=> In this context some SCN entries use a complete "metadata.XML" file. Is this needed?

* In SAP WEB IDE is a Special template "Smart Template" available. Following the wizard the System comes to a point,
where an annotation file or URL is required. How can I determine the annotation URL out of my Backend SAP Gateway
(Extension?) project?

I get now central overview, what steps are needed to display a simple flat SmartTable and what are the required steps.


Thanks

Klaus Wegener

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 22, 2016 at 01:45 PM

    Are you using the required version of netweaver 7.5? The process I have taken to do this involves creating the annotation in eclipse and then activating it in maintain service, which creates a new odata service. Then in Web IDE you point the smart template to this new service and it pulls in the annotation with it. Alternatively you can use the annotation modeler to generate one

    SAP Web IDE Developer Guide

    Regards,

    Jamie

    SAP - Technology RIG

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 16, 2016 at 05:59 AM

    Hi Wegener,

    I have same requirement of using smart filter bar and smart table.

    Can you please let me know how have you done the below steps mentioned by you

    What I have done for SmartControl:

    * SAP Backend Gateway, Service Builder, New Annotation Project for original Service "X" created

    * Redefinition of Annotation model class method to enter the special vocabulary annotations for required "LineItem" for
    SmartTable

    Regards,

    Priya

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.