Create the SAP Asset Manager Mobile Application in BTP Mobile Services: Part 1
Create the SAP Asset Manager Mobile Application in BTP Mobile Services: Part 2
Task 1: Generate Offline Configuration File for Mobile App
Steps
Generate the OData offline configuration file for your mobile app SAP_ASSET_MANAGER_2005_IAM150_## for the destination DEST_SAM2005_PPROP_## that you created in SAP Business Technology Platform Mobile Services.
Log in to the SAP S/4HANA system with your user credentials.
In the command field, enter /nSE38 and press Enter.
Enter /MERP/CORE_OFFLINE_CONFIG_PROG in the program name field.
Choose Execute.
Result
The oDataOffline Configuration Builder for SAP Asset Manager screen displays.
Choose the Get Variants icon.
From the variant selection dialog window, double–click on the variant ZIAM150_##. Ensure that the Destination is "DEST_SAM2005_PPROP_##" which matches with the name out-of-box product Destination.
Choose Execute.
Result
The OData offline configuration file DEST_SAM2005_PPROP_##.ini is generated.
In the Save As dialog window, choose the folder where you want to store the configuration file. For example, choose Desktop.
Choose Save.
Use the OData offline configuration file DEST_SAM2005_PPROP_## to complete the mobile offline Access setup for your mobile app SAP_ASSET_MANAGER_2005_IAM150_## in SAP Business Technology Platform Mobile Services.
If necessary, log in to SAP Business Technology Platform Mobile Services.
Navigate to Mobile Applications → Native/Hybrid.
From the list of applications on the Native/Hybrid screen, choose the application com.sap.sam.iam150_## you created.
In the Info tab, under the Assigned Features section, choose Mobile Offline Access.
Result
The Mobile Offline Access screen displays. Here you can see the list of mobile connections/destinations associated with the selected native/hybrid mobile application.
Choose Import.
Result
The Open dialog window displays.
In the Open dialog window, navigate to the folder location where you downloaded the configuration file, for example, navigate to the Desktop.
Select the DEST_SAM2005_PPROP_## file.
Choose Open.
Result
The message
File Uploaded appears.
Note
The State column for the destination DEST_SAM2005_PPROP_##
, now has the value Configured.
Task 2: Generate Onboarding QR Code
Steps
In SAP Business Technology Platform Mobile Services, generate a mobile onboarding QR code for app SAP_ASSET_MANAGER_2005_IAM150_## using the following parameters:
Attribute Name | Value |
---|
Apple Device Application URI Scheme | samclient |
Android Device Application URI Scheme | samclient |
Mobile Device Application Type | Mobile Development Kit |
Use the breadcrumb to navigate back to the application com.sap.sam.iam150_##.
Choose the Applications Links tab.
In the Device Application URI Scheme section, choose Edit.
Result
The Edit Device Application URI Schemes dialog window displays.
Enter the parameters as provided in the table.
Open the Device Application drop-down list and select Mobile Development Kit.
Choose OK.
Result
The Confirm Save dialog window displays.
In the Confirm Save dialog window, choose OK to confirm the save.
Navigate to the APIs tab.
Result
You must now find Apple Launch App Code with URI Scheme and Android Launch App Code with URI Scheme available in the Onboarding area.
You must scan the QR Code to onboard your device in the Task 5 Step 2 Device Onboarding.