Introduction:
SAP Intelligent Clinical Supply Management is an advanced solution that helps life sciences companies improve and automate the supply process for clinical trial materials and gain increased visibility into the status of supplies worldwide.
SAP Intelligent Clinical Supply Management allows you to manage the planning, sourcing, manufacturing, distribution, and reconciliation of supplies for clinical studies, and addresses specific blinding and randomization needs.
Prerequisites:
- You have set up your global account and subaccount.
- You are assigned the Administrator role for the global account.
- SAP Intelligent Clinical Supply Management is properly entitled to your subaccount.
- Subscribe your subaccount to the service SAP Intelligent Clinical Supply Management. Select the appropriate plan:
- The ICSM standard plan is for a production instance.
- The ICSM preprod plan is for preproduction/staging, such as for dry-running the system.
- Need to install SAP ICSM Add-on in the backend S/4 HANA system
- Install the Cloud Connector : To connect your application to an on-premise system, you need to have installed and configured the Cloud Connector.
Create an Instance of the Integration Broker:
Through an oauth2 authorized channel, the integration service broker facilitates communication between external systems and the SAP Intelligent Clinical Supply Management planning APIs.
SAP ICSM offer six separate subscription plans that can be used to generate tokens with different authorization scopes:
Plan |
Purpose and Scope |
Standard |
Any kind of integration (has all authorizations for all SAP Intelligent Clinical Supply Management planning APIs) |
irt-actuals-api |
Actuals (IRT) integration (has read/write authorization for IRT Master Data and IRT Actual Visits APIs) |
ctms-api |
Integration with CTMS systems (has read/write authorization for CTMS Update APIs) |
study-api |
Read/Create Study (has read/create authorization for Study APIs) |
config-api: |
Integration of configuration data (has read/write authorization for Configuration Data APIs) |
pushtosupply-api |
Use the Push to Supply Planning API |
Create a Service Key:
Now we will Create a Service Key for Each Service Instance and note down the below values that will be use when we will create OAuth 2.0 Client-
- Client ID
- Client secret
- URL of the authorization endpoint
Activate Application-Specific OData Services:
Run transaction Activate and maintain services (/IWFND/MAINT_SERVICE) and add and activate OData services mentioned in the below guide-
Activate Application-Specific OData Services | SAP Help Portal
Set Up Cloud Integration to Enable Synchronization of Study Data:
Now we will setup cloud integration to enable synchronization of study data below are the steps to setup this-
- Create an RFC Destination
- Create Your OAuth 2.0 Client
- Configure Connection Parameters
With this procedure, we enable synchronization with SAP Intelligent Clinical Supply Management for planning to retrieve the latest study data.
1.Create an RFC Destination:
To connect our system to the OData service used to get study data from SAP Intelligent Clinical Supply Management for planning, you have to create an RFC destination that points towards this OData service.
Maintain the RFC with “core-icsm-provider-gxp.cfapps.eu10-004.hana.ondemand.com” as it for sap hard coded to SAP tenant not our tenant.
Check connection and response should be 404 and it is not an error.
2. Create Your OAuth 2.0 Client:
The OAuth 2.0 client is used in combination with the configuration profile /CTCO/OAUTH_CLIENT_PROFILE and an RFC destination to allow access to SAP Intelligent Clinical Supply Management for planning.
Prerequisites:
To create your OAuth. 2.0 Client, you need the following information:
- OAuth Client ID
- Client secret
- URL of the authorization endpoint
Procedure:
- Start transaction OA2C_CONFIG and choose Create.
- Create a new OAuth 2.0 configuration:
- Enter the OAuth 2.0 profile /CTCO/OAUTH_CLIENT_PROFILE.
Enter other values according to your system setup. Choose any meaningful name for the configuration.
3. Configure Connection Parameters:
- In Customizing for SAP Intelligent Clinical Supply Management go to Interfaces Cloud Configure Connection Parameters for Synchronizing Study Master Data.
- Enter the RFC destination name and the OAuth 2.0 configuration name.
Go to SPRO T-Code => Configure Connection Parameters for Synchronizing Study Master Data
Configure cloud connector:
To connect SAP ICSM application to an on-premise system, we need to install and configure the Cloud Connector.
Add ICSM Subaccount in the cloud connector and add backend S/4 HANA system which you want to connect.
Create destination on SAP BTP:
Hard code the destination on BTP for the ICSM solution setup, with basis configuration. It enable the connection to all SAP S/4HANA services accessed by end users and by technical users, respectively.
Add additional properties in the destination-
The configuration is completed and now we will create users in BTP and assign required roles.
Data flow in SAP ICSM:
Bi-directional dataflow as below –
- S/4 HANA System to ICSM Application (On-premise to cloud)
- ICSM Application to S/4 HANA System (Cloud to on-premise)
- S/4 HANA to ICSM: In ICSM we will use O-Data services from the on-premise S4HANA System
- ICSM to S/4 HANA: When we create a study in ICSM we can see it in the table “/CTCO/ST_STATUS” in S4HANA on-premise system.
Study Created In ICSM:
The study types are pushed to S/4 Hana system we can see in table /CTCO/STUDYT:
In this way we can Setup & Configure SAP Intelligent Clinical Supply Management BTP Application.