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 Template for Purchase Order Documents

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

Overview

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

You will learn

  • โœ”How to create a template for purchase order documents using your schema
  • โœ”How to associate documents with your template and how to edit them
  • โœ”How to use your template when extracting information from documents

Prerequisites

Steps

Step 1 Create template
โ€”

In Create Schema for Purchase Order Documents, you defined a schema that includes a list of header and line item fields you want to extract from purchase order documents. In this tutorial, you’ll create a template that uses your schema and associate documents with your template. You’ll Edit the extraction results of the associated documents to teach SAP Document AI where certain field values are located on the document to improve the accuracy of the extraction prediction for similar documents.

In the SAP Document AI basic UI, access Template on the left navigation pane and click + to create a new template.

Template
Template

In the dialog, proceed as follows:

  1. Enter a name for your template, purchase_order_template, for example.

  2. Choose Purchase Order as your Document Type.

  3. Select the schema you created in Create Schema for Purchase Order Documents.

  4. Click Create to create your template.

    Template
    Template

  5. After your template is created, a confirmation dialog pops up. Click OK to acknowledge it. It will now navigate you to the detail page of your template.

    Template
    Template

    You now see a list of the associated documents (in our case, No data yet) and a list of the extraction fields that you’ve defined in your schema.

    Template
    Template

    Template
    Template

    In the next steps, you’ll upload a document, get the extraction results, and edit them so that you can associate the document with your template.

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 Upload document and get extraction results
+
Step 3 Edit extraction results
+
Step 4 Add associated documents
+
Step 5 Activate template
+
Step 6 Use template
+

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. Create template 2. Upload document and get extraction results 3. Edit extraction results 4. Add associated documents 5. Activate template 6. Use template

Learn more →