Welcome to our beginner's guide about SAP Subscription Billing integration with SAP S/4HANA Cloud! This guide starts from scratch to give you an overview about integration, from general integration concepts to the specific SAP Subscription Billing integration with SAP S/4HANA Cloud.
General Integration Concepts
A typical integration process consists of 3 steps:
- Sender: You need some information from a sender system, e.g., business partners, products, orders, billing data etc.
- Receiver: You need the information in a receiver system.
- Mapping. You need to map the information from sender’s structure before you send to the receiver’s structure, as most of the cases they have a different model or design.
API & Authentication
To get the information from a sender, or to send the information to a receiver, you need APIs, and the information you can get or the activities you can perform with APIs are protected. The common authorization methods are:
- OAuth 2.0. Client ID & Client Secret are needed for a token, and with the token, the information can be accessed through the API.
- Basic Authentication. A user and a password.
- SSL Client Certificate
With the above general concepts, let’s move on to the specific integration between SAP Subscription Billing & SAP S/4HANA Cloud.
SAP Subscription Billing Integration with SAP S/4HANA Cloud - Subscription Management with Sales Billing (57Z)
SAP Subscription Billing Integration with SAP S/4HANA Cloud - Subscription Management with Convergent Invoicing (5IK)
- SAP Subscription Billing. You must have your service instance ready and with the correct scope, so that the APIs are available. The API information and the authorization relevant client ID & client secret are included in it.
- SAP S/4HANA Cloud. You must configure communication arrangement to let S/4HANA Cloud know which system it needs to communicate with and what kind of data is communicated. And prepare the basic authorization for Cloud Integration to call its API for product, SBDR and Billable Item.
- SAP Cloud Integration. SAP Cloud integration as the middleware, needs to send requests to both SAP Subscription Billing & SAP S/4HANA Cloud, so you need to configure both systems’ APIs and authorization:
- SAP Subscription Billing’s API address and its OAuth 2.0 client secret & client id.
- SAP S/4HANA Cloud’s API address and its basic authorization username & password.
- SAP Event Mesh. SAP Event Mesh is another middleware used for event-based communication between SAP Subscription Billing and SAP S/4HANA Cloud. You must create your SAP Event Mesh instance and provide the service key for SAP S/4HANA Cloud to consume the event messages.
- For customer replication, you can choose either integration flow approach or MDI approach.
For complete integration configuration, please refer to:
Setting up Subscription Management with Sales Billing (57Z)
Setting up Subscription Management with Convergent Invoicing (5IK).
Configuration in SAP S/4HANA Cloud
The following communication arrangements needs to be configured:
- SAP_COM_0008 (Business Partner, Customer and Supplier Integration)
- SAP_COM_0009 (Product Integration)
- SAP_COM_0642 (Subscription and Provider Contract Integration)
- SAP_COM_0092 (Enterprise Eventing Integration)
- SAP_COM_0095 (SAP Subscription Billing with SAP S4HANA Cloud Sales Billing Integration) - only for 57Z
- SAP_COM_0165 (Convergent Invoicing Integration) - only for 5IK
It needs 2 Communication Systems to be created for the Communication Arrangements:
- Communication System 1 for those communication arrangements which used SAP Cloud Integration: SAP_COM_0008, SAP_COM_0009, SAP_COM_0095, SAP_COM_0165.
- Communication System 2 for the communication arrangement for solution order integration and UI navigation: SAP_COM_0642.
- No need communication system explicitly created for SAP_COM_0092
Configuration in SAP Subscription Billing
Refer to
Configuration in SAP Subscription Billing - 57Z,
Configuration in SAP Subscription Billing - 5IK.
Configuration in SAP Cloud Integration
The following integration packages are used for the integrations:
For 57Z:
- SAP Subscription Billing Integration with SAP S/4HANA Cloud – Subscription Management with Sales Billing
- SAP Subscription Billing Integration with SAP S/4HANA Cloud - Product
For 5IK:
- SAP Subscription Billing Integration with SAP S/4HANA Cloud - Subscription Management with Convergent Invoicing (5IK)
- SAP Subscription Billing Integration with SAP S/4HANA Cloud - Product
Thank you for reading today’s blog post!
Please like this post if you found it useful, and don’t hesitate to leave us your feedback in the comment section.
In case of questions, feel free to ask them in
our Q&A section using the tag
SAP Subscription Billing.
Stay tuned and take care!
Frey