Push the Notification Configuration for SAP Business Technology Platform Mobile Services using Cloud Foundry Environment.
Update the Outbound Trigger Configuration:
MAIF Outbound Trigger configuration objects SSAMnnnn_WORKORDER_TRIGGER_BTPMS and SSAMnnnn_NOTIFICATION_TRIGGER_BTPMS are defined for SAP Service and Asset Manager to send push notification to SAP Business Technology Platform Mobile Services. Configuration setting is updated to indicate the Cloud Foundry environment is used with SAP Business Technology Platform Mobile Services.
Use tcode /SYCLO/CONFIGPANEL to run the MAIF configuration tool. From ConfigPanel, select Outbound Trigger Configuration, update the outbound trigger configuration using the following settings:
Settings: Update the Outbound Trigger Configuration:
Attribute | Value |
---|
Outbound Trigger Id | SSAMNNNN_WORKORDER_TRIGGER_BTPMS |
CLOUD_FOUNDRY | True |
BTPMS_WITH_SAP_USERID | Depends on Identity Provider setup for SAP Business Technology Platform: Set to ‘True’ - If SAP user ID is used to authenticate in SAP Business Technology Platform. Set to ‘False’ – If separate BTP user ID is used to authenticate in SAP Business Technology Platform. In this case, BTP user ID must be updated in MAIF mobile user record.
|
The same changes apply to the Outbound Trigger SSAMNNNN_NTOFICATION_TRIGGER_BTPMS.
Define RFC destination to connect to SAP Business Technology Platform Mobile Services mobile application push API:
In standard configuration for SAP Service and Asset Manager, RFC destination SSAMNNNN_BTPMS_PUSH_NOTIF is the default destination used for connecting to SAP Business Technology Platform Mobile Services push API service.
Use tcode SM59, define an RFC destination SSAMNNNN_BTPMS_PUSH_NOTIF, using the following settings. RFC destination is not a configuration setting. It must be defined in each SAP system and client manually, such as the Development, Test, and Production system:
Attribute | Value |
---|
RFC Destination | SSAMNNNN_BTPMS_PUSH_NOTIF |
Connection Type | ‘G’ – HTTP Connection to External Server |
Target Host | Use the <host_name> from URL of push API, identified in the previous section ‘SAP Business Technology Platform Mobile Services Push Configuration in Cloud Foundry Environment’ |
Service No | ‘443‘ |
Path Prefix | /<PUSH_SERVICE_IDENTIFIER>/ MOBILESERVICES/PUSH/V1/BACKEND/ APPLICATIONS/<APPLICATION_ID>/ NOTIFICATIONS/USERS <push_service_identifier> is from push API URL identified in previous section SAP Business Technology Platform Mobile Services Push Configuration in Cloud Foundry Environment. <application_id> is the SAP Business Technology Platform Mobile Services application id defined for SAP Service and Asset Manager, such as com.sap.samnnnn.oauth |
HTTP Proxy Options | Define Proxy Host and Proxy Service, if it is relevant. |
Logon Procedure | Use Basic Authentication, provide value user and password to connect to SAP Business Technology Platform. |
SSL | Active |
SSL Certificate | DEFAULT SSL Client (Standard) |
Define MAIF middleware server for SAP Service and Asset Manager:
To send push notification from SAP back-end system to SAP Business Technology Platform Mobile Services with Cloud Foundry, information in addition to RFC destination is required. We use an MAIF middleware server to store the information.
MAIF middleware server is master data for the SAP Service and Asset Manager mobile application. It must be maintained manually in each SAP system and client, such as Development, Test, and Production.
Use tcode /SYCLO/ADMIN to run the MAIF Administration and Monitoring Portal. From menu Administration → Server Management, define a MAIF middleware server using the following settings:
Defining MAIF Middleware Server
Attribute | Value |
---|
Mobile Application | SAP_ASSET_MANAGER_nnnn |
Server Name | BTP_MOBILE_SERVICES |
Middleware Svr SerNo | BTP |
RFC Destination | SSAMnnnn_BTPMS_PUSH_NOTIF Use RFC destination defined in step b) |
Additional Properties |
Property Group | PUSH |
Property Name | X-API-Key |
Property Value | Value of API Key for Service Key alias SAPAssetManagerPushService from previous section SAP Business Technology Platform Mobile Services Push Configuration in Cloud Foundry Environment |
Check MAIF Mobile User with BTP user ID:
If a separate user ID is required to authenticate for SAP Business Technology Platform, the user ID must be updated in MAIF mobile user record. The BTP user id must be included in the push notification sent from the SAP back-end system to SAP Business Technology Platform Mobile Services.
Use tcode /SYCLO/ADMIN to run the MAIF Administration and Monitoring Portal. From menu Administration → User Management, search and find mobile users that can receive push notification in SAP Service and Asset Manager mobile application, in tab Client Registration Info, verify mobile user attribute CPms user ID’ has the correct BTP user ID info. This must be updated automatically when user performs initial sync. If information is missing, update it manually.