cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Configuring Process Order Api from accelarator hub and consuming it in backend JAVA

het95
Associate
Associate
0 Likes
237

Hello Experts,

I am trying to consume Process Order Api from accelarator hub. I went through the API consumption tab for the respective API and followed all the steps shown for JAVA. 

After following the steps mentioned there.

  1.  I was able to produce my backend JAVA project
  2. I downloaded edmx format file and using it I was able to generate client classes.
  3. I am able to use these classes too. 
  4. Now the last step is to build OData V2 Requests in order to consume api

The problem which I am encountering right now is during building OData V2 Request. It is asking my to create destination. But as far as I know, before creating destination, I need to have a url using which I could create destination.

On the configuration details section of Process Order Api I found this https://{host}:{port}/sap/opu/odata/sap/API_PROCESS_ORDER_2_SRV . I dont know how can I configure the host and port part of the url in order to make it work.

The reason why I wanted to configure host and port part is to build the url and use that url to create destination and access it to consume api.

Note: This is the approach I am currently considering. However, I am unsure whether it will be fully effective. Please feel free to suggest any alternative approaches or improvements if you believe a better solution is available.

I am looking forward to help on this.

Thanks.

Accepted Solutions (0)

Answers (0)