Beginner Corner Discussions
Reach out to instructors, professors, SAP experts or your peers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Source and Service Selection configuration with Template Wizard

540

Hello,

I am doing the lesson Generating the list report – object page app of the course Developing and Extending SAP Fiori Elements Apps. I don't know how to complete the Data Source and Service Selection configuration with Template Wizard in VSCode under Windows 11.

In the video, he says: "For this demo, I have already saved a system that I will use". How should I save the system? In the first week's exercises, I've used Eclipse and had to provide a URL and log in with my trial account to get the project. Should I do something similar in VSCode?

I've googled how to get files from a project opened in Eclipse (under Windows 11). I've found the project location, but there are no files like the ones I see in Eclipse, just some references. So, I assume, this is not how I get the system.

In the exercises Git repository, they say: "We will choose the travel OData V4 service that you created in week 1, unit 5 as part of the OData creation exercise". Unlike the screenshots in the repository, I am not getting "ABAP Environment on SAP Business Technology Platform" as an option for "System". Instead, there is an option called "New":

1.png

When I select this, I can select "ABAP Environment on SAP Business Technology Platform" as a "System Type". Then, I am prompted to provide an "ABAP environment definition source":

2.png

I select "Upload a Service Key File". Unlike the workflow assumed in the repository, I don't get a list of services. And I don't know where to get the service key file from. How is VSCode supposed to know about the services?

Best regards,
Alexander Schädlich

6 REPLIES 6

David_Chaviano
Product and Topic Expert
Product and Topic Expert
497

Thanks for the question @Alexander_Schaedlich .

@Srikanth @Andre_Fischer @alexandrefossati - would any of you be able to comment here?

Alexander, it might help to post in the Technology Q&A as well.

0 Kudos
465

Thanks for the suggestion @David_Chaviano

I have posted the question in Technology Q&A as well.

Best regards,

Alexander Schädlich

Srikanth
Product and Topic Expert
Product and Topic Expert
417

@Alexander_Schaedlich ,

Thanks for the questions, let me share my perspective. 

You need to configure the connection of your back end system like S/4HANA or S/4HANA Cloud to connect to SAP BTP - BAS at Sub Accounts - Destinations as per the below screen shot. You can connect as many systems as you want. 

Srikanth_0-1721394688199.png

After that you may need to install the ADT - Ecplise and use the code that was provided as part of Github repository and then generate a Odata Service/binding then you can able to see the service 

Srikanth_1-1721395430973.png

https://developers.sap.com/tutorials/abap-s4hanacloud-purchasereq-integrate-api.html 

Hope this helps, otherwise please let us know. Thanks

Best Regards,

Sri 

 

318

@Srikanth,

You have pointed me to the right direction. I went through some of the previous exercises and remembered that in the SAP BTP Cockpit under Trial Account Home, I've generated a service key using a booster while doing this exercise: Preparing your ABAP development environment. I needed to provide the service key in VSCode to connect to SAP BTP.

Best regards,

Alexander Schädlich

Srikanth
Product and Topic Expert
Product and Topic Expert
0 Kudos
217

@Alexander_Schaedlich

Glad that it worked for you and you are correct you need to have a service key to connect ADT > SAP BTP - BAS.

Thanks. Let us know if there is anything that we can support. 

Best Regards,

Sri 

0 Kudos
179

@Srikanth,

thanks for helping. Unfortunately, a similar problem occured with a different development environment - SAP Business Application Studio. The same approach doesn't seem to work here. A have made a new post.

Thanks!

Best regards,

Alexander Schädlich