S/4 HANA Cloud Edition

S/4 HANA Cloud Edition is SAP's on-demand cloud-based S/4 HANA offering.

Technical Prerequisites

The following technical prerequisites have to be met in order to monitor this scenario:

  • Requires at least SAP Solution Manager 7.2 SP06
  • Install SAP Cloud Connector, which enables Remote Function Call (RFC) between SAP Solution Manager system and SAP S/4 HANA Cloud Edition

SAP Cloud Connector

SAP Cloud Connector enables Remote Function Call (RFC) between SAP Solution Manager system and SAP S/4 HANA Cloud Edition. For more information regarding the installation and setup of SAP Cloud Connector please refer to:

  • Import Cloud Service SSL Certificate into SAP Solution Manager

Import Cloud Service SSL Certificate

In the context of Hybrid Scenarios, data collectors are connecting from Solution Manager to the Cloud Service provider, in order to collect exceptions and/or statistical data. To allow this outgoing connection from Solution Manager, the SSL Certificate of the Cloud Service provider has to be imported in Trust Manager (STRUST).

  1. Open the cloud service URL in a browser
  2. Click 'View' → 'Security Report' or click the padlock next to the URL in the address input field
  3. Click 'View certificates'
  4. Switch to the 'Details' tab and click 'Copy to File...'
  5. Export the certificate in 'Base-64 encoded X.509 (.CER)' format
  6. Log on to SAP Solution Manager and go to transaction STRUST
  7. Import the certificate to 'SSL client SSL Client (Anonymous)'

Available Monitoring Content

For S/4 HANA Cloud Edition the following exceptions are currently covered by public cloud operation with SAP Solution Manager:

  • Business-critical exceptions related to Application Interface Framework (AIF)
  • Business-critical exceptions related to Data Replication Framework (DRF)

If you integrate SAP S/4 HANA Cloud Edition with any system that you are running on-premise or with another SAP public cloud service you also have to consider monitoring the integration solution. This leads to different monitoring objects for the different scenario components. Which monitoring objects are relevant depends on the integration solution, which other solution you integrate and also the type of information send between S/4 HANA Cloud Edition and the integration partner.

The exceptions in S/4 HANA Cloud Edition are collected using Exception Management in SAP Solution Manager. Currently there is no integration with Interface and Connection Monitoring.

# Scenario Component Monitoring Object Description Monitoring Template Since SP
Cloud Exceptions in SAP S/4 HANA Cloud Edition Exceptions for AIF and DRF happening in SAP S/4 HANA Cloud Edition SAP S/4 HANA Cloud (ExMan) 7.2 SP06

Configuration

You need the following information to create the cloud service:

  • User: See information below
  • Password
  • Main URL (e.g. https://<myhost>.s4hana.ondemand.com)

SAP S/4 HANA Cloud Edition User Credentials

The user that will be maintained in the RFC endpoint, must be a user declared in the relevant Communication Arrangement defined in SAP Cloud for Customer for enabling the API used by Solution Manager. To arrange a communications agreement and allow SAP Solution Manager access please proceed as following:

  1. Log as administrator onto the SAP Fiori Launchpad of your S/4 HANA Cloud tenant
  2. Select 'Communication Systems' under Communication Management
  3. Create a new communication system
    • System ID: SAP Solution Manager SID
    • System Name: SAP Solution Manager system name
    • Host Name: Enter any value into the mandatory field Host Name. Please note that since the actual value is not used in this communication scenario, it can be chosen freely.
  4. Choose '+' user under 'User for Inbound Communication' to add a user for inbound communication
  5. Choose 'New User'
  6. Enter the following entries in the 'Create Communication User' screen
    • User Name: Enter a user name
    • Description: Enter a short description
    • Password: Enter a password. Remember this password for later
  7. Choose 'Create'
  8. Choose 'User Name and Password' as authentication method
  9. Select OK and save the communications system.
  10. Return to the Fiori Launchpad and choose 'Communication Arrangements' under 'Communication Management'
  11. Create a new scenario of type 'SAP_COM_0099' (SAP Solution Manager Integration)
  12. On the next screen select the communication system you created before and verify that the user name is provided automatically
  13. Save the communications arrangement

The Cloud Services configuration is now accessible from the SAP Solution Manager Configuration (SOLMAN_SETUP) → Managed Systems Configuration → Tab 'Cloud Services'.

Create Cloud Service:

  1. Select 'Cloud Service Operations' → Create Cloud Service
  2. Select Service Type: 'SAP S/4 HANA Cloud' from the drop-down list.
  3. Define Service:
    • Tenant. The tenant can be any kind of identifier (e.g. the SID of the system or the account ID)
  4. Root URL: Enter the <Main URL> as Root URL.
    • You can also adjust the extended service ID (The ID used as SID in LMDB) here.
  5. Confirmation: Check your input values and click 'Finish'

The second step is to create the end-point for the cloud service.

Create the End-Point:

  1. Select your SAP S/4 HANA Cloud Edition cloud service from the list and click 'Configure Cloud Service' 
  2. Configure Endpoints: Click the 'Add' button on the RFC Endpoints' tab.
  3. Enter the following information:
    • Description: A meaningful description
    • Client: Client you use in the S/4 HANA Cloud Edition system
    • User: Communication user created before
    • Password: <Password>
    • Target host: host name of the S/4 HANA Cloud Edition system
    • Instance No: The instance number of the system
    • If necessary add gateway information to connect to SAP S/4 HANA Cloud Edition

Check RFC destination

Possible error messages during connection check:

  • "UCON RFC Rejected; CALLER_SID:<SID> CALLER_CLIENT:<Client> ..." - please make sure your S/4HANA CE connection is properly maintained in the SAP Cloud Connector and you entered the correct client.
  • "Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication rc:" - please make sure host and instance number are the ones from SAP Cloud Connector

Step 2: Configure Exception Management

After the basic configuration you now have to configure Exception Management, as the exceptions collected via Exception Management and stored in the central exception store are the basis for the Integration Monitoring data collection.

Configuration for Errors from SAP S/4 HANA Cloud

To access the Exception Management setup please go to transaction SOLMAN_SETUP → Application Operations → Exception Management 

  1. In the step 'Define Scope' select the tab 'Cloud Services' and your SAP S/4 HANA Cloud Edition system. If you didn't configure the system before make sure to select 'All Cloud Services' in the view drop-down. Click on 'Configure' or click 'Next' two times. You will enter the step 'Exception Configuration'.
  2. Click 'Add / Configure Log Store'. Select 'SAP S/4 HANA Cloud'.
  3. Select the fields for filtering for your log store. The field OBJECT and SUBOBJECT are always selected by default. The following filter fields are available:
    • OBJECT (mandatory): Choose one of the values from the drop-down box (/AIF/LOG or DRF_OUTBOUND)
    • SUBOBJECT (mandatory, no wildcards): Enter the sub-object of the log
    • EXTNUMBER: External ID of the Log entry
    • MSGID: Message Class (e.g. E (Error))
    • MSGNO: Message Number
    • MSGTXT: Message Text
    • PROGRAM: Program triggering the log entry
    • TCODE: Transaction code triggering the log entry
    • USER: The user who triggered the log entry
  4. Maintain the filter values for the fields in the Filter Definition panel under the log stores table. You can also add, remove or change filter fields and values later on in the area. You can use different operators for your filter value. You can add more than one filter filed combination per log store. To add an additional filter field combination click on the button 'Add Filter' in the 'Configured Log Stores' panel.
  5. Once you are done with the Log Store setup click 'Next' to go to the alert configuration. The alert configuration is done in the 'Interface and Connection Monitoring' described in the next section.