Configuring the Sample Scenario in all Systems

Objective

After completing this lesson, you will be able to configure transactional scenarios in SAP S/4HANA, Cloud Integration, Cloud Connector, and SAP Sales and Service Cloud.

Configuration in SAP S/4HANA

The setup of transactional integration scenarios is similar to the master data scenarios. As transactional scenarios are more process-oriented, they differ based on the process to be implemented. In this unit, the "Sales Quote Follow-Up Document Creation in SAP Business Suite" scenario is set up as a sample for transactional scenarios. The necessary configuration steps are similar to the master data scenarios and must be carried out across all the connected systems.

This time, we start with the configuration in SAP S/4HANA. We need to prepare the system for:

  • Answering the external pricing calls from the cloud solution by activating the relevant web service endpoint.
  • Receiving the sales quote follow-up message from the cloud solution (as IDoc).

The following video demonstrates the steps to be executed in the on-premise system:

Note

The logical system ID of the SAP Sales and Service Cloud system used in the following demonstrations is different from the one in the master data scenarios (0M44FCB versus 0M3LRCJ), because the recordings have been carried out in different environments.

To give you a quick overview and a summary of the video, the following are the steps that need to be carried out:

  1. If not done during the master data scenario setup, run the connectivity report again and make sure that the following two options are selected:

    Sales Quotes:

    • Do you want to use SAP S/4HANA to calculate prices for sales quote items in your cloud solutions?
    • Do you want to create follow-up documents for sales quotes from your cloud solution in SAP S/4HANA?

    You can run the connectivity report again using either of the following options:

    • Transaction RCOD_CONNECTIVITY or
    • Report/program RCOD_CREATE_CONNECTIVITY_SIMPL.
  2. Review the generated connectivity settings:

    Use transaction WE20 (Partner Profiles) to review the settings for your cloud solution under Partner Type LS - Logical System. Make sure that the inbound entry for the message type SALESORDER_CREATEFROMDAT2 exists. If it is missing, you need to execute the connectivity report again.

  3. Enable the web service endpoint for the External Pricing call:

    Open transaction SOAMANAGER and navigate to Simplified Web Service Configuration. Search for COD_SALESORDER_SIMULATE and enable User Name/Password (Basic) authentication.

    This screen also allows you to review the actual web service endpoint under Show Details. This endpoint needs to be addressed by integration flows from SAP Cloud Integration. However, keep in mind that Cloud Connector or a reverse proxy is located between them and the final URL must be adapted correspondingly.

Configuration in Cloud Integration

Additional integration flows are necessary to cover the transactional scenarios. The major difference in comparison to configuring integration flows for the master data scenarios is the opposite direction. This time, SAP Sales and Service Cloud is the sender and SAP S/4HANA is the receiver. That means new credentials for authentication against SAP S/4HANA need to be set up, and as SAP S/4HANA is located in the on-premise network, the Cloud Connector needs to be set up, and integration flows must be configured accordingly.

The integrated system landscape consisting of: SAP Sales and Service Cloud, SAP Cloud Integration, and SAP S/4HANA. SAP S/4HANA is located inside the On-Premise network, connected through the secure tunnel of Cloud Connector to SAP Cloud Integration.

The following video demonstrates how to set up the Cloud Connector and the configuration and deployment of the additional integration flows:

The following listing gives an overview and summarizes the tasks shown in the demonstration:

  1. Cloud Connector Configuration:
    • Assuming the Cloud Connector has not been used before, it gets connected to the right SAP BTP subaccount where Cloud Integration runs.
    • A Cloud To On-Premise system mapping is created to map a virtual host that can be addressed from integration flows to a real existing internal host.
  2. SAP Cloud Integration Configuration:
    • A new Security Material is created that stores credentials for authenticating from Cloud Integration to SAP S/4HANA.
    • The following additional integration flows need to be configured:
      • Create Sales Quote Follow Up Document in SAP Business Suite
      • Request Sales Document Data from SAP Business Suite

When configuring integration flows pointing towards the on-premise system and Cloud Connector shall be used, you have to choose Proxy Type: On-Premise. For this setting, the Procotol-Host-Port field requires a plain http URL without "s".

Entering an https URL is not allowed and not necessary here, as the connection will be established through the secured Cloud Connector tunnel. This is true even if the final connection to the target system requires HTTPS. Mapping settings in the Cloud Connector ensure that the connection is using the appropriate protocol to the final endpoint.

Configure dialog screenshot of an integration flow pointing towards SAP S/4HANA with the field Proxy Type showing the value On-Premise and the protocol http in the Protocol-Host-Port field highlighted.

Configuration in SAP Sales and Service Cloud

The following video demonstrates the steps to carry out in SAP Sales Cloud for setting up the transactional integration scenarios. The steps are similar to the ones carried out for the master data scenarios, however, the selected options refer to the transactional scenarios.

Note

The logical system ID of the SAP Sales and Service Cloud system used in the following demonstrations is different from the one in the master data scenarios (0M44FCB versus 0M3LRCJ), because the recordings have been carried out in different environments.

The following listing is a summary of the steps for a better overview:

  1. Scoping: The following scoping element must be enabled:

    Communication and Information ExchangeIntegration with External Applications and SolutionsIntegration with Sales, Service and Marketing processes

    The following questions within the Sales Quotes group need to be enabled:

    • Do you want to create follow-up documents for sales quotes from your cloud solution to an external solution?
    • Do you use an external application to determine prices, free goods, product availability, and credit status for sales quotes in your cloud solution?
  2. Fine-tuning activities:
    • External Pricing
    • Sales Quotes
    • Code List Mapping
  3. Communication Arrangements:
    • Pricing in Sales Quote Follow Up Scenario in SAP Business Suite
    • Creation of Sales Quote Follow Up Documents in SAP Business Suite

Log in to track your progress & complete quizzes