The scenario shows the creation of a new Business Partner in the SAP S/4HANA system.
A new Business Partner is created in the SAP S/4HANA system. For it to be shown in the app, the Business Partner must be located in the U.S. and have role FLCU01 assigned.
On top, the following properties of the business partner should be filled as well:
- FirstName
- LastName
- correspondanceLanguage
- City
- PhoneNumber
- MailAddress
After the creation of the Business Partner, a BusinessPartner.created event is fired that the app receives. As a payload the event contains the Business Partner ID. In a next step, the app calls the appropriate OData service on the SAP S/4HANA Cloud system, to obtain more information on the Business Partner.
Then the app checks if the Business Partner is located in the US and has role FLCU01. If yes, the app creates an entry in the database. This entry contains the additional information on the Business Partner. All of this happens in the background without the user noticing.
At this point, the application’s user interface needs to be manually refreshed to see the new entry in the list. Clicking on the entry allows you to view the details, including technical information and URL of the specific Business Partner in the backend. On the details page, there’s an Edit button, which allows to switch to edit-mode. Fields for which the data retrieved from the backend are read-only. After customer care activities, the user of the app can change the customer status and processing status and these changes are stored in the database. The app automatically stores a draft of changes. After pressing save, the changes are written to the database.
- In the command line window check if the app is running:
cf apps
-
Find the URL for the "geo-customer-ui" app - this is the launch URL for the Geo Relations application.
-
Open the URL in a browser.
-
Choose the tile for Geo Relations app.
-
The list of Customer Relation Processes along with their Customer Status gets displayed.
-
Log in to the SAP S/4HANA Cloud system.
-
Navigate to the Manage Business Partner Master Data transaction.
-
Create a Business Partner with location DE (whichever country was specified in role) and role FLCU01. Provide a Language as well for the customer.
-
Now, go back to the Geo Relations application to see if the new Business Partner has been updated in the UI.
-
Go to the details page for the new Business Partner. Choose Edit.
-
Check out the options that the Geo Relations app offers like changing a status.
-
Play around with the app.



