cancel
Showing results for 
Search instead for 
Did you mean: 

non-SAP vocabulary based Gatewayservice, WEB IDE, required SAP Annotations

0 Kudos

Hi Gateway specialists,

I have a question regarding SAP Gateway and annotations. This area is new to me.

I'm working with SAP WEB IDE. In SAP WEB IDE you can setup the so called CLOUD CONNECTOR
to access SAP Backend Systems. SAP WEB IDE provides a wizard / UI5 templates, which also
need some input regarding the used ODATA service.

There are several SAP blogs and posts available, that for example available EntitySets from a choosen
ODATA service only will become available, if the correct SAP ANNOTATION has been clicked in the
choosen ODATA Service. As I remember, it was "Addressable" or "Searchable".

OK.

Then I went over UI5 and the new SMART CONTROLS, which generate UI layouts completely based
on a reference to an SAP Gateway ODATA Service which needs special annotations !

The required annotations could be exposed with an SAP Gateway Service, exposing vocabulary based

annotations. For example out of (in SAP Gateway available) namespace "com.sap.vocabularies.UI.v1".

OK.

But If a use a GW project with type "Vocabulary based", then the typical SAP annotations (as described
required for SAP WEB IDE ODATA tempates) are not exposed in standard.

QUESTION:

How can I use / insert the standard SAP annotations into an Gateway project which is vocabulary based ?

If I Import the available special namespaces into my Gateway project, I can insert new namespaces as source. But the system (Gateway
Project) asks for a file, which must be used which contains the required "SAP Annotation information."

I'm a little bit confused to get Standard SAP annotations (like "updateable", "deletable",...) into my vocabulary based Gateway project.

Thanks in advance

Klaus Wegener

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184867
Active Contributor
0 Kudos

Did you try the other way around?

1. Create Standard Project with default SAP Annotations (i.e updatable, deletable) using SEGW

2. Now create another project in SEGW of type 'Annotation Model for Referenced Service'. This allows you to get the Vocabulary based annotations.

3. In the second project you can import the service created from first project and thus you get all the sap annotation.

Message was edited by: Atanu Mallik