cancel
Showing results for 
Search instead for 
Did you mean: 

Addressable Collection in SAP WebIDE

joao_sousa2
Active Contributor
0 Kudos

Hello,

I'm using the local IDE, version 1.8.4 and trying to create a new project. I can select the service, but then I can't select the OData Collection.

This happens for every service, I can't see any collection. For the particular service the metadata is:


<app:service xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData" xml:lang="pt" xml:base="http://xxxxx/sap/opu/odata/SAP/ZMD_CLIENTE_SRV/">

<app:workspace>

<atom:title type="text">Data</atom:title>

<app:collection sap:label="Partidas" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:pageable="false" sap:content-version="1" href="Partidas">

<atom:title type="text">Partidas</atom:title>

<sap:member-title>Partida</sap:member-title>

</app:collection>

<app:collection sap:label="Cliente" sap:creatable="false" sap:deletable="false" sap:searchable="true" sap:pageable="false" sap:content-version="1" href="Clientes">

<atom:title type="text">Cliente</atom:title>

<sap:member-title>Cliente</sap:member-title>

<atom:link href="Clientes/OpenSearchDescription.xml" rel="search" type="application/opensearchdescription+xml" title="searchClientes"/>

</app:collection>

</app:workspace>

<atom:link rel="self" href="http://xxxxx/sap/opu/odata/SAP/ZMD_CLIENTE_SRV/"/>

<atom:link rel="latest-version" href="http:/xxxxxx/sap/opu/odata/SAP/ZMD_CLIENTE_SRV/"/>

</app:service>

The sap:addressable doesn't appear but as far I could look up, that's the standard behavior, it only appears if it is false. Is this a known issue with the 1.8.4 local install?

Thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

ArcherZhang
Employee
Employee
0 Kudos

Hi Joao,

I encounter the same issue with you now. At the very beginning, in my gateway builder, the property of 'Addressable' is not ticked. I can't select the OData Collection.

So i ticked 'Addressable', and regenerated the runtime artifacts. now $metadata is same as yours.

Still can not select the OData Collection.

I think you already solve it, right?

Could you please share it with us? thank you.

Regards,

Archer

Private_Member_15166
Active Contributor
0 Kudos

After selecting the service are you getting any error message??

ArcherZhang
Employee
Employee
0 Kudos

no error message, Dhananjay.

If i select other service, created it before for practice and it set as 'Addressable' originally. Yep, this service could select collection in dropdown box.

I searched other tread, seems i need wait for some times, one day? i`m not sure. Then collection will appear in dropdown box.       I plan to verify it tomorrow.

michal_keidar
Active Contributor
0 Kudos

Hi,

First there's a new version of local Web IDE (1.12), I recommend to upgrade your installation.

Second please make sure your collections are both addressable and requires-filter false.

Regards,
Michal.

Private_Member_15166
Active Contributor
0 Kudos

Do the configuration once again and see if it works.

ArcherZhang
Employee
Employee
0 Kudos

. it`s works, if i create a new OData service in SEGW and set that collection as 'Addressable' at beginning.

Maybe this is due to my cloud Web IDE, kinds of cache stored somewhere, i do not know.

regards,

Archer