SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

Create Schema for Purchase Order Documents

Create a schema for your purchase order documents to extract information from similar documents using SAP Document AI.

Overview

🎓 intermediate 20 min. Machine LearningIntermediateArtificial IntelligenceCloudSAP Business Technology PlatformSAP Ai ServicesSAP Document AiFree Tier

You will learn

  • βœ”How to create a schema for purchase order documents
  • βœ”How to add standard and custom data fields for the header and line item information of purchase order documents

Prerequisites

Steps

Intro

The core functionality of SAP Document AI is to automatically extract structured information from documents using machine learning. The solution supports extraction from the following standard document types out of the box: invoices, payment advices, and purchase orders. You can customize the information extracted from these document types by creating a schema and adding the specific information that you have in your documents. Additionally, you can add completely new document types.

If you are new to the SAP Document AI basic UI, first try out the tutorial: Use Machine Learning to Extract Information from Documents with SAP Document AI Basic UI.


Step 1 Access schema configuration
β€”

  1. Open the SAP Document AI basic UI, as described in the tutorial: Use Trial to Subscribe to the SAP Document AI Basic UI or Use Free Tier to Subscribe to SAP Document AI Basic UI.

    • To access the Schema Configuration and Template features, ensure that you use the blocks_of_100 plan to create the service instance for SAP Document AI Trial.

    Access
    Access

    Access
    Access

    • After assigning new role collections, Log Off from the UI application to see all features you’re now entitled to try out.

    Access
    Access

  2. In the left navigation pane, click Schema Configuration.

    Access Schema Configuration
    Access Schema Configuration

Here, you find the SAP schemas. The SAP Document AI basic UI provides preconfigured SAP schemas for the following standard document types:

  • Purchase order
  • Payment advice
  • Invoice

In addition, there’s an SAP schema for custom documents (SAP_OCROnly_schema). You can use SAP schemas unchanged to upload documents.

NOTE: You can’t edit or delete original SAP schemas. Always create a copy and then edit the default fields, as required.

Access Schema Configuration
Access Schema Configuration

CAUTION:

When using the free tier option for SAP Document AI or a trial account, be aware of the technical limits listed in Free Tier Option and Trial Account Technical Constraints.

Step 2 Create schema
+
Step 3 Understand schemas
+
Step 4 Add header fields
+
Step 5 Add line item fields
+
Step 6 Activate schema
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Access schema configuration 2. Create schema 3. Understand schemas 4. Add header fields 5. Add line item fields 6. Activate schema

Learn more →