This application is used by Mahlwerk Store's Sales Persons to place Orders on the Customer's behalf. The salesperson can scan the Machine's Barcode from the template and show the machine details to the customers. The salesperson can also add customers through this application.
Mahlwerk Sales Person application is a cross platform mobile application built using SAP Mobile Development Kit.
This application fetches data using the OData end points form Mahlwerk's Mobile Backend. SAP Mobile Services handles the user Authentication and Identitiy management for this application
MDK 23.4 or higher
-
Navigate to SAP Mobile Services cockpit.
-
In the Basic Info step, provide the required information and click Next.
Field Value ID
com.sap.mdk.salesperson Name
SAP MDK Demo App If you are configuring this app in a trial account, make sure to select License Type as lite.
-
In the XSUAA Settings step, continue with the default settings and click Next to navigate to further steps.
-
In the Assign Features step, choose Mobile Development Kit Application from the dropdown and then click Finish.
If you see a Confirm Finish window, click OK.
Once you have created your application, you see a list of default features have been automatically assigned to the app.
-
Click Mobile Connectivity.
-
Click the Create icon to add a new destination.
-
In Basic Info step, provide the required information and click Next.
Field Value Destination Name
Mahlwerk URL
Your backend OData Service URL generated in previous exercise -
For this tutorial, there is no Custom Headers, Annotations required. Click Next to navigate to further steps.
-
Since the current implementation of the OData service doesn't provide any authentication, keep the default SSO Mechanism in Destination Configuration step as No Authentication, click Next and then click Finish.
-
Go to your SAP Business Application Studio space.
-
Clone git repository and upload this folder to SAP's Business Application Studio's workspace.
-
Right click
Application.app
in2_salesperson_mdk_app
folder and selectMDK:Deploy
. -
Select deploy target as Mobile Services.
MDK editor will deploy the metadata to Mobile Services.
-
If you want to enable source for debugging the deployed bundle, then choose Yes.
You should see Deploy to Mobile Services successfully! message.
SAP Business Application Studio has a feature to display the QR code for onboarding in the Mobile client.
Click the Application.app to open it in MDK Application Editor and then click the Application QR Code icon.
Leave the Onboarding dialog box open for the next step.
-
Download and install: SAP Mobile Services Client on your iOS or Android device (If you are connecting to
AliCloud
accounts then you will need to brand your custom MDK client by allowing custom domains.) -
Follow the steps to on-board the MDK client on Android device or iOS device.
Coffee Machines
Machine Details
New Order > Select a customer
Configuration > Select a color
Configuration > Select the Max Pressure
Order Summary
Order being created
Customers
Customer Details and Address
Customer Machines
Machine Details
User Settings
User Actions
New Customer
Scan a barcode