Business Need
Our client, a semiconductor supplier, works closely with their customers to provide high-quality products. End customer maintains strict quality standards for all incoming materials from our vendors. Sales team & End Customers participate in the approval of the Quality information during the sales cycle inside Salesforce CRM.
Thus, a need to integrate the SAP S/4HANA Public Cloud with Salesforce system, so that quality approval data could flow seamlessly into SAP as Quality Info Records and then to vendors.
Why QIR Matters in This Project
In SAP, a Quality Information Record (QIR) defines whether a vendor is approved to supply materials. In this project, the QIR process is managed in SAP S/4HANA Public Cloud, enabling real-time vendor compliance checks during procurement. It contains details such as vendor status, inspection requirements, and quality system information.
By integrating QIR data from Salesforce into SAP S/4HANA Public Cloud, our client can:
- Automatically check vendor compliance during procurement
- Prevent non-approved vendors from supplying materials
- Gain real-time visibility into vendor quality status
How We Delivered the Integration
Our team implemented a seamless integration using SAP Business Technology Platform (BTP) - SAP Integration Suite, ensuring that Salesforce quality approvals could flow directly into SAP S/4HANA Public Cloud.
The process works as follows:
In Salesforce, the end user (client or sales employee) decides whether the vendor’s product is approved or blocked for procurement
Through a custom integration trigger built inside Salesforce CRM, Quality decision is transferred securely to SAP S/4HANA Public Cloud through Integration Suite (Iflows).
Product details are checked from Integration Suite in SAP to ensure accuracy before any updates are made.
Quality Information Records are then created or updated in SAP S/4HANA Public Cloud using the standard OData V2 APIs provided.
https://api.sap.com/api/API_QUALITYINFORECORD_SRV/resource/First_Article_Inspection_DataA Groovy script organizes the request payload details and maps them to the appropriate SAP APIs.
The integration uses the following APIs:GET Product Master API (SAP)
GET Quality Info API (SAP)
POST Quality Info API (SAP)
PATCH Quality Info API (SAP)
Detailed logs are captured whenever an error occurs in the API response. The error log includes:
Salesforce Payload
Requested Method
Requested Payload
Response Payload
The material master is always updated to show the vendor's latest approval status.
Built-in checks validate data and maintain consistency to prevent errors during the integration process.
Error handling includes a retry mechanism for temporary failures to ensure smooth operation.
Access permissions are checked before updates to maintain compliance and data security.
End users receive real-time feedback on the approval status through integrated dashboards.
Post-integration monitoring and alerting help detect and resolve issues quickly.
Integration Flow

Visual Overview

Http Sender (SF) => Convertor(JSON to XML) => Query Product(Filter By Customer) => Router(Count > 0) => Split by each product => Query Product Plant(Filter By Product)

Split by each plant => Validate XML => Message Mapping => Update Product Details => Query QIR(Check if the product, plant and supplier combination exits or not)

Message Mapping for QIR => Payload body generate => Create or Update QIR => Log store
1. I-flow Structure

2. Monitor Logs for SAP I-Suite

3. Manage Quality Info Records

4. QIR Create/Update Mapping

5. Updating QIR approval type via groovy script
Business Need
With this integration, our client now:
- Automates vendor approval and quality updates in real time
- Reduces manual coordination between teams and systems
- Gains faster, more reliable decision-making through integrated data
This project demonstrates how connecting external systems like Salesforce to SAP S/4HANA Public Cloud using SAP Business Technology Platform (BTP) can streamline workflows, reduce risk, and improve operational efficiency—without complicating day-to-day processes.

