Show TOC

Add Push for Use with SAP Mobile PlatformLocate this document in the navigation structure

In this section you can find information about adding push functionality so that it can be used in SAP Mobile Platform. The activities are available in the SAP Implementation Guide (IMG) in transaction SPRO under Start of the navigation path SAP Customizing Implementation Guide Next navigation step SAP NetWeaver Next navigation step  Notification Channel Next navigation step  Notification Channel Hub End of the navigation path.

  1. Hub: Create the SAP Mobile Platform destination.

    In the IMG navigate to Start of the navigation path Configuration Next navigation step Connection Settings Next navigation step  Manage SMP Destinations End of the navigation path and execute the activity.

    In the destinations transaction select the tree hierarchy node HTTP Connections to External Server and choose Create in order to create a new destination.

    Specify a name for the new destination and make a note of this name, since this name will be used to register the newly created destination in the next step. Make sure that the connection type has been set to G.

    Under Technical Settings maintain the target host and (optionally) the service (port) property.

    Note

    Note that the target host property needs to be only the host name of the HCPms server you are trying to push notifications to. There should be no further URL path information. You can find the HCPms push host root from the push URL settings for your HCPms application. For example, a typical HCPms push endpoint URL looks like http[s]://<host>[:port]/restnotification. In that case only the value for the <host> should be set as the target host of the newly created destination.

    Under Logon & Security maintain the user credentials.

    Note
    Note that the user you maintain here will be used to authenticate against HCPms when pushing notifications. This user will also act as the notification sender from HCPms perspective. As a result make sure that:
    • This user is a technical user.

    • This user exists in HCPms.

    • In HCPms this user is assigned to the Notification User role.

    Save your settings. The connection between Notification Channel and the HCPMS instance might require a SSL connection which means you will need to request/create a certificate in the transaction STRUST which once esteablished can be referenced in the SM59 destination.

  2. Hub: Register the created SMP destination with Notification Channel.

    In the IMG navigate to Start of the navigation path Configuration Next navigation step Connection Settings Next navigation step  Register SMP End of the navigation path and execute the activity.

    Set the SMP Destination RFC to the newly created HTTP destination name and save your settings.

  3. Hub: Activate SAP Mobile Platform push channel.

    In the IMG navigate to Start of the navigation path Administration Next navigation step Push Channel Settings Next navigation step  Activate and Maintain Push Channels End of the navigation path and execute the activity.

    Choose New Entries and enter SAP_SMP as Push Channel ID.

    Specify the sequence number, for example 20. This is the sequence in which the push channel will be processed.

    Activate Is Active.