SAP: Problem connecting BAS to CF for Odata service

498 Views Asked by At

I am trying to connect to my cloud foundry abap environment, where I "created" and deployed an Odata Service based on that course: https://open.sap.com/courses/fiori-ea1/items/4IKfdIpzsrvKOH5sYIIid3

I dont know why, but in my Business application studio (BAS) environment where I configure my access to a SAP System, it does not find my ABAP environment (where I hosted my Odata service):

I previously logged in in the terminal to cloud foundry via: cf login -a "https://url-to-cf-env...", but it still doesnt find it.. https://open.sap.com/courses/fiori-ea1/items/4IKfdIpzsrvKOH5sYIIid3

In the cloud cockpit, I have created two instances in dev space: enter image description here

I also created a service key for eclipse to create the odata service.. The thing that I am wondering about is, I have access to an entity of my odata service in the browser, I get the data returned in xml. But I get 401: unauthorized with Postman... and I am wondering why?

Browser Postman

My request header for the odata airline entity: enter image description here

I'm not sure if I need it, but my cloud destination config is as follows: enter image description here WebIDEUsage: odata_abap,ui5_execute_abap,dev_abap,odata_cloud

0

There are 0 best solutions below