Exercises for Reference, Area: Setup

Objective

After completing this lesson, you will be able to review Setup Exercises (FOR REFERENCE ONLY)

REFERENCE ONLY: Enable Cloud Foundry Mobile Services

REFERENCE ONLY: Enable Cloud Foundry Mobile Services (Optional)

REFERENCE ONLY: Set Up Cloud Foundry Space

REFERENCE ONLY: Setup Cloud Foundry Space (Optional)

REFERENCE ONLY: Download Required Components from the SAP Software Center

REFERENCE ONLY: Download Required Components from the SAP Software Center (Optional)

REFERENCE ONLY: Create the SAP Service and Asset Manager Mobile Application in BTP Mobile Services

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

  1. 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.

    1. Log in to the SAP S/4HANA system with your user credentials.

    2. In the command field, enter /nSE38 and press Enter.

    3. Enter /MERP/CORE_OFFLINE_CONFIG_PROG in the program name field.

    4. Choose Execute.

      Result

      The oDataOffline Configuration Builder for SAP Asset Manager screen displays.
    5. Choose the Get Variants icon.

    6. 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.

    7. Choose Execute.

      Result

      The OData offline configuration file DEST_SAM2005_PPROP_##.ini is generated.
    8. In the Save As dialog window, choose the folder where you want to store the configuration file. For example, choose Desktop.

    9. Choose Save.

  2. 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.

    1. If necessary, log in to SAP Business Technology Platform Mobile Services.

    2. Navigate to Mobile ApplicationsNative/Hybrid.

    3. From the list of applications on the Native/Hybrid screen, choose the application com.sap.sam.iam150_## you created.

    4. 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.
    5. Choose Import.

      Result

      The Open dialog window displays.
    6. In the Open dialog window, navigate to the folder location where you downloaded the configuration file, for example, navigate to the Desktop.

    7. Select the DEST_SAM2005_PPROP_## file.

    8. 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

  1. 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 NameValue

    Apple Device Application URI Scheme

    samclient

    Android Device Application URI Scheme

    samclient

    Mobile Device Application Type

    Mobile Development Kit
    1. Use the breadcrumb to navigate back to the application com.sap.sam.iam150_##.

    2. Choose the Applications Links tab.

    3. In the Device Application URI Scheme section, choose Edit.

      Result

      The Edit Device Application URI Schemes dialog window displays.
    4. Enter the parameters as provided in the table.

    5. Open the Device Application drop-down list and select Mobile Development Kit.

    6. Choose OK.

      Result

      The Confirm Save dialog window displays.
    7. In the Confirm Save dialog window, choose OK to confirm the save.

    8. 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.

      To onboard your device, scan the QR code.

REFERENCE ONLY: (Old version) Create and Customize a Custom Component

Create and Customize a Custom Component: Part 1

Create and Customize a Custom Component: Part 2

Log in to track your progress & complete quizzes