In today's world, where technology is developing rapidly, digital transformation processes are of great importance to many users. In this article, we will take a closer look at SAP AI Services, which we discussed in my previous blog post, from a technical perspective
Firstly, we will create a custom schema.
We open the Document Information Extraction UI Application.Then, in the left pane, click schema configuration and to create your own schema, click create button. A dialog opens.
In the dialog box, enter a name for your custom schema - for example, delivery_note_schema. Note that the name can't contain any spaces. Next, select Custom as the Document Type and Document as the OCR Engine Type. And, lastly click Create button to create the schema.
Now, the schema that we have created will appear in the list below. You can access the schema by clicking on it.
Add to your header and line items fields.
You must enter a field name and data type for each custom field. The available data types are string, number, date, discount, currency, and country/region. Default extractors aren’t available for custom documents. You can also optionally add a field label (user-friendly name) and a description. They are optional fields.
The field will now appear in your list of header fields, where you can see all the information you've just entered. You can edit or delete the field by clicking on the icons to the right.
We will also create the fields that are specified in the table below.
Field Type
Field Name
Data Type
Setup Type
header field
deliveryNoteNumber
string
auto
purchaseOrderNumber
deliveryDate
date
line item field
materialNumber
quantity
number
unitOfMeasure
Once you've added all your fields, you need to activate the schema so that you can use it to extract information from documents. At the moment the schema has the status DRAFT, which means that it can't be used yet.
To activate the schema, click Activate button.
Access Document from the navigation on the left of the screen, then click + to upload the delivery note document.
On the Select Document screen, choose Custom for the Document Type. Select the Schema you created (delivery_note_schema). Click + button to upload the sample document. Click Step 2.
Click Step 3 and review buttons.
Review your selection. If you want to change anything, you can click Edit button. Click Confirm button.
The document status changes from PENDING to READY
Access the document by clicking on it. Click Extraction Results to see the information extracted from the delivery note and the schema that you created.
In this blog, we discussed how to create a custom schema and perform a step-by-step extraction of document information using SAP AI Services. In particular, we looked in detail at the process of extracting information from delivery note documents.
You can have fun with your work on any document.
SAP Fiori and ABAP Developer
Transformation in Modern Supply Chain: The Strategic Role of SAP MM and Fiori
In the era of digital transformation, moving SAP Materials Management (MM) processes from the complexity of SAP...
JIT Calls & Tour Processing in SAP EWM
In SAP Extended Warehouse Management (EWM), Just-in-time (JIT) calls and tour processing can be integrated to manage the flow of goods within a...
How to Integrate SAP with Amazon S3: Complete Guide
In this article, we will explain how you can integrate Amazon S3 with SAP. But let's start by introducing Amazon S3 and SAP first.What is Amazon...
From Text Retrieval to Knowledge Retrieval: The Multimodal Shift in RAG
Retrieval-Augmented Generation has become one of the most practical ways to connect language models with external knowledge. Yet most...
What Is SAP Business Technology Platform (SAP BTP)?
SAP Business Technology Platform (SAP BTP) is a unified technology platform that combines data and analytics, application development, integration,...
Germany E-Invoicing: Requirements and SAP X-Rechnung
The Wachstumschancengesetz (Growth Opportunities Act), which came into effect on March 22, 2024, introduces a phased mandatory e-invoicing...
Why Every Business Needs a Clear Organizational Chart
An organizational chart is a graphical representation of the internal structure within a company — mapping roles, reporting lines, and departmental...
What is SAP Signavio Process Transformation Manager?
SAP Signavio Process Transformation Manager, New Centralized Process Management Tool!SAP Signavio Process Transformation Manager is the new process...
What is SAP Continuous Integration and Delivery? (2026)
SAP Continuous Integration and Delivery (CI/CD) is an application that lets teams configure and run predefined pipelines that automatically build,...
Your mail has been sent successfully. You will be contacted as soon as possible.
Your message could not be delivered! Please try again later.