SAP Tech Bytes: SAP Cloud Application Programming Model Consume External Services

preview_player
Показать описание
Source Code here:

Often in SAP Cloud Application Programming Model samples and other content, we focus on the ability to model and create OData services. However, CAP also has some amazing functionality to help with the consumption of services from other systems. Or to create a mashup of local data and remote data fetched via a service call. This demo portion of the SAP TechEd 2021 Developer Keynote will focus on exactly those aspects of the SAP Cloud Application Programming Model.

0:00 Introduction
2:05 SAP API Business Hub
3:19 API Key
4:18 Personal Information API
4:54 Export EDMX
5:38 Create new CAP project
6:16 Template Wizard
7:44 Project Structure
8:39 cds import
9:39 CSN
16:03 External Service Credentials
28:23 Mock Data
29:14 Test Run
31:07 OData Endpoints
34:03 Fiori UI
34:40 REST Endpoint
35:21 Swagger/OpenAPI Test
35:50 GraphQL Endpoint
37:26 Closing
Рекомендации по теме
Комментарии
Автор

Great content Thomas, thanks for sharing
Looking foward for next demo on the SOAP webservice consumption in CAP

manupiu
Автор

Awesome Thomas! I really enjoy these detailed deep dive sessions - keep em comming :-)

mikkeljbassen
Автор

Thank you for sharing this tutorial 🙂.
I do however have a question: How do I import the actions found in the imported EDMX's metadata into my own cds service?
edit: I.e.

using { yy as external } from './external/yy.csn';


entity xx as projection on external.xx {
*
} actions {
// Is it here I need to import/use the action and if so, how do I do it?
};

peter
Автор

Great Video Thomas, thanks for sharing! :)

celofiorito
Автор

Hi Thomas! Thank you for the video! I've been following your videos since XSA and your content is awesome!
I know that we can use OData from other destinations, but if the core data of my app comes from S/4 HANA, for example a List Report of MARA and MARC, does it make sense to add the S/4 as remote source, or should I always consume an API?
Because if the Remote Source does not make sense, I will not be able to consume it in a Calculation view

VictorHugo-jmvz
Автор

Excellent video Thomas. The API I am trying to use does not have a EDMX file, only JSON and YAML. Should I follow the same steps you described here or should I change something?

alexalmeida
Автор

Great Tutorial Thomas. Very good how you explained every single step in detail. The only thing i'm missing is to see how your app as a result is deployed do btp instead of running it locally. This is also the place where i'am acutually struggling. Kind regards Matthias

SuperDjht
Автор

Is there a way to do a join between the local entity and the remote entity, using the CQL . The idea is, with such a join query the mashed/combined data is exposed as projection and then as a service, we could utilise all the operations in that joined entity like count, filter, sort.
Else in the current approach we have to write custom logic by intersepting the query param in the handler. Example if you like to sort on the middle name with the mashed up data.

arunavadeb
Автор

Hi Thomas,
Is it possible to consume RAP odata service in CAP model as an external service?

namasivayam_mani
Автор

Great Tutorial!
Is there another option for the data structure beside the <edmx> file?

elisolna
Автор

Great video Thomas. Can you also explain how can we use on premises odata service here using destination ? Please also share config part .

alokpradhan
Автор

Thanks for the tutorial . How can I import the .edmx file from my local machine to my BAS project ?

ArijitBhattacharya-glgo
Автор

Thanks for the video.I have tried this by calling a odata service from ecc abap system.Can you please help me how to configure the ecc url for development environment.

thajunnizama