Accelerating eDHR Validation with SAP Business AI and Human-in-the-Loop Automation
Table of contents:
LeverX designed an AI-powered SAP BTP solution to automate eDHR validation, compare production records with SAP data, and streamline production order closeout.
Overview
A medical device manufacturer needed to streamline the validation of electronic Device History Records (eDHR) against SAP production order data before technical completion.
LeverX designed an AI-powered validation solution on SAP BTP that extracts key information from electronic production records, compares it with SAP production data, and identifies discrepancies requiring human review.
The solution combines document intelligence, automated data validation, and human-in-the-loop controls to simplify production closeout while maintaining traceability, process governance, and SAP Clean Core principles.
Business Impact
|
• Reduced reliance on manual, line-by-line document checks through AI-assisted data extraction and comparison. |
Background
Electronic Device History Records (eDHR) document how medical devices are manufactured and provide evidence that required production, quality, and compliance procedures have been followed.
Before a production order can be technically completed, manufacturing teams need to verify that information in production records matches the corresponding SAP data. This includes order numbers, operations, material lots or batches, accepted quantities, scrap or reject quantities, and relevant dates.
The customer's SAP environment serves as the system of record for production orders and operation information, while supporting evidence is maintained in scanned or electronic production records.
This creates a gap between structured SAP transactions and semi-structured document content, requiring employees to compare information manually.
LeverX designed a side-by-side SAP BTP extension to automate document extraction, validation, exception handling, and audit activities without introducing custom business logic into the ERP core.
Challenges
Manual Document Validation
- Comparing eDHR/DHR information with SAP production order data manually.
- Reviewing multiple production fields across documents and SAP records.
- Reducing reliance on experienced employees for routine validation.
Complex Document Processing
- Handling scanned pages and electronic documents with inconsistent layouts.
- Extracting information from semi-structured production records.
- Identifying incomplete, ambiguous, or low-confidence fields.
Regulatory Compliance and Traceability
- Maintaining transparency throughout the validation process.
- Ensuring that AI-generated results can be reviewed and verified.
- Preserving evidence of validation decisions and approvals.
- Maintaining human accountability for regulated production decisions.
SAP Integration and Production Order Validation
- Retrieving accurate production order and operation information from SAP.
- Comparing extracted document values with corresponding SAP records.
- Establishing reliable validation rules and discrepancy classification.
Controlled TECO Execution
- Defining eligibility criteria for production order technical completion.
- Establishing appropriate authorization and confirmation procedures.
- Providing per-order processing results, error handling, and audit records.
- Keeping final production completion decisions under human control.
SAP Clean Core and Architecture
- Implementing AI and document processing outside the ERP core.
- Using approved SAP integration interfaces.
- Establishing a scalable architecture that supports future SAP updates and enhancements.
Methodology and Approach
LeverX structured the engagement around discovery, technical validation, solution architecture, and user experience design.
Key activities included:
- Process and Requirements Assessment: Identified the required document validation fields, SAP data sources, business rules, and production closeout requirements.
- Document Processing Design: Defined how eDHR/DHR records would be identified, processed, and converted into structured information.
- SAP Integration Architecture: Designed the approach for retrieving production order and operation data through approved SAP integration interfaces.
- AI and Validation Logic: Defined extraction rules, data normalization, field-level comparison, confidence scoring, and exception classification.
- User Experience Design: Designed the validation interface to display extracted values, corresponding SAP data, discrepancies, and TECO readiness.
- Governance and Approval Design: Established human review requirements, validation thresholds, authorization controls, and auditability.
- Technical Validation: Evaluated the end-to-end flow covering document selection, SAP data retrieval, AI extraction, comparison, and exception handling.
- Future Automation Planning: Defined the requirements for controlled bulk TECO execution through approved SAP interfaces.
The architecture followed SAP Clean Core principles, using SAP BTP for side-by-side application logic and orchestration while keeping SAP ERP or SAP S/4HANA responsible for production orders, operation data, and technical completion.
Solution Introduction
LeverX designed an AI-assisted eDHR Validation Assistant to help manufacturing teams verify production documentation before the technical completion of SAP production orders.
The solution processes electronic production records, extracts relevant information, retrieves corresponding production order and operation data from SAP, and compares the two datasets.
Validation results are presented through a centralized interface, highlighting matching values, discrepancies, missing information, and fields requiring additional review.
AI handles document interpretation and preliminary validation, while authorized employees remain responsible for reviewing exceptions and confirming consequential production decisions.
The architecture also accounts for controlled bulk TECO execution as an optional extension, subject to supported SAP interfaces, customer authorization requirements, and established validation rules.
Solution / Key Features
Document Identification
- Linked eDHR/DHR documents to relevant SAP production orders and operations.
- Used available identifiers such as filenames, barcodes, metadata, and user selection.
- Established document-to-order association rules.
AI-Powered Document Extraction
- Extracted key production information from electronic and scanned records.
- Captured order numbers, operations, batch or lot identifiers, quantities, scrap values, and relevant dates.
- Converted extracted information into a structured data format.
- Used confidence indicators to identify unclear or incomplete fields.
SAP Production Data Retrieval
- Defined retrieval of production order and operation information from SAP ERP or SAP S/4HANA.
- Used approved integration interfaces to access the required SAP data.
- Established SAP as the source of truth for production order information.
Field-Level Data Comparison
- Compared extracted document values with corresponding SAP production data.
- Classified results as Match, Mismatch, Missing, or Low Confidence.
- Identified discrepancies requiring additional attention.
- Provided structured validation results for individual production records.
Validation Dashboard
- Designed a centralized interface using SAP Build or SAP Fiori-style components.
- Displayed production orders and associated documents.
- Showed validation statuses and exception reasons.
- Enabled detailed comparison of document and SAP values.
- Highlighted records requiring manual review.
TECO Readiness Assessment
- Defined validation thresholds for identifying production orders ready for technical completion.
- Grouped eligible records under a Ready for TECO status.
- Helped users prioritize exceptions before proceeding with production order completion.
- Preserved human oversight over the TECO decision.
Controlled Bulk TECO Extension
- Designed an optional capability for selecting validated production orders for bulk TECO execution.
- Evaluated integration through supported SAP APIs or customer-approved interfaces.
- Defined confirmation, authorization checks, per-order results, error handling, and audit logging.
- Kept automated execution subject to customer-specific approval and interface availability.
Governed AI and Auditability
- Preserved human review for discrepancies and low-confidence results.
- Established a structured approach to storing validation evidence and decisions.
- Separated AI-assisted extraction from business authorization.
- Created a foundation for future AI-assisted exception handling and workflow automation.
Technologies
The solution architecture incorporates:
- SAP BTP: Side-by-side application architecture and orchestration.
- SAP Business AI / Document Intelligence: AI-assisted extraction and interpretation of electronic production records.
- SAP Cloud Application Programming Model (CAP): Application services and validation business logic, where applicable.
- SAP Build / SAP Fiori: User interface and validation workspace.
- SAP Integration Suite: Enterprise integration and data exchange where required.
- SAP Cloud Connector: Secure connectivity for applicable on-premise SAP environments.
- SAP ERP / SAP S/4HANA: Production orders, operations, and transactional source of truth.
- Released SAP APIs or approved integration interfaces: Production data retrieval and potential controlled TECO execution.
Results
LeverX established the solution architecture and validation approach for AI-assisted eDHR processing and SAP production order verification.
The engagement delivered:
- A defined architecture for AI-assisted electronic production record validation.
- An extraction approach for capturing relevant manufacturing information from scanned and electronic documents.
- A field-level comparison framework for validating document data against SAP production records.
- Defined validation statuses and confidence-based exception handling.
- A centralized validation dashboard design for production and quality users.
- A controlled approach to assessing production order readiness for TECO.
- A human-in-the-loop governance model for regulated manufacturing decisions.
- A reusable SAP BTP architecture aligned with Clean Core principles.
- An implementation roadmap for extending document validation and production order automation.
The resulting solution design provides a foundation for reducing routine manual validation activities while improving transparency, consistency, and accountability across production closeout processes.
Future Development Opportunities
The established architecture can be extended to additional manufacturing documentation and production workflows.
Potential enhancements include:
- OCR and processing of additional document formats and attachments.
- Support for more eDHR templates and production record types.
- Additional validation fields and manufacturing rules.
- Expanded production lines and facility coverage.
- Controlled bulk TECO execution through approved SAP interfaces.
- Advanced audit and validation reporting.
- AI-assisted exception investigation and document summarization.
- Joule and Joule Studio-based guidance for production users.
- Integration with SAP Business Data Cloud for broader production and quality analytics.
Further development can progress from solution validation to a controlled pilot and production rollout, with role-based authorization, operational monitoring, audit controls, and approved automation.
The overall approach preserves a clear division of responsibility: AI assists with document interpretation and validation, deterministic rules govern the process, and authorized employees remain accountable for regulated production decisions.
More Case Studies
Contact Us
What happens next?
-
1
An expert will reach out to you to discuss your specific needs and requirements.
-
2
We'll sign an NDA to ensure any sensitive information is kept secure and confidential.
-
3
We'll work with you to prepare a customized proposal based on the project's scope, timeline, and budget.
years of expertise
projects
professionals
Contact Us