on 04-23-2015 1:57 PM
Hi Experts,
I created my simple service in SEGW and I try use it in the application created in SAP Web IDE.
I'm creating new project from menu File, New, Project from Template. I'm choosing SAP Fiori Master Detail Application giving a name of project.
I have a problem with step 3rd - Data Connection and 4th - Template Customization. I can easily select the system (which previously plugged) and the service, but in the next step I have problem. In step fourth I can't add OData Collection for Master or Detail Section.
In my opinion my system is connected properly, because other (any) services allows me to choose a Odate Collection - including those created by me alone in SEGW.
I'll add that service which allow to choose OData Collection was created using BAPI. Service which are posing the problem was created from DDIC Structure, but I don't know if it's relevant. Furthermore, all services created by me have implemented the methods GET_ENTITYSET and GET_ENTITY.
Can You help me?
Thanks in advance
Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have had similar problem on local WebIDE.
In my Service there are 2 entity sets defined, I can see them in the Data Connection step under the service I created, but when I reach Template Customization stage, I can see only one of them in the Odata Collection dropdown.
I ticked check-box for addressable in SEGW; but my metadata says for one of the entity set as addressable:false.
I am not sure how and what is causing the same.
Thankyou
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try this to make sure that metadata file is returning odata collection properly?
1. export metadata.edmx file from GW system
2. Under data connection > File system> .edmx file
Regards,
JK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcin,
Since you said that other services are working fine I would assume an issue is with your service itself.
Can you please re-generate your project artifacts in SEGW, and make sure that your service is returning metadata.xml - try to call your service directly in your browser, e.g.
http://<destination>:<port>/sap/opu/odata/sap/ZXXX/$metadata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.