Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Kangkana
Product and Topic Expert
Product and Topic Expert
2,814

Introduction 

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.  

Nilanjana_0-1736413197893.png

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. 

  • Custom references
  • Bill split element
  • Technical resource
  • Contract account
  • Subscription profile
  • Billing profile
  • Notification settings
  • Pause schedule

Follow the steps below for integration.

  1. Add custom field to the subscription billing tenant
  • Log in to the SAP Subscription Billing tenant and create custom fields using the steps mentioned below. 
  • Open the Business Configuration app and select Custom References.  
  • Click the Create button.  

Nilanjana_1-1736413197897.png

A custom field for subscription header is created as shown below. 

Nilanjana_2-1736413197899.png

Similarly, a custom field is created for a subscription item as shown below. 

Nilanjana_3-1736413197902.png

Once the custom reference field is added, it can be added in the subscriptions from the Custom References view using the create button.  

Nilanjana_4-1736413197906.png

  •  Apart from the custom references field (as shown below), you can also modify the following fields at subscription header and item level using custom fields in subscription billing item.
  • Custom References (on header and item level)

Nilanjana_5-1736413197913.png

  • Bill split element (on header and item level)

Nilanjana_6-1736413197915.png

  • Technical resource (on item level)

Nilanjana_7-1736413197919.png

  • Contract account (on item level)

Nilanjana_8-1736413197923.png

  • Subscription profile and billing profile (on header level)

Nilanjana_9-1736413197927.png

  • Notification settings and pause schedule (on header level)Nilanjana_18-1736413595957.png

 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:

  • Log on to the SAP Fiori launchpad with the role SAP_BR_ADMINISTRATOR and launch the Custom Logic App. 
  • Click the Add button to create an implementation of the BAdI by selecting a suitable business context (for example, Service Header or Service Item).  
  • Select the BAdI and enter an implementation description. 

Nilanjana_12-1736413197943.png

 



 

 

 

 

Note: A default implementation is provided as shown below. You can also add custom logic as per your requirement.  

Nilanjana_13-1736413197947.png

   To check the integration from solution order to subscription follow the steps below: 

  • Open the solution order that you have created. 
  • Add the data in the custom field for subscription billing.  
  • Enter the product ID and release the item as shown below. 

Nilanjana_14-1736413197950.png

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. 

Nilanjana_15-1736413197953.png

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. 

Nilanjana_16-1736413197962.png

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. 

Nilanjana_17-1736413197972.png

Note: To create a BAdI implementation, you can use the Custom Logic app. When you use the Custom Logic app, the following applies: 

  • This app provides a special ABAP language version ABAP for Key Users. This makes the implementation of the BAdIs for business experts and implementation consultants easier. 
  • This app ensures that you can use only released interfaces. 

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 

 

  

 

 

 

 

 

 

 

 

 

3 Comments