on 02-09-2016 6:06 AM
Hi,
I went through the below link
I created two services.
My second service is in the current (same) system.
I created the external association and also generated the run-time objects.
However, I was not able to register using service maintenance feature.
1) How to register using service maintenance? Is it mandatory?
Because when I click on service maintenance, everything Register and Maintain buttons are graded out.
*************************************************************************************************************************************************************************
When I clicked Call Browser button after activating the main service, I was able to see the dependent service details also in the XML (browser).
2) Can I use $expand in the url to expand the second (dependent) service?
As I am using multiple service and I don't want to use a single service.
I want to link this way instead of creating multiple entity sets in the same service.
Is it possible?
Any suggestions would be helpful
Regards,
Gopa
Regarding you second query, Yes you can use $expand to the dependent service.
Create and External association and give you model reference to include dependent entity.
Regards,
Tarun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarun,
Thanks for the reply.
I did register in the Gateway system by running the transaction in /n/iwfnd/maint_service.
For the second query, can you send me some example? or some link?
Because I am trying to figure out how do I consume the second service itself firstly... I have created the external association. What will be the URL?
For example:
This is the Main service Employee
http://nwfront.xyz.net:2020/sap/opu/odata/sap/ZUI5_EMP_SRV/ZempSet(Empid='1')
The dependent service is Salaryhttp://nwfront.xyz.net:2020/sap/opu/odata/sap/ZUI5_SAL_SRV/ZsalSet
Regards,
Gopa
Hi Gopa,
Check this document if it help.
Including an OData Service - SAP NetWeaver Gateway - SAP Library
Regards,
Tarun
Hi Gopa,
Did you tried registering it in Gateway system ?
You can go to gateway system (same system in case of embedded development), Run transaction /n/iwfnd/maint_service, Click on add service -> Give you system alias to backend -> and you can register the service by searching from the list.
Regards,
Tarun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.