Overview
Explore the SAP Cloud Application Programming Model's capabilities for consuming external services in this comprehensive 38-minute video tutorial. Learn how to create a mashup of local and remote data fetched via service calls, starting with an introduction to the SAP API Business Hub and obtaining an API key. Follow along as the instructor demonstrates exporting EDMX, creating a new CAP project using the Template Wizard, and navigating the project structure. Dive into essential concepts such as cds import, CSN, and package.json configuration. Discover how to set up external service credentials, modify cat-service.cds, and implement server.js and cat-service.js. Gain hands-on experience with mock data, test runs, and various endpoints including OData, REST, and GraphQL. Conclude with insights on Fiori UI integration and Swagger/OpenAPI testing, providing a well-rounded understanding of CAP's external service consumption features.
Syllabus
Introduction
SAP API Business Hub
API Key
Personal Information API
Export EDMX
Create new CAP project
Template Wizard
Project Structure
cds import
CSN
package.json
Update package.json Requires
package.json cds Section
External Service Credentials
cat-service.cds
server.js
cat-service.js
Mock Data
Test Run
OData Endpoints
Fiori UI
REST Endpoint
Swagger/OpenAPI Test
GraphQL Endpoint
Closing
Taught by
SAP Developers