Electronic Invoice: Setting up Integration Suite(S/4Hana Cloud) – Cloud Foundry

Purpose:

  • The purpose of the blog is to explain steps involved to configure the integration content and deploy the artifacts provided in the package within the Integration Suite.
  • We have taken a sample where the Integration Suite tenant communicates with an external system to exchange electronic documents like invoice.

Overview of integration scenario (B2G) use case

  • Accelerate Integrations using pre-built integrations packages available with SAP Business Accelerator Hub
  • Transforming transactional data into predefined exchange formats
  • Transferring electronically to external legal, tax authority systems
  • Enable business users to achieve faster business outcomes

Quick view of Configuring Steps in SAP Integration Suite

  1. Copying Integration Flows
  2. Configuring : Send Invoice
  3. Configuring: Receive Message
  4. Creating a custom role
  5. Sharing Details with Service Provider
  6. Creating Credentials

1. Copying Integration Flow

  • Predefined packages are available inside Integration Suite under Discover menu
  • Search “SAP Document Compliance”
  • Select the package and click on copy
  • Add the package to your Design menu

2. Configure: Send Invoice

  • There are two artifacts available
  • Select “Send Invoice” artifact
  • Click on actions icon, and select Configure
  • Add parameter values to configure the API endpoint with the URLs of the Production and test systems.
  • Select Save and deploy
  • Check the deployment status of the Integration flow

3. Configure: Receive Messages

  • There are two artifacts available within the package content
  • Select “Receive Messages” artifact
  • Click on actions icon, and select Configure
  • Make sure the user role is selected as given in the package “DCPortugal.ReceiveMessage”
  • Select Save and deploy

4. Creating a Custom role

  • From the monitor menu, under Integrations and APIs navigate to User role tile, click on and select add user
  • Enter a user name as ”DCPortugal.ReceiveMessage” give a description and save.
  • The new user role has been created.
  • Assign the custom role to the integration flow
  • Go to User tile in the monitoring menu – > select the user role created – >copy the selected user role in JSON format
  • Create a Service Instance and Service Key from the BTP Cockpit ->Subaccount ->spaces->instances
  • This service key will have the authentication information for the user role

5. Sharing details with the Service Provider

  • Navigate to Integration suite ->Monitor->Integrations and API ->Manage Integration content->all
  • You can see the end points, which can be shared with the username and password to the service provider

6. Creating Credentials

  • Navigate to Integration Suite – >Monitor->Integrations and API ->Manage Security material
  • Create user credentials
  • Provide details of username and password
  • Make sure to follow the user name <VAT_code>_<SystemType>
  • Where the VAT code is the company’s VAT in SAP system
  • System type can be PROD or TEST
  • Deploy and save changes.

Summary

  • This blog explains the steps typically handled by Integration teams who are responsible to configure the Integration Suite and create connections with S4HANA Cloud tenant. The team will be responsible for maintaining the integration content, certificates and credentials within Integration Suite.
  • Steps involved in configuring the Communication systems using the SAP S4HANA Cloud User is not covered / addressed in this blog.