Integration of SAP Joule AI Copilot with SAP Ariba Sourcing
Share

Integration of SAP Joule AI Copilot with SAP Ariba Sourcing

Follow the below blog from Nageshcaparthy and want to highlight couple of things which this blog didn’t cover and couple of changes were needed in SAP help document which is informed to SAP product team during my interaction.

https://community.sap.com/t5/technology-blog-posts-by-sap/joule-integration-with-sap-ariba-setup-guide/ba-p/14240003

https://help.sap.com/docs/joule/integrating-joule-with-sap/integration-with-sap-ariba

We should consider 2 scenarios

  1. Customers who have already integrated SAP Ariba with SSO.
  2. Those who are 1st time implementing SAP Ariba with SSO and integrating with SAP Joule

Scenario 1:

Since we belong in this category I want to share changes observed during this whole process and my experience through this article.

Activation of Joule and formations were already in place and SAP Successfactor integration completed successfully.

Comparing the steps from the blog and at the same time highlighting the changes

  1. Steps involved during this integration
  1. SAP Ariba SSO with SAP Cloud Identity Services (ICM Process) – completed
  2. OAuth Credentials for CDM API (SAP Ariba Developer Portal) – We needed not only these keys but SCIM API for User and Group Master Data.
  3. Configure Identity Provisioning Service from SAP Ariba Applications to IAS
    1. Create Ariba to IAS User Sync – Source System
    2. Create Ariba to IAS User – Target System
  4. Integrating Joule
  • Have an existing Joule setup, and a formation has been created
  1. Post-integration checks
  • Validate Application List
  • Validate the Attributes
  • Trusted Domains
  • Conditional Authentication
  1. Destination Setup
  • SAP Ariba Sourcing Destinations
    1. SAP Ariba Sourcing Destinations – DT
    2. SAP Ariba Sourcing Destinations – RT
  1. SAP Build Work Zone – Content Provider 
  • Content Provider for SAP Ariba Sourcing Solutions
  • Channel Updates
  1. Configure Identity Provisioning Service from IAS to SAP Build Work Zone
  • Configure the Source System
  • Configure Target Systems
    • SAP Ariba Sourcing – Target
    • Run Sync Job

During my session along with SAP Development team it was clarified that the users sync from IAS to Ariba were not required as it was not required since SAP Ariba was already integrated with IAS for SSO and users in both were already in Sync.

please read the disclaimer from referred blog.

  1. SAP Ariba SSO with SAP Cloud Identity Services

since this configuration is already in place and ensured that joule activation was done using the same IAS tenant which was used earlier for integration with SAP Successfactor and the same should be used for other LOB’s. If other LOBs are configured with different IAS tenants then you may have to migrate them to this IAS tenant it will be really challenging. As highlighted in my earlier blog this requires proper planning for unification of all the SAP LOBs into a single IAS tenant.

We had details discussion with SAP Team about the critical aspect of GUID (SCIM ID) – All along I had an impression that GUID were required for user authentication and conversations and it requires to send this information from IAS to Ariba which was not required as Ariba doesn’t depend on it entirely rather it uses other attributes of the user like email ID and Login name even though Ariba uses S4HANA in the backend it is completely controlled from Application side.

 The question will arise what about S4HANA either cloud or on-premise systems to be integrated with Joule how the GUID will be taken care of. It entirely depends on the way the users from IAS to these LOBs are sync. Once we achieved it part of Task center implementation is that the GUID of uses from IAS were updated into S4HANA on premise (existing setup) using BADI. You can refer to any blog or online information you will find the details.

GAKJ_0-1763206243255.png

As per the blog we changed the url from ondemand.com to cloud.sap with the help of Ariba team since as customer you don’t have an option to change it.

GAKJ_1-1763206243258.png

Since already we had the existing setup of Ariba integration with IAS there are no source and target systems created in IDP.

Thankfully the blog has provided the json files for source system and target system which we used and manually created them for replication of users and groups from Ariba to IAS.

In the blog and in help document it is mentioned that once the above step is completed we should have the necessary bundled applications, Source, target systems in IAS which didn’t happen in our case since we already had the necessary application defined manually for integration of Ariba with IAS. I recommend this to be included in any of the blogs or in the help document so that customer is aware of it.

Sourcing system

GAKJ_2-1763206243268.png

Target system

GAKJ_3-1763206243280.png

  1. OAuth Credentials for SCIM API (SAP Ariba Developer Portal)

Follow the steps mentioned in the blog and the difference is we faced issue with replication of users and groups from Ariba to IAS and after session with Ariba team advised us to create SCIM API in place CDM API created using workzone CDM Content and these details are meant to use in source system of users and groups replication from IAS to Workzone. The details of SCIM API requested through SAP Ariba Development Portal. It is possible to get both API’s by creating the incident as we didn’t find the workzone CDM API in the portal and it is created and sent to us by Ariba team except creation of secret which can be done by the administrator of portal.

GAKJ_4-1763206243288.png

3.1 Create Ariba to IAS User Sync – Source System

Created the source system using the json files provided in the blog and used the SCIM API created earlier in the Development portal.

GAKJ_5-1763206243305.png

GAKJ_6-1763206243309.png

3.2 Create Ariba to IAS User – Target System

GAKJ_7-1763206243320.png

GAKJ_8-1763206243324.png

GAKJ_9-1763206243327.png

The user and password are taken from a system user created in the administrator console with client ID and secret by providing only the necessary auth. to manage users and groups.

GAKJ_10-1763206243334.png

Followed other recommendations provided in the blog to remove some property parameters

GAKJ_11-1763206243346.png

GAKJ_12-1763206243361.png

Replication of users and groups from Ariba to IAS is successful. check the below details from provisioning logs.

GAKJ_13-1763206243364.png

Note: Moment of caution again don’t sync user replication from IAS to Ariba which is not required it may differ in terms of specific cases and would advise to take the help of Ariba team.

  1. Integrating Joule

As we already had the existing setup of joule with formations ready we added the Ariba realm and ended with the issue below. Not providing complete details as they are already covered in the blog.

GAKJ_14-1763206243370.png

GAKJ_15-1763206243379.png

Synchronization was failing as it was unable to identify already created application in IAS. After weeks long investigation by Joule and Ariba product development team they created one more application other than already existing one added the missing client ID inside the attributes of the application, and we were able to add the Ariba tenant successfully into the formation.

Production development still they are trying to figure out the issue and hopefully in subsequent release the process will identify the existing application in IAS which will create the necessary bundle application under the main application.

After successfully adding the Ariba tenant still joule icon was not appearing in the Ariba tenant and further it was resolved by Ariba team after activating feature toggles in Ariba tenant.

  1. Post-integration checks

Follow the validation of attributes, application, Changes in the trusted domain, Conditional authentication at IAS as mentioned in the blog.

  1. Destination Setup

Follow and create destination of Design time and runtime as mentioned in the blog and use the files provided in github.

https://github.com/SAP-samples/btp-onboarding/tree/main/docs/Joule-with-SAP-Ariba/JSON-Files

GAKJ_16-1763206243392.png

  1. SAP Build Work Zone – Content Provider
  • Content Provider for SAP Ariba Sourcing Solutions

Following the steps mentioned in the blog and initial update will fail since still users and groups were not replicated from IAS to Ariba.

  1. Configure Identity Provisioning Service from IAS to SAP Build Work Zone

We had issue with creation of source system in IDP for replication of users and groups ( As per the blog it should create automatically once the IAS tenant is added in to ICM which didn’t create in our case) json files were also missing in the blog. Requested the product development to add them into the same github repository.

Followed the help document to create the source and target systems in IDP.

GAKJ_17-1763206243399.png

GAKJ_18-1763206243403.png

GAKJ_19-1763206243414.png

GAKJ_20-1763206243418.png

GAKJ_21-1763206243422.png

Execution of sync job should be successful once you ensured that property parameters in both source and target systems are properly maintained.

GAKJ_22-1763206243425.png

Now if a refresh is done for SAP Ariba strategic sourcing in Workzone it should be updated successfully.

GAKJ_23-1763206243434.png

verify whether the groups are assigned to the users..

GAKJ_24-1763206243440.png

GAKJ_25-1763206243449.png

I had an interesting discussion with SAP Product team why not Ariba also follows the same way users and groups are replicated from SF to WZ during integration of SAP Successfactor with Joule (where they are directly moved from SF to WZ by passing the IAS where IAS is used only for authentication). In Ariba the users and groups are replicated from Ariba-IAS-WZ. The explanation is that both products are different in the way they interact with BTP. SF is part of BTP whereas Ariba is completely different SAAS product.

GAKJ_26-1763206243462.png

 

  1. Joule Test Scenarios

Follow the use cases from the below link. Test each case end to end understand all the scenarios application like Informational, Transactional, Navigational.

Note that beyond the scenarios what are explained and configured to work in Joule don’t execute in you natural language as you won’t find a proper response.

Each interaction user make with joule and response received will be treated as one token and as I mentioned in my earlier blog “Ariba integration with SAP successfactor “you are entitled for fixed number messages free and after that you will be charged so understanding the scenarios and educating the business users adhering to it is critical as of now. Not sure if SAP increases the number of messages free.

https://help.sap.com/docs/joule/capabilities-guide/joule-in-sap-ariba-solutions

GAKJ_27-1763206243474.png

 

GAKJ_28-1763206243483.png

Conclusion: The Next Generation of Procurement

The integration of SAP Joule AI Copilot with SAP Ariba Sourcing is a significant step toward an AI-driven, friction-less procurement process. This implementation journey, especially for customers with existing SSO configurations, underscores that while official documentation is really useful but it requires changes for both scenarios mentioned.

Key Takeaways and Future Focus

This experience highlights several vital points for organizations embarking on this integration:

  • IAS Unification: The seamless integration of Joule across multiple Line of Business (LOB) applications, like SuccessFactors and Ariba, hinges on the unification of all LOBs to a single SAP Cloud Identity Services (IAS) tenant. This prevents complex migration challenges and ensures a cohesive user experience.

  • User Sync: For customers already integrated via SSO, the blog’s requirement for a separate IAS-to-Ariba user sync can be potentially eliminated or simplified, as Ariba primarily relies on existing attributes like email and login name for authentication, not the GUID/SCIM ID for conversation context, which is the main dependency for other applications like S4HANA, SuccessFactors and SAP concur.

  • Beyond the Standard API: The need to request the SCIM API in addition to the standard OAuth Credentials (CDM API) for user and group replication from Ariba to IAS is a practical detail that requires a proactive approach with the SAP Ariba development team.

  • The Maturing Platform: The initial issues faced with the Joule application identification in IAS and the subsequent need for Ariba team intervention to activate feature toggles demonstrate that the Joule integration architecture, while robust, is still actively maturing. Future releases are expected to streamline the automatic identification and bundling of applications within IAS.

In summary, this integration has successfully delivered the conversational and transactional capabilities of the Joule AI Copilot into the SAP Ariba Sourcing landscape. As SAP continues to invest in generative AI, understanding these practical implementation insights will be crucial for other enterprises to achieve a truly unified, intelligent, and highly efficient procurement experience while maximizing the value of their existing SAP ecosystem.

 

 

  Read More Technology Blog Posts by Members articles 

#abap

By ali