From 261d23873883be04c2b331c73a63a28d68705bad Mon Sep 17 00:00:00 2001 From: "Dr. David Kunz" Date: Tue, 4 Feb 2020 09:40:53 +0100 Subject: [PATCH 1/3] Update README.md --- packages/bookshop/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/bookshop/README.md b/packages/bookshop/README.md index 529ea192..a8f21441 100644 --- a/packages/bookshop/README.md +++ b/packages/bookshop/README.md @@ -1,8 +1,8 @@ -# Bookshop With Address Data From S/4HANA +# Bookshop With Address Data From SAP S/4HANA -This is an extended bookshop with business-partner address data from S/4HANA. +This is an extended bookshop with business-partner address data from SAP S/4HANA. When the user creates an order and uses the value help of the shipping address, -a synchronous request to S/4HANA is triggered yielding all possible addresses +a synchronous request to SAP S/4HANA is triggered yielding all possible addresses belonging to this business partner. Once an address is selected, its data is replicated into a local database. To keep data in sync, an event handler is registered which listens to all changes of business partners and updates the @@ -19,7 +19,7 @@ cds run --in-memory --with-mocks ## Running With an S/4HANA Backend -To run your app in non-mock mode you need an S/4HANA Cloud system and connect it to your SAP Cloud Platform. You can use the +To run your app in non-mock mode you need an SAP S/4HANA Cloud system and connect it to your SAP Cloud Platform. You can use the [SAP Cloud Platform Extension Factory](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/346864df64f24011b49abee07bbd79af.html) to automate parts of this task. You need to enable synchronous APIs as well as events that are sent whenever business partners are changed. To run the app locally, you need to create a `default-env.json` file in the `bookshop` folder containing the binding information (credentials of Enterprise Messaging as well as the destination to the business-partner service). From d760516e3edad39ee75e45e9f9b475bbe3892679 Mon Sep 17 00:00:00 2001 From: "Dr. David Kunz" Date: Wed, 5 Feb 2020 16:09:29 +0100 Subject: [PATCH 2/3] Update README.md --- packages/bookshop/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/bookshop/README.md b/packages/bookshop/README.md index a8f21441..3d865a8f 100644 --- a/packages/bookshop/README.md +++ b/packages/bookshop/README.md @@ -8,6 +8,10 @@ is replicated into a local database. To keep data in sync, an event handler is registered which listens to all changes of business partners and updates the local database table. +## Prerequisites + +`@sap/cds` > 1.22 + ## Running With Mocks Just execute the following command in the `bookshop` folder. From 009dfc53c5ceda5091643367cc118d6f75b9e7cb Mon Sep 17 00:00:00 2001 From: "Dr. David Kunz" Date: Wed, 5 Feb 2020 16:09:49 +0100 Subject: [PATCH 3/3] Update README.md --- packages/bookshop/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bookshop/README.md b/packages/bookshop/README.md index 3d865a8f..89ae961d 100644 --- a/packages/bookshop/README.md +++ b/packages/bookshop/README.md @@ -10,7 +10,7 @@ local database table. ## Prerequisites -`@sap/cds` > 1.22 +`@sap/cds` >= 1.22 ## Running With Mocks