SAP Business ByDesign

SAP Business ByDesign is a cloud-based on-demand business management solution designed for small or midsize businesses. SAP Business byDesign is a full-featured cloud ERP software solution that allows customers to enjoy the power of large-scale business applications without the need for IT infrastructure.

SAP Business ByDesign can also by used by subsidiaries of larger companies to take advantage of head office resources, while keeping their flexibility. In this case an integration with on-premise solutions is almost always necessary.

SAP Business ByDesign offers an API Solution Manager that can be used to collect errors happening in the ByD system.

SAP Business ByDesign can be integrated with on-premise solutions as well. This integration can be done via SAP Process Integration or via SAP HANA Cloud Integration. Both of these integration solutions can be monitored by SAP Solution Manager as well. To monitor the integration via SAP PI, use the SAP Process Integration template. To monitor the integration via SAP HANA Cloud Integration,  use the Cloud (SAP HCI) template.

Technical Prerequisites

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

  • Requires at least SAP Solution Manager 7.2 SP03
  • 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

To monitor the hybrid scenario end-to-end you have to monitor the on-premise components of the hybrid scenario as well as the integration solution and the cloud application itself. This leads to different monitoring objects for the different scenario components.

For some monitoring objects you have to configure Exception Management in SAP Solution Manager first, as this collects the exceptions and provides them to Interface and Connection Monitoring. The setup documentation will instruct you accordingly.

For the ByDesign hybrid scenario the following monitoring content is relevant:

Scenario Component Monitoring Object Description Monitoring Template Since SP
Cloud Exceptions in SAP Business ByDesign Exceptions happening in SAP C4C for the hybrid scenario Cloud (SAP Business ByD) 7.2 SP03 
Integration PI messages PI messages routed through the SAP PI system integrating the SAP C4C and the on-premise system. These can be PI messages in the PI system and also the ABAP Proxy in the on premise system. Process Integration (PI) 7.1 SP12
Integration Exceptions in SAP CPI Exceptions in integration flows in SAP Cloud Platform Integration for the SAP C4C hybrid scenario integration Cloud (SAP HCI) 7.1 SP12* 
On-premise Web Services Web Services exposed on the ABAP on-premise system used by the C4C scenario Web Services ABAP (SOAP) or (STAD) 7.1 SP05* 

*) Monitoring content was extended with later support packages (see monitoring template page for details)

Depending on the document type sent from and to the SAP Business ByDesign system more on-premise channels could be relevant, e.g. IDocs. 

Monitoring Template: Cloud (SAP Business ByD)

Metric Name Description MAI Category Since SP
Number of Errors in SAP Business ByDesign (Last 24h) Number of Errors in SAP Business ByDesign in the last 24h.

The exceptions are retrieved via the central Exception Management in Solution Manager.

Exceptions 7.2 SP03
Number of Errors in SAP Business ByDesign (Delta) Number of Errors in SAP Business ByDesign since the last data collection.

The exceptions are retrieved via the central Exception Management in Solution Manager.

Exceptions 7.2 SP03

Configuration

Step 1: Define Cloud Service in SAP Solution Manager

You need the following information to create the cloud service:

SAP ByD User Credentials

The user that will be maintained in the HTTP 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. Navigate to the 'Administrator' view in you SAP C4C UI
  2. Select 'Communication Systems' under Integration
  3. Create a new communication system
    • Host Name: Enter the host of SAP Solution Manager
    • System Access Type: Select 'Internet'
  4. Maintain System Instances
    • Choose '5 - Web Service' as preferred application protocol
  5. Set the communication system to active via 'Actions' → 'Set to Active'
  6. Navigate back to the 'Administrator' view and select Integration → 'Communication Arrangements'
  7. Create a new Communication Arrangement
  8. Scenario: Select 'Query Webservice Message for Monitoring'
  9. Define Business Data: Select the SAP Solution Manager communication system
  10. Define Technical Data:
    • Communication Method: Direct Connection
    • Application Protocol: Web Service
    • Authentication Method: SSL Client Certificate
    • User ID: Click 'Edit Credentials' to either maintain user and password or to download the certificate
  11. Review and Confirm.

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 Business ByDesign' from the drop-down list.
  3. Define Service:
    • Tenant: The SAP Business ByDesign tenant ID
  4. Define 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 ByD cloud service from the list and click 'Configure Cloud Service' 
  2. Configure Endpoints: Click the 'Add' button on the 'HTTP Endpoints' tab.
  3. Enter the following information:
    • Description: A meaningful description
    • User: <User>
    • Password: <Password>
    • If necessary add proxy information to connect to SAP ByD

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 ByDesign Documents

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 ByD 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 'ByDesign Documents in error'.
  3. Select the fields for filtering for your log store. The following filter fields are available:
    • Adapter Type: Adapter type (HTTP, SOAP, RNIF, XI, IDoc ...). Use the input help to select the correct value.
    • Document ID: Business Document UUID
    • Document message ID: Message UI (GUID)
    • Local party ID: Local party internal ID
    • Remote party ID: Remote Party Internal ID
    • Message Direction: The direction of the document flow. Incoming (into ByD) or Outgoing (from ByD)
  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.

Step 3: Configure Interface and Connection Monitoring

The last step is the configuration of Interface and Connection Monitoring. The Interface and Connection Monitoring setup can be accessed via SAP Solution Manager Configuration (SOLMAN_SETUP). 

Configuration for Monitoring Template: Cloud (SAP Business ByD)

To access the Integration Monitoring setup please go to SAP Solution Manager Configuration (SOLMAN_SETUP) → Application Operations → Integration Monitoring → Interface and Connections.

If you didn't perform the infrastructure configuration yet, please follow the Interface and Connection Monitoring Setup.

Navigate to the step 'Define Scope'. You can create a new scenario for the SAP ByD monitoring or use an existing one. Make sure the on premise system for the SAP ByD scenario and the Cloud Service created for SAP ByD is part of the Interface and Connection Monitoring scenario. 

Create the Interface Channel:

  1. Select the scenario and click 'Next'
  2. In step 'Preparation' perform all relevant manual activities and run all automatic activities.
  3. In step 'Configuration' click the 'Add' button.
    • Channel Name: Enter a meaning full name (max. 30 characters)
    • Type: Select 'Cloud'
    • Monitoring Template: Select 'Cloud (SAP Business ByD)'
    • Description: Enter a description for the channel
  4. Click Next.
  5. Source type:
    • If the source system is the on premise system, please select 'Technical System'
    • If the source system is the SAP ByD system please select 'External Service'
  6. Source: Select the on premise system resp. the SAP ByD Cloud Service from the drop-down list
  7. Target Type:
    • If the target system is the on premise system, please select 'Technical System'
    • If the target system is the SAP ByD system please select 'External Service'
  8. Target: Select the on premise system resp. the SAP ByD Cloud Service from the drop-down list
  9. The measuring point is selected automatically
  10. If more than one client are connected for the on premise system please select the correct client for the monitoring
  11. Click Next.
  12. Click Finish.

Maintain the Interface:

  1. Select the interface channel you created
  2. On the 'Interfaces' tab click the 'Add' button.
  3. Provide the following information:
    • Adapter Type: Adapter type (HTTP, SOAP, RNIF ...)
    • Document ID: Business Document UUID
    • Document message ID: Message UI (GUID)
    • Local party ID: Local party internal ID
    • Remote party ID: Remote Party Internal ID
    • Message Direction (expert field): The direction of the message, this is usually set automatically depending if the ByD service is the source or the target system in the interface

Select Metrics:

  1. On the tab 'Metrics' select the metrics you want to monitor
  2. Save your interface channel by clicking on the 'Save' button. 

You can maintain attributes as described in the Interface and Connection Monitoring Setup on the tab 'Attributes'.

Thresholds and the collection schedule are maintained in the next step of the guided procedure. Once you have maintained all your channels, click 'Next' in the main guided procedure to move to the step 'Activation'.

Maintain Thresholds and Schedule:

  1. Select the Alert for the interface channel (the alert is the line with the red flash icon next to it)
    • On alert level you can maintain notification and incident message creation
    • Do not remove the flag for 'Do not Group Individual Occurrences' as this flag ensures that an alert is created for each exception
  2. Select the Metrics
    • You can adjust the thresholds on the tab Thresholds.
    • Do not change the data collector type or data collector name on the tab 'Data Collection' as the monitor will not work anymore if this is changed.
    • Only change the collection interval if you know what you do or if advised to do this by SAP.
  3. Click 'Apply and Activate' → <Choose one option> to activate the monitoring