cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate OData Service in Visual Studio Code

philippsathasivam
Participant
0 Kudos
1,632

Hello Friends,

I got stuck with the following problem: Lets say I succesfully created an OData-Service as in the pic below (SEGW):

Then I click on the Gateway Client:

In the following Window i click on execute:

So creation of OData Service was succesfull, right ?

If i click on Response in Browser the Visual Studio Code Editor opens:

So I wanna build a FIORI App with visual studio code. Can s.o please give a detailed explanation of how i can show the data i put into VS Code on the Website. Because when i click on Open with Live Server in the VS Code Editor just the following site opens:

Is the Connection working ? Did i miss smth ? Any Help would be appreciated.

Best regards, Philipp

View Entire Topic
Marian_Zeis
Active Contributor

It seems like you are lacking a lot of knowledge with UI5 Development.

I highly recommend this learning journey from SAP to get started. If they talk with Business Application Studio, you can do the same with VS Code.

https://learning.sap.com/learning-journey/develop-sapui5-applications

philippsathasivam
Participant
0 Kudos

Hi Marian, big thanks for the response. So according to the tutorial i went into the SAP-BAP. Now im trying to start a project from template:

I have to connect it to an OData Service which i already had created in the screenshots above:

But which one is the correct URL of the OData service ?

. When i paste in the HTTPS link it says: The URL you have provided cannot be accessed from SAP Business Application Studio. Please ensure that the URL is accessible externally.

Is something wrong with the OData connection ?

Best Regards, Philipp

Marian_Zeis
Active Contributor
0 Kudos

You need to connect via Cloud Connector your On Premise System.

I would suggest to use VS Code instead of BAS.
The tutorial should work either with BAS or VS Code.