In this blog, I would show how you can use the extensibility option provided in solution order to copy data from solution order to the custom references field in follow-up subscriptions.
Other blogs in the same series are:
In this blog, I would show how you can use the extensibility option provided in solution order to copy data from solution order to the custom references field in follow-up subscriptions.
What is solution order?
The solution order management provided by SAP S/4HANA Cloud Public Edition is designed to provide innovative business offerings by combining sales, related services, service contracts, and subscriptions as a solution bundle. This provides flexibility to the customers by enabling them to adapt to new business models and helps in creating a competitive edge to boost their business. This also supports the transformation journey from a pure product business to higher-margin services and subscription business.
Solution order management provides an end-to-end process of sales and fulfilment of the solution bundle. The fulfilment of the solution order is done by various follow-up business transactions and the solution order provides the latest view of their current state. Solution order reference is used for the billing and finance process.
Within SAP S/4HANA Cloud Public Edition, to enable the copy of custom fields in solution orders to the follow-up transactions, we use process extensibility for the follow-up types, in sales order, service order, and service contract. To enable the copy of custom fields to SAP Subscription Billing, we use the BAdI. Solution order provides the BAdI (CRMS4_SOLO_ORC_SB_SUBSC_MODIFY) which is called during the orchestration or simulation of subscription billing items in solution order.
When to use this BAdI
As different applications are integrated into a composite environment, there is a need to pass custom data between applications using APIs, according to your requirements. This BAdI helps to modify fields in follow-up subscriptions according to your needs.
How to achieve Extensibility
While integrating solution order with SAP Subscription Billing, you can implement this BAdI to modify the fields below at the subscription header and item level.
Follow the steps below for integration.
A custom field for subscription header is created as shown below.
Similarly, a custom field is created for a subscription item as shown below.
Once the custom reference field is added, it can be added in the subscriptions from the Custom References view using the create button.
2. Add custom field to the solution order
Follow the steps in the blog: Solution Order Extensibility - Part 1: Process Extensibility
3. BAdI Implementation
The BAdI CRMS4_SOLO_ORC_SB_SUBSC_MODIFY is available in solution order. To create the BAdI implementation follow the steps below:
Note: A default implementation is provided as shown below. You can also add custom logic as per your requirement.
To check the integration from solution order to subscription follow the steps below:
Once the subscription is created, navigate to the corresponding subscription in the subscription billing system. You can see the data from the solution order in the custom references tab as shown below.
Navigate to the subscription item to check if the data is being copied from the solution order to the SAP Subscription Billing item custom references field.
The below screenshot displays if the data is being copied from the solution order to the technical resources and bill split element fields in the SAP Subscription Billing item and header level.
Note: To create a BAdI implementation, you can use the Custom Logic app. When you use the Custom Logic app, the following applies:
Conclusion
In this blog, you have learnt how and when to use a cloud BAdI for extensibility and how data mapping can be done to support extensibility in solution order orchestration.
References
Solution order orchestration
Extensibility in SAP S/4 HANA Cloud
Abap for key users
SAP Subscription Billing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 59 | |
| 52 | |
| 36 | |
| 36 | |
| 27 | |
| 24 | |
| 23 | |
| 22 | |
| 22 | |
| 19 |