https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/Document-Information-Extraction-blog-posts.xml SAP Community - Document Information Extraction 2026-02-20T12:10:27.475193+00:00 python-feedgen Document Information Extraction blog posts in SAP Community https://community.sap.com/t5/technology-blog-posts-by-sap/new-in-sap-mobile-start-v2-4-integrate-and-launch-sap-document-ai-on-mobile/ba-p/14162770 New in SAP Mobile Start V2.4: Integrate and Launch SAP Document AI on Mobile 2025-08-11T08:00:00.115000+02:00 UmairAbbasHayat https://community.sap.com/t5/user/viewprofilepage/user-id/2078707 <P><SPAN>With the SAP Mobile Start 2.4 release, users can leverage SAP Document AI—integrated seamlessly within the Mobile Start app—to transform document handling into a secure, intelligent, and automated experience. They can scan or upload documents directly from SAP Mobile Start, which are then processed by the SAP Document AI service.&nbsp;This streamlines processing, cuts down manual work, and boosts data accuracy throughout your operations.&nbsp;In this blog, I'll walk you through the integration steps, prerequisites, and configuration details needed to bring SAP Document AI capabilities to your mobile users.</SPAN><SPAN>&nbsp;</SPAN></P><H2 id="toc-hId-1735962950"><STRONG><SPAN>Preconditions</SPAN></STRONG><SPAN>&nbsp;</SPAN></H2><P><SPAN>Before you begin, ensure the following prerequisites are fulfilled.</SPAN><SPAN>&nbsp;</SPAN></P><H4 id="toc-hId-1797614883"><STRONG><SPAN>Subscribe to SAP Document AI</SPAN></STRONG></H4><P><SPAN>Ensure that your SAP BTP subaccount is subscribed to the Document Information Extraction service (document-information-extraction-application-ias with embedded_edition instance). </SPAN><SPAN>Once complete, access the SAP Document AI&nbsp;workspace from your BTP subscriptions to configure document types and schemas relevant to your business scenarios. For more information, refer to the </SPAN><A href="https://help.sap.com/docs/document-ai/sap-document-ai/subscribing-to-sap-document-ai-workspace-with-identity-authentication-service" target="_blank" rel="noopener noreferrer"><SPAN>official user guide</SPAN></A><SPAN>.</SPAN><SPAN>&nbsp;</SPAN></P><H4 id="toc-hId-1601101378"><STRONG><SPAN>Enable Identity Authentication for SAP Build Work Zone</SPAN></STRONG></H4><P><SPAN>In SAP Build Work Zone, navigate to Site Manager &gt; Settings, and ensure Identity Authentication is enabled.</SPAN><SPAN>&nbsp;</SPAN></P><P class="lia-align-center" style="text-align: center;"><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Blog1.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/296549iDC36E6186188A593/image-size/medium?v=v2&amp;px=400" role="button" title="Blog1.png" alt="Blog1.png" /></span></SPAN><SPAN>Screenshot: Enabling Identity Authentication in SAP Build Work Zone Settings</SPAN></P><P class="lia-align-left" style="text-align : left;"><SPAN>Note: Valid only for SAP Build Work Zone subscription made before 20 March 2025.</SPAN></P><H4 id="toc-hId-1404587873"><STRONG><SPAN>Configure Trust Relationship for API Access</SPAN></STRONG></H4><P><SPAN>To allow SAP Build Work Zone to consume SAP Document AI APIs, you need to add a dependency in the SAP Cloud Identity Services (IAS) administration console:</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>Go to the Applications tab</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Select the SAP Build Work Zone application</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Under Dependencies, add a new entry with:</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Name: documentai (or any unique name)</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Application: Select the “SAP Document AI” entry in your IAS tenant</SPAN><SPAN>&nbsp;</SPAN></LI></UL><H4 id="toc-hId-1208074368"><STRONG><SPAN>Create Destination for SAP Mobile Start</SPAN></STRONG></H4><P><SPAN>To authorize SAP Mobile Start App to access SAP Document AI, create a destination in your BTP subaccount with the following settings:</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>Name: sapdocumentaimobilestartintegration</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Type: HTTP</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Authentication: NoAuthentication</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Proxy Type: Internet</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>URL: (Use https://&lt;your-tenant-url-endpoint&gt;/document-ai/v1, located in Document AI instance &gt; service key &gt; endpoints &gt; backend &gt; URL)</SPAN><SPAN>&nbsp;</SPAN></LI></UL><P><SPAN>Add the following additional properties:</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>HTML5.DynamicDestination = true</SPAN></LI><LI><SPAN>HTML5.IASDependencyName = documentai (dependency name created in SAP Cloud Identity Services)</SPAN><SPAN>&nbsp;</SPAN></LI></UL><P><SPAN>Once completed, both </SPAN><STRONG><SPAN>SAP Build Work Zone</SPAN></STRONG><SPAN> and </SPAN><STRONG><SPAN>SAP Mobile Start</SPAN></STRONG><SPAN> are authorized to access SAP Document AI.</SPAN><SPAN>&nbsp;You can control user access in SAP Document AI using default authorization policies via Identity Authentication service. (<A class="" href="https://help.sap.com/docs/document-ai/sap-document-ai/authorization-policies-12a6d1ce948e4505af0a4db1181102c5" target="_new" rel="noopener noreferrer">Learn more</A>)</SPAN></P><H4 id="toc-hId-1011560863"><STRONG><SPAN>Configuring tile for SAP Document AI access in mobile</SPAN></STRONG><SPAN>&nbsp;</SPAN></H4><P><SPAN>To make SAP Document AI accessible via SAP Mobile Start:</SPAN><SPAN>&nbsp;</SPAN></P><H5 id="toc-hId-944130077"><STRONG><SPAN>Step 1: Create a New App in Site Manager&nbsp;</SPAN></STRONG><SPAN>&nbsp;</SPAN></H5><P><SPAN>In SAP Build Work Zone, navigate to Site Manager &gt; Content Manager and create a new App.</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>URL: <A target="_blank" rel="noopener">https://&lt;your-tenant-url&gt;/launchpad?sap-ushell-config=headerless#InboundDocument-manageInDocumentAI<BR /></A></SPAN><SPAN class=""><span class="lia-unicode-emoji" title=":information:">ℹ️</span>&nbsp;</SPAN><SPAN>Use sap-ushell-config=headerless to hide the launchpad header</SPAN></LI></UL><H5 id="toc-hId-747616572"><STRONG><SPAN>Step 2: Configure Navigation Parameters</SPAN></STRONG><SPAN>&nbsp;</SPAN></H5><P><SPAN>In the Navigation tab, add the following parameters:</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>name: Schema name - Optional (from SAP Document AI workspace &gt; Schemas tab)</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>latest: true, this signifies that only the latest version of the schema is used</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>client_ID: Client ID (from SAP Document AI&nbsp;workspace &gt; Settings), preset to ‘default’</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>instance_ID: Instance ID (from SAP Document AI&nbsp;workspace &gt; Settings or BTP account &gt; Instances &gt; Select SAP Document AI instance)</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>showWorkspaceHeader: true</SPAN><SPAN>&nbsp;</SPAN></LI></UL><H5 id="toc-hId-551103067"><STRONG><SPAN>Step 3: Configure Visualization</SPAN></STRONG><SPAN>&nbsp;</SPAN></H5><P><SPAN>You can set your own preferred title, subtitle, icon.</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>Visualisation Type: Static Tile</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Add the following name-value parameters:&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>mobilestart.type: documentAi</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>mobilestart.documentAi.clientId: (as specified in Navigation Tab parameters)</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>mobilestart.documentAi.instanceId: (as specified in Navigation Tab parameters)</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>mobilestart.documentAi.documentSchemaId: Optional - needed if only a specific schema scenario should be enabled, otherwise all active schemas will be shown to the end user. You can find Schema ID in SAP Document AI&nbsp;workspace &gt; Schemas tab</SPAN><SPAN>&nbsp;</SPAN></LI></UL><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Blog2.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/296547i57DD8C3B593EF7EE/image-size/medium?v=v2&amp;px=400" role="button" title="Blog2.png" alt="Blog2.png" /></span><SPAN>Screenshot: </SPAN><SPAN>SAP Document AI Tile Visualization in SAP Build Work Zone</SPAN></P><P><SPAN>You’ve now created a fully functional SAP Document AI tile for SAP Mobile Start!</SPAN> <SPAN><span class="lia-unicode-emoji" title=":rocket:">🚀</span></SPAN><SPAN>&nbsp;</SPAN></P><H2 id="toc-hId--32658595"><STRONG><SPAN>User Experience in SAP Mobile Start</SPAN></STRONG><SPAN>&nbsp;</SPAN></H2><P><SPAN>As a business user, you can locate the newly created SAP Document AI tile in the SAP Mobile Start app using the Search function. For easier access, you can also add the tile to your Favorites. When you tap the tile, you’ll be directed to a native document selection screen. Depending on how the service was configured by the administrator, you may have the option to select a document type and schema. If the tile is configured for a specific schema use case, it will be automatically selected.</SPAN><SPAN>&nbsp;</SPAN></P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="T2.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/291761iFADF888D246EEE52/image-size/large?v=v2&amp;px=999" role="button" title="T2.png" alt="T2.png" /></span><SPAN class=""><SPAN class="">Screenshot: SAP Document AI tile in SAP Mobile Start App</SPAN></SPAN><SPAN class="">&nbsp;</SPAN></P><H4 id="toc-hId--468723757"><STRONG>Upload Options</STRONG><SPAN>&nbsp;</SPAN></H4><OL><LI><SPAN>Scan via Camera – Leverages the device’s native camera with real-time preview, cropping, rotation, and filtering. Multiple scans are compiled into a single PDF.</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Select Images from Gallery – Users choose previously captured images which are compiled into a single PDF.</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Select File from File Explorer – Users upload a single PDF from their device’s file system.</SPAN><SPAN>&nbsp;</SPAN></LI></OL><P class="lia-align-center" style="text-align: center;"><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="T1Q.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/297917i023A8F6F1911A4E7/image-size/large?v=v2&amp;px=999" role="button" title="T1Q.png" alt="T1Q.png" /></span></SPAN><SPAN>&nbsp;</SPAN><SPAN class=""><SPAN class="">Screenshot: Scanning a document via device’s native camera&nbsp;</SPAN></SPAN><SPAN class="">&nbsp;</SPAN></P><H4 id="toc-hId--665237262"><STRONG><SPAN>Upload Validation &amp; Handling</SPAN></STRONG><SPAN>&nbsp;</SPAN></H4><P><SPAN>Before uploading a document, the app performs several validation checks to ensure compatibility. The file size must not exceed 50 MB, and the document should contain no more than 100 pages. Additionally, file names are automatically sanitized to remove any invalid characters. Once these checks are successfully passed, the upload process begins, with a visible progress bar indicating status. Android users can upload multiple documents synchronously.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>After the upload is complete, the document extraction workflow is triggered, and users receive a success notification confirming the process.</SPAN><SPAN>&nbsp;</SPAN></P><H4 id="toc-hId--861750767"><STRONG><SPAN>Track Status and Review Document</SPAN></STRONG><SPAN>&nbsp;</SPAN></H4><P class="lia-align-left" style="text-align : left;"><SPAN>To monitor the progress of document extraction, simply open the Document Overview from the overflow menu within the document selection screen. This action launches the mobile-optimized SAP Document AI UI, providing a clear and intuitive view of the status, allowing reviews and other updates related to your uploaded documents.</SPAN><SPAN>&nbsp;</SPAN></P><P class="lia-align-center" style="text-align: center;"><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="T3F.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/297916iE46168103ABCA363/image-size/large?v=v2&amp;px=999" role="button" title="T3F.png" alt="T3F.png" /></span></SPAN><SPAN>Screenshot: Track status and review document via mobile optimized UI</SPAN><SPAN>&nbsp;</SPAN></P><H2 id="toc-hId--471458258"><STRONG><SPAN>Conclusion</SPAN></STRONG><SPAN>&nbsp;</SPAN></H2><P><SPAN>With the release of SAP Mobile Start 2.4 and the seamless integration of SAP Document AI, business users now benefit from a truly mobile-first, intelligent document processing experience. Whether it's capturing receipts on the go, processing invoices, or extracting data from complex forms, SAP Document AI empowers users to automate workflows efficiently—right from their mobile devices. This integration brings the power of AI-driven document handling directly to your fingertips, enabling smarter, faster, and more scalable business operations.</SPAN><SPAN>&nbsp;</SPAN></P> 2025-08-11T08:00:00.115000+02:00 https://community.sap.com/t5/technology-blog-posts-by-sap/instantly-improve-document-information-extraction/ba-p/14028842 Instantly improve document information extraction 2025-08-28T09:51:15.172000+02:00 VarunTak https://community.sap.com/t5/user/viewprofilepage/user-id/1928734 <P><STRONG>Introduction</STRONG></P><P>If you are new to SAP Document AI service, it is a product offering by SAP to provide information extraction from business documents. This primarily helps your business save time by automating and streamlining processes that require information extraction from documents, such as invoices, payment advices, purchase orders, and bills of lading. It limits manual steps, therefore saving time, energy, manpower, and money, which you can invest in growing your business's critical functions.</P><P><STRONG>Instant Learning and Models</STRONG></P><P>As of this writing, and provided you are using Instant Learning, the SAP Document AI uses a multi-model approach to deliver the best possible extraction results. &nbsp;It has mainly three model categories: Pre-trained, LLM, and Rules (Template). Each category may have further different models.</P><P>Based on our experiments, it was evident that no single model is capable of achieving higher accuracies than combining them for extraction. This is backed by our evaluation pipeline, which constantly monitors the accuracy of the individual and the combination approach.</P><P>We took the facts from the above experiments and designed Document AI naturally using multi-models and optimized extraction based on user inputs on the corrections. This is the foundation of Instant Learning.</P><P><STRONG>How to instantly learn</STRONG></P><P><STRONG>Start with Schema</STRONG></P><P>A schema is the blueprint of your extraction. End-user defines fields and type of schema. Schema comes in mainly two flavours: Manual and Auto. Manual schemas are limited to template-based extraction, whereas the Auto schemas are more dynamic, powerful, and give the full potential of extraction.</P><P>Unless you want to use only the Template model (Rule-based extraction), you should create the Auto schemas, as they can also provide automatic templates depending on when the system thinks that a template could be a good fit for certain layouts.</P><P>Now, Auto schemas come in two further flavours depending on the configuration:</P><P><STRONG>Auto with Default-extractor:</STRONG></P><P>This combination works under the hood with all available model types. Pre-trained, LLM and Template.</P><P><STRONG>Auto without Default-extractor:</STRONG></P><P>This combination can automatically provide both LLM and Template extraction without requiring users to specify it.</P><P>Recommendation: For the SAP standard schemas, such as Invoice, PO, PA, etc., a user should use "Auto with Default-extractor". For everything else, a user must use the "Auto without Default-extractor".</P><P><STRONG>Extraction, Feedback, and Repeat</STRONG></P><P>Once you have set up your schema and activated it, you are ready for extraction. As you are aware, the following is only applicable to the Auto schema with any flavor.</P><P>Your first extraction may not be something you like. It may have errors or inaccuracies. To remove such inaccurate extraction, you need to input it into the system, or in other words, provide feedback to the system.</P><P>You can add your feedback in many forms. Let me cover them here:</P><P><STRONG>Feedback as a Schema Description</STRONG></P><P>You are the controller of your extraction. If you want to influence the overall extraction and help the system know your schema better, you can explain that in the description field of the Schema. Your description should resemble a prompt for an LLM.</P><P><STRONG>Feedback as a Schema Field Description</STRONG></P><P>If you see the extraction is inaccurate for a field, then you can add a general instruction for the field, explaining the field, also sharing an example if that is common in all documents for the schema.</P><P><STRONG>Feedback as a Confirm Document</STRONG></P><P>Confirm documents are used to improve models, but without a guarantee. I recommend that you try and test extraction optimization based on your confirmed document-based feedback. Now, confirm that the documents can be used to influence pre-trained model extraction and LLM extraction, depending on your contractual agreement for using SAP Document AI, and allow SAP to use such documents for the extraction.</P><P>To confirm a document, the user should carefully review the extraction, correct any incorrect field values, and confirm the document by either making the API call or using the "Confirm" button on the UI.</P><P>The Confirm Document not only affects the model but also helps the system select the best model for extraction by switching between models. I will not touch upon the model switching in the blog post, but rather describe how an individual model can be affected with the "Confirm Document".</P><P><STRONG>Pre-trained model</STRONG></P><P>Confirming documents to improve the pre-trained model is a longer cycle and cannot be tested immediately. This requires the engineering teams to scrutinise the data, evaluate training results, and release new models with upcoming releases. This takes time, often weeks.</P><P><STRONG>LLM extraction</STRONG></P><P>Confirm documents can also be used for LLM extraction improvement, which is fundamental to Instant Learning, provided that you opt in for the feature. This optimization is instantly done when a user confirms a document. However, you may still encounter issues with the extraction in rare cases. If the user continues confirming one more document here, the model switching will use the Template model (the rule-based model) to try the extraction further.</P><P><STRONG>Template</STRONG></P><P>Confirm documents are used as samples for automatically created templates. System automatically finds out if you need one more template to optimize your extraction and create it.</P><P>After this, the extraction would be at its best possible accuracy. I have omitted the system-level steps for brevity. To learn more about how to do all of these, please visit the SAP Document AI documentation on the official help portal.</P><P><STRONG>Disclaimer</STRONG>: The information in the blog post is my personal opinion and is based on my understanding of the topic. Before making a purchase or using the system in production, please review SAP's official guidance on the product. Please visit the official published help documentation for the product for more information.</P> 2025-08-28T09:51:15.172000+02:00 https://community.sap.com/t5/technology-blog-posts-by-sap/using-document-ai-premium-in-sap-build-process-automation/ba-p/14227275 Using Document AI Premium in SAP Build Process Automation 2025-09-24T22:46:56.595000+02:00 BojanDobranovic https://community.sap.com/t5/user/viewprofilepage/user-id/92190 <H1 id="toc-hId-1631959453">Intro</H1><P><SPAN><A href="https://www.sap.com/products/artificial-intelligence/ai-foundation-os/document-ai.html" target="_self" rel="noopener noreferrer">SAP Document AI</A>, previously known as Document Information Extraction or DOX, has been bundled in SAP Build Process Automation (SBPA) for many years. The bundled document extraction capabilities in SBPA are leveraging Document AI Base edition based on Machine Learning. Since the introduction of the LLM-based Document AI Premium, there are many cases where the Premium version is the best and prefered option, or you may want to combine both versions. Although SAP Document AI Premium can be <A href="https://me.sap.com/notes/3442582/E" target="_self" rel="noopener noreferrer">connected</A> to SBPA via <A title="Document AI API on Business Accelerator Hub" href="https://api.sap.com/api/document_information_extraction_api/overview" target="_self" rel="noopener noreferrer">API</A> like any other BTP service, this still poses a challenge for many SBPA users, who expect a no-code activity similar to the bundled version (DOX SDK).<BR />In this blog post, I will explain how to quickly leverage Document AI Premium in your process automation projects using a reusable package that we deploy in our proof-of-concept activities.</SPAN></P><H1 id="toc-hId-1435445948">Prerequisites</H1><P>The assumption is that you have a Document AI Premium service and destination configured on your SBPA subaccount. If not, please check the quick setup tips below and find detailed instructions in SAP Help:</P><UL><LI><STRONG>Document AI Premium service</STRONG>: You should <A href="https://help.sap.com/docs/document-ai/sap-document-ai/initial-setup" target="_self" rel="noopener noreferrer">setup</A> Document AI Premium in your BTP environment (can be on any subbacount). For CloudFoundry, easiest way is to use <A href="https://help.sap.com/docs/btp/sap-business-technology-platform/boosters" target="_self" rel="noopener noreferrer">booster</A>.</LI><LI><STRONG>Destination</STRONG>: You should create a destionation, with all required additonal properties for SBPA, in the subbacount where you SAP Build Process Automation is activated and <A href="https://help.sap.com/docs/build-process-automation/sap-build-process-automation/manage-destinations" target="_self" rel="noopener noreferrer">add it to your Build tenant</A>. Easiest way to create a destionation is to <A href="https://github.com/bojansap/SAP-Build-Process-Automation/blob/main/Reusable%20packages/Document%20AI%20Premium/_destination/Document_AI_Premium.json" target="_self" rel="nofollow noopener noreferrer">download this example</A> and import into your BTP cockpit. You should update 4 parameters (Client ID, Client Secret, Token Service URL and URL) with values from your Document AI Service key.&nbsp;&nbsp;</LI></UL><H1 id="toc-hId-1238932443">Easiest way to start</H1><P>I will first cover the simplest way to get started with Document AI Premium in your automation process, which will work for most users. The goal is to quickly enable the capability to add an activity that will synchronously call your Document AI Premium.&nbsp;</P><P>You need to download the latest version of the reusable DocAI Premium package from <A href="https://github.com/bojansap/SAP-Build-Process-Automation/tree/main/Reusable%20packages/Document%20AI%20Premium" target="_self" rel="nofollow noopener noreferrer">this link (download the latest version of MTAR file called "(package) Document AI service")</A> and import it into your SAP Build Lobby:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_1-1758738717079.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319585i07C79675390CD07F/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_1-1758738717079.png" alt="BojanDobranovic_1-1758738717079.png" /></span></P><P><SPAN>Once the reusable package is uploaded, go to "versions" and select "Publish to Library". Once published, the package will be available to all developers on this tenant.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_2-1758738937103.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319591i4D4A060522FFB38C/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_2-1758738937103.png" alt="BojanDobranovic_2-1758738937103.png" /></span></P><P><SPAN>Open or create an automation project and add this package as a dependency (very similar to the way you add standard SBPA SDK packages):</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_3-1758739320976.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319592i9692BD34C95BC5AD/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_3-1758739320976.png" alt="BojanDobranovic_3-1758739320976.png" /></span>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_4-1758739338616.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319593i94BBB169FE13A457/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_4-1758739338616.png" alt="BojanDobranovic_4-1758739338616.png" /></span></P><P><SPAN>Now you have the reusable automation 'DocAI - Extract with Schema' in your project, which you can simply drag and drop into your automation flow. You can ignore the other automations for now, as they are meant for advanced cases that I will cover separately. For most users, they are not relevant.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_5-1758739600599.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319594i12EFBDF17FB998CE/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_5-1758739600599.png" alt="BojanDobranovic_5-1758739600599.png" /></span></P><P>There are 2 input parameters: "fileToUpload" and "schemaName".</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_6-1758739863008.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319595i699EC8DA834B78B4/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_6-1758739863008.png" alt="BojanDobranovic_6-1758739863008.png" /></span></P><P><SPAN>"File to upload" is self-explanatory; just provide a local path to a document that you want to process with the Document AI Premium service. "Schema name" refers to any SAP standard or custom schema that is created in your Document AI Premium. Make sure to use the exact name of any standard or custom schema.</SPAN><BR /><BR />And that's it. Once you run your autmation, there will be 3 output parameters that you can use:</P><UL><LI><STRONG>fullResponse</STRONG>:&nbsp;<SPAN>Exact full output from the Document AI service (e.g., confidence level, page, coordinates, etc.)</SPAN></LI><LI><STRONG>extractedData</STRONG>:<SPAN>Simplified response with only the header and line items fields of your schema. This output is useful if you just want to map extracted data to your Action call, any API or BAPI call, or quickly map exact schema key values.</SPAN></LI><LI><STRONG>Status</STRONG>:&nbsp;<SPAN>Status of the extracted document. This field is here for simplification</SPAN><SPAN>. The status is anyway returned in the <FONT color="#3366FF">fullResponse.status</FONT>&nbsp;</SPAN><SPAN>where you can also find additional details if there is a failure. For example, the document may have a valid extension but is corrupted, which will result in a "FAILED" status. To handle this, you can add IF logic after extraction and simply check if the&nbsp;</SPAN><FONT color="#000000">Status</FONT><SPAN><FONT color="#000000">&nbsp;== "FAILED"</FONT> and then take appropriate action.</SPAN></LI></UL><P><SPAN>You can see the difference between the two output responses in the example below:</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_7-1758740931058.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319597i27A2F2BD64578C7F/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_7-1758740931058.png" alt="BojanDobranovic_7-1758740931058.png" /></span></P><H1 id="toc-hId-1042418938">Notes for advanced automation users</H1><P>You can double-click on the automation "DocAI - Extract with Schema" and see how this automation works. You will notice that it's uploading the document and waiting for the Document AI Premium service response. You can use the upload automation to send a document to the service, and then start a process that will wait for the service response and continue with the process flow. This asynchronous approach will help you process many more documents with one unattended connection compared to the typical synchronous automation. I will cover this in a separate post, but here is the concept:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BojanDobranovic_0-1758747617324.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/319619i993ECD040785B4E3/image-size/medium?v=v2&amp;px=400" role="button" title="BojanDobranovic_0-1758747617324.png" alt="BojanDobranovic_0-1758747617324.png" /></span></P><P>You can also activate or deactivate the Instant Learning capability of your Document AI Premium with the automations provided in the package. There is no need to deploy anything. Just add the automations to an empty project and run them in test mode.</P><P>For those of you who are familiar with reusable packages (Library) and understand the implications of deploying a new version of your own, <A href="https://github.com/bojansap/SAP-Build-Process-Automation/blob/main/Reusable%20packages/Document%20AI%20Premium/_editable%20version/(package)%20Document%20AI%20service.mtar" target="_self" rel="nofollow noopener noreferrer">here is the editable version</A> of this package so you can adjust it for your specific needs. I don’t advise doing that if you are not familiar with Library concepts and all implications of import and export activities.</P><H1 id="toc-hId-845905433">Conclusion</H1><P>I hope this package will speed up and simplify your automation projects with Document AI Premium. Package supports both Windows and Mac OS desktop agents.&nbsp;<STRONG>Let me know how it works for you in the comments below</STRONG>.&nbsp;</P><P>I plan to cover the following topics in upcoming posts:</P><UL><LI>Example automation projects that are leveraging this package</LI><LI>Asynchronous approach for faster processing of large volumes of documents</LI><LI>How to combine new Document AI Workspaces with SAP Build Process Automation</LI></UL><P><SPAN>Also, feel free to ask if you want me to cover other topics or if you would like to know more about SAP Document AI Premium combined with SAP Build Process Automation.</SPAN></P> 2025-09-24T22:46:56.595000+02:00 https://community.sap.com/t5/sap-university-alliances-global-blog-posts/leveraging-sap-document-ai-to-bring-intelligent-document-processing-into-a/ba-p/14231967 Leveraging SAP Document AI to bring intelligent document processing into a classroom 2025-09-30T18:46:43.290000+02:00 Yury https://community.sap.com/t5/user/viewprofilepage/user-id/16444 <P><EM>Dear SAP University Alliances Community!</EM></P><P><EM>We would like to introduce you one of the SAP Business Technology Platform (BTP) services – SAP Document AI – and suggest a scenario how university lecturers can bring it to their classroom.</EM></P><P><STRONG>What is SAP Document AI?</STRONG></P><P><STRONG>SAP Document AI</STRONG> is an intelligent service that applies advanced machine learning to understand, classify, and process documents with high accuracy. Whether in research, classroom activities, or student projects, it provides a practical way to explore cutting-edge AI applications.</P><P>Key Features include:</P><UL><LI><U>Document Classification:</U> Automatically categorizes documents by content.</LI><LI><U>Information Extraction: </U>Accurately identifies and extracts fields, text, and tables.</LI><LI><U>Deep Learning Models:</U> Ensures reliable performance through advanced algorithms.</LI><LI><U>Custom Training:</U> Enables adaptation with your own datasets for specialized use cases.</LI></UL><P><STRONG>Why SAP Document AI is relevant to academia</STRONG></P><P>SAP Document AI is relevant across a wide range of academic disciplines:</P><UL><LI>Computer Science &amp; Engineering: Perfect for hands-on projects in AI and machine learning.</LI><LI>Business &amp; Management: Offers insights into automation, process optimization, and information management.</LI><LI>Legal Studies: Simplifies contract review and document analysis.</LI><LI>Healthcare &amp; Life Sciences: Supports efficient processing of patient records and clinical trial data.</LI></UL><P>By integrating SAP Document AI into teaching and research, educators can bridge the gap between theory and real-world applications.</P><P><STRONG>Bringing SAP Document AI in the educational process</STRONG></P><P>One of the advantages is that SAP Document AI is available through the <A title="SAP BTP free trial" href="https://www.sap.com/products/technology-platform/trial.html" target="_blank" rel="noopener noreferrer">SAP BTP free trial</A>. This allows students and educators to explore the service directly with no barriers and thus easily experiment with real scenarios, and develop skills that are highly relevant to today’s digital economy.</P><P>Essential resources to kickstart mastering SAP Document AI include:</P><UL><LI><A href="https://discovery-center.cloud.sap/serviceCatalog/document-information-extraction" target="_self" rel="nofollow noopener noreferrer">SAP Discovery Center service page: overview, capabilities, and onboarding</A>&nbsp;</LI><LI><A href="https://help.sap.com/docs/document-information-extraction" target="_self" rel="noopener noreferrer">SAP Help Portal: SAP BTP Document AI</A>&nbsp;</LI><LI><A href="https://api.sap.com/search?searchTerm=document%20information%20extraction" target="_self" rel="noopener noreferrer">API Business Hub: specs and try-outs</A>&nbsp;</LI></UL><P><STRONG>Hands-On Learning Opportunities</STRONG></P><P>The best way to understand SAP Document AI is to try it out. These tutorials and technology blogpost will help you get started step by step in just a little over one hour:</P><UL><LI><A title="Create a Free SAP BTP Trial Account " href="https://developers.sap.com/tutorials/hcp-create-trial-account.html" target="_self" rel="noopener noreferrer">Create a Free SAP BTP Trial Account</A> – <EM>suggested duration 15-20 minutes&nbsp;&nbsp;</EM></LI><LI><A title="Use Trial to Set Up Account for SAP Document AI and Go to Application" href="https://developers.sap.com/tutorials/cp-aibus-dox-booster-app.html" target="_self" rel="noopener noreferrer">Use Trial to Set Up Account for SAP Document AI and Go to Application</A> – <EM>suggested duration 5-10 minutes</EM>&nbsp;</LI><LI><A title="Use Trial to Extract Information from Standard Documents with Generative AI and SAP Document AI" href="https://developers.sap.com/tutorials/cp-aibus-dox-ui-gen-ai.html" target="_self" rel="noopener noreferrer">Use Trial to Extract Information from Standard Documents with Generative AI and SAP Document AI</A> – <EM>suggested duration 25-30 minutes</EM>&nbsp;<SPAN>&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI><LI><A title="Processing a Pokémon Cards" href="https://community.sap.com/t5/technology-blog-posts-by-sap/processing-a-pokémon-card-in-90-seconds-with-document-information/ba-p/13571759" target="_self">Processing a Pokémon Card in 90 Seconds with SAP Document AI</A>&nbsp;</LI></UL><P>Recommended classroom flow based on the listed above SAP Document AI tutorials:</P><TABLE border="1" width="100%"><TBODY><TR><TD width="33.333333333333336%" height="30px"><STRONG>Session #</STRONG></TD><TD width="33.333333333333336%" height="30px"><STRONG>Activity</STRONG></TD><TD width="33.333333333333336%" height="30px"><STRONG>Tutorial to be referred</STRONG></TD></TR><TR><TD width="33.333333333333336%" height="111px">1</TD><TD width="33.333333333333336%" height="111px">Trial account setup and service activation</TD><TD width="33.333333333333336%" height="111px"><EM>Create a Free SAP BTP Trial Account</EM>, and then <EM>Use Trial to Set Up Account for SAP Document AI and Go to Application</EM></TD></TR><TR><TD width="33.333333333333336%" height="111px">2</TD><TD width="33.333333333333336%" height="111px">Explore the web app, upload sample invoices/POs, and review extraction results with human-in-the-loop validation.</TD><TD width="33.333333333333336%" height="111px">Not relevant</TD></TR><TR><TD width="33.333333333333336%" height="111px">3</TD><TD width="33.333333333333336%" height="111px">Use generative AI to configure extraction for custom document types and then compare outcomes across formats and languages.</TD><TD width="33.333333333333336%" height="111px"><EM>Extract Information from Custom Documents</EM></TD></TR><TR><TD width="33.333333333333336%" height="111px">4</TD><TD width="33.333333333333336%" height="111px">Run the “Pokémon Card in 90 Seconds” challenge to demonstrate rapid, end-to-end extraction. Debrief on human-in-the-loop UX and data quality.</TD><TD width="33.333333333333336%" height="111px"><P data-unlink="true"><EM>Processing a Pokémon Card in 90 Seconds with SAP Document AI&nbsp;&nbsp;</EM></P></TD></TR><TR><TD width="33.333333333333336%" height="165px">5 (optional)</TD><TD width="33.333333333333336%" height="165px">Connect extraction results to a simple workflow or app (for example, with SAP Build Process Automation, please refer to the respective Sandbox offering from UCC Magdeburg) for an end-to-end process demo.</TD><TD width="33.333333333333336%" height="165px">Not relevant</TD></TR></TBODY></TABLE><P>Ideas for Assignments and Projects</P><UL><LI>Measure quality of processed documents: Benchmark precision across document templates and languages. Propose prompt or configuration tweaks to improve results.</LI><LI>Design workflows: Build an approval flow that routes low-confidence extractions to human review.</LI><LI>Time-and-cost analysis: Compare manual vs. automated processing time and estimate business value in a mini case study.</LI><LI>Cross-discipline collaboration: Pair business students (process design) with computer science students (API integration) to deliver a working prototype.</LI></UL><P><STRONG>Final Thoughts on SAP Document AI</STRONG></P><P>SAP Document AI offers a unique opportunity to combine academic learning with industry-level technology. Whether you’re a student working on your first AI project, or an educator designing courses that reflect the future of work, this tool can make a real difference. Stay tuned for the update in the <A href="https://portal.ucc.ovgu.de/" target="_blank" rel="noopener nofollow noreferrer">SAP Universiry Competence Center Magdeburg</A> content on SAP S/4HANA, when a SAP Document AI case will become part of the <A title="The SAP Model Company Global Bike" href="https://portal.ucc.ovgu.de/welcome/sap-model-company-global-bike/" target="_self" rel="nofollow noopener noreferrer">Global Bike Curricula</A>.</P><P>We invite you to explore SAP Document AI, share your experiences, and join the discussion in the comments. Together, let’s bring innovation to the classroom!</P><P><STRONG>Further Inspiration</STRONG></P><P>Looking for ways to bring other SAP innovative technology in the classroom? Explore <A href="https://community.sap.com/t5/sap-university-alliances-global-academic-content/tkb-p/university-alliances-globaltkb-board" target="_blank">Academic Lessons</A> by SAP University Alliances. These ready-to-use materials provide practical scenarios to integrate SAP technology into curricula and give students direct exposure to industry-relevant tools.</P> 2025-09-30T18:46:43.290000+02:00 https://community.sap.com/t5/technology-blog-posts-by-sap/new-expert-guided-implementation-unlocking-joule-and-sap-business-ai-from/ba-p/14237653 New Expert-Guided Implementation: Unlocking Joule and SAP Business AI from Strategy to Activation 2025-10-08T00:34:15.690000+02:00 mirnachaanine https://community.sap.com/t5/user/viewprofilepage/user-id/8362 <P><A href="https://accounts.sap.com/saml2/idp/sso?sp=https://www.successfactors.eu/learninghub&amp;RelayState=%2Fsf%2Flearning%3FdestUrl%3Dhttps%253a%252f%252fsaplearninghub%252eplateau%252ecom%252flearning%252fuser%252fdeeplink%255fredirect%252ejsp%253flinkId%253dCATALOG%255fSEARCH%2526sbArSel%253d%2526keywords%253dSUP_EDE_00011814%2526selKeyWordHeader%253dSUP_EDE_00011814%2526catSel%253d%2526srcSel%253dESAC%2526delMthSel%253d%2526ILDateFrm%253d%2526ILDateTo%253d%2526ILBlend%253d%2526ILSchd%253d%2526fromSF%253dY%26company%3Dlearninghub" target="_self" rel="noopener noreferrer"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mirnachaanine_0-1770226811639.png" style="width: 684px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369011i5B912079F366112B/image-dimensions/684x147?v=v2" width="684" height="147" role="button" title="mirnachaanine_0-1770226811639.png" alt="mirnachaanine_0-1770226811639.png" /></span></A></P><P>As organizations look to harness the power of Artificial Intelligence (AI) to drive transformation, SAP Business AI stands at the forefront - embedding intelligence directly into business processes to deliver smarter decisions and measurable outcomes.</P><P>From finance and supply chain to HR, procurement, and customer experience, <STRONG>SAP Business AI</STRONG> infuses <STRONG>trusted, relevant, and responsible AI</STRONG> across every process - ensuring each insight is contextual, every recommendation actionable, and every outcome aligned with enterprise goals.</P><P>Whether leveraging <STRONG>Joule</STRONG>, SAP’s AI copilot, or <STRONG>AI-embedded scenarios</STRONG> across your SAP applications, your path to becoming an intelligent and sustainable enterprise begins with understanding and activating SAP’s Business AI capabilities.</P><P>To help you unlock this value faster, we’re launching a new Expert-Guided Implementation (EGI):<SPAN>&nbsp;</SPAN></P><H5 id="toc-hId--2145749666"><A href="https://accounts.sap.com/saml2/idp/sso?sp=https://www.successfactors.eu/learninghub&amp;RelayState=%2Fsf%2Flearning%3FdestUrl%3Dhttps%253a%252f%252fsaplearninghub%252eplateau%252ecom%252flearning%252fuser%252fdeeplink%255fredirect%252ejsp%253flinkId%253dCATALOG%255fSEARCH%2526sbArSel%253d%2526keywords%253dSUP_EDE_00011814%2526selKeyWordHeader%253dSUP_EDE_00011814%2526catSel%253d%2526srcSel%253dESAC%2526delMthSel%253d%2526ILDateFrm%253d%2526ILDateTo%253d%2526ILBlend%253d%2526ILSchd%253d%2526fromSF%253dY%26company%3Dlearninghub" target="_self" rel="noopener noreferrer"><STRONG>Unlocking AI: Joule and SAP Business AI from Strategy to Activation</STRONG></A></H5><P>This multi-day, expert-led workshop is designed to help you and your team unlock the full potential of <STRONG>Joule</STRONG> and <STRONG>SAP Business AI</STRONG> across your SAP landscape. Guided by SAP experts, you’ll explore how to translate strategy into execution with practical exercises, live demonstrations, and activation guidance.</P><H4 id="toc-hId-1823621406">Workshop Schedule</H4><P>To accommodate global participants, this session will be offered on the following dates and time zones as follows:<BR /><BR /></P><TABLE border="1" width="100%"><TBODY><TR><TD width="33.333333333333336%" height="30px"><STRONG>2026 Dates</STRONG></TD><TD width="33.333333333333336%" height="30px"><STRONG>Time</STRONG></TD><TD width="33.333333333333336%" height="30px"><STRONG>Time Zone&nbsp;</STRONG></TD></TR><TR><TD width="33.333333333333336%" height="30px"><FONT color="#999999"><STRONG>January 19-21</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#999999"><STRONG>10:00AM - 12:00PM</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#999999"><STRONG>EMEA | CET</STRONG></FONT></TD></TR><TR><TD width="33.333333333333336%" height="31px"><FONT color="#000000"><STRONG>January 26-28</STRONG></FONT></TD><TD width="33.333333333333336%" height="31px"><FONT color="#000000"><STRONG>11:00AM - 1:00PM</STRONG></FONT></TD><TD width="33.333333333333336%" height="31px"><FONT color="#000000"><STRONG>NA/LA | EST&nbsp;</STRONG></FONT></TD></TR><TR><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>February 16-18</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>10:00AM-12:00PM</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>EMEA | CET</STRONG></FONT></TD></TR><TR><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>February 23-25</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>11:00AM - 1:00PM</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>NA/LA | EST&nbsp;</STRONG></FONT></TD></TR><TR><TD width="33.333333333333336%" height="30px"><STRONG>March 23-25</STRONG></TD><TD width="33.333333333333336%" height="30px"><STRONG>10:00AM-12:00PM</STRONG></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>EMEA | CET</STRONG></FONT></TD></TR><TR><TD width="33.333333333333336%"><STRONG>March 30-April 1</STRONG></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>11:00AM - 1:00PM</STRONG></FONT></TD><TD width="33.333333333333336%" height="30px"><FONT color="#000000"><STRONG>NA/LA | EST&nbsp;</STRONG></FONT></TD></TR></TBODY></TABLE><H4 id="toc-hId-1627107901"><BR />What You’ll Learn</H4><P>Through this EGI, participants will gain hands-on experience and actionable knowledge in:</P><UL class="lia-list-style-type-square"><LI><STRONG>SAP Business AI Strategy &amp; Foundation</STRONG> -&nbsp;Understand SAP’s AI vision, architecture, and trusted approach to delivering responsible, embedded intelligence</LI><LI><STRONG>Commercial Model &amp; AI Units</STRONG> - Learn how to navigate Base vs Premium<SPAN> models, the </SPAN>AI Feature Catalog<SPAN>, and use the </SPAN>AI Estimator<SPAN> to plan your adoption journey</SPAN></LI><LI><STRONG>Joule – AI Built for Business</STRONG> - Explore Joule’s unified architecture<SPAN>, </SPAN>roadmap<SPAN>, and capabilities across Joule for Business,&nbsp;</SPAN>Joule for Developers, and<SPAN>&nbsp;Joule for&nbsp;</SPAN>Consultants</LI><LI><STRONG>S/4HANA AI &amp; ML Capabilities</STRONG> - Experience ISLM in action through AI/ML demo use cases<SPAN> designed to enhance decision-making and process automation</SPAN></LI><LI><STRONG>SAP BTP AI &amp; ML Capabilities</STRONG> - Discover how BTP AI Foundation<SPAN>, </SPAN>Document AI<SPAN>, </SPAN>AI Services<SPAN>, </SPAN>AI Core<SPAN>, and </SPAN>AI Launchpad<SPAN> can help you extend and scale innovation</SPAN></LI><LI><STRONG>Joule Activation &amp; Prerequisites</STRONG> - Gain a clear view of activation steps, prerequisites<SPAN>, and how to extend Joule with </SPAN>Document Grounding<SPAN>, </SPAN>Joule Studio<SPAN>, and </SPAN>AI Agents</LI></UL><H4 id="toc-hId-1430594396">Why Attend</H4><P>This workshop goes beyond theory—it’s <STRONG>interactive, practical, and guided by SAP experts</STRONG>. By the end, you’ll have:</P><UL class="lia-list-style-type-square"><LI>A clear understanding of SAP’s Business AI strategy and product portfolio</LI><LI>The ability to activate Joule and deploy AI scenarios across your landscape</LI><LI>Actionable steps to integrate AI and Generative AI into your business workflows</LI><LI>Insights into commercial models and AI unit management for smarter planning</LI></UL><P>Whether you’re a business leader shaping AI strategy or a technical consultant implementing it, this EGI equips you to bridge the gap between <STRONG>strategy and execution</STRONG>.</P><H4 id="toc-hId-1234080891">How to Register</H4><P><SPAN><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;</SPAN><STRONG><A href="https://accounts.sap.com/saml2/idp/sso?sp=https://www.successfactors.eu/learninghub&amp;RelayState=%2Fsf%2Flearning%3FdestUrl%3Dhttps%253a%252f%252fsaplearninghub%252eplateau%252ecom%252flearning%252fuser%252fdeeplink%255fredirect%252ejsp%253flinkId%253dCATALOG%255fSEARCH%2526sbArSel%253d%2526keywords%253dSUP_EDE_00011814%2526selKeyWordHeader%253dSUP_EDE_00011814%2526catSel%253d%2526srcSel%253dESAC%2526delMthSel%253d%2526ILDateFrm%253d%2526ILDateTo%253d%2526ILBlend%253d%2526ILSchd%253d%2526fromSF%253dY%26company%3Dlearninghub" target="_blank" rel="noopener noreferrer">Register here to secure your spot</A>*&nbsp;</STRONG><SPAN>today to learn from SAP experts and gain the skills to bring <STRONG>Business AI to life</STRONG> across your enterprise.</SPAN></P><P><SPAN>&nbsp;* <EM>You may need to register your S-user for access to SAP Learning Hub to access the EGI registration page.&nbsp; It is a one-time registration, click&nbsp;<A href="https://support.sap.com/en/offerings-programs/enterprise-support/enterprise-support-academy/learn.html" target="_blank" rel="noopener noreferrer">here.</A></EM></SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mirnachaanine_0-1768520212366.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/361745i8ECB1657B21B1982/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="mirnachaanine_0-1768520212366.png" alt="mirnachaanine_0-1768520212366.png" /></span></P><H4 id="toc-hId-866938477" id="toc-hId-1037567386">Related Articles</H4><P><STRONG><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/new-expert-guided-implementation-joule-prerequisites-and-activation/ba-p/14308272" target="_self">Joule Prerequisites and Activation: Expert-Guided Implementation</A></STRONG></P> 2025-10-08T00:34:15.690000+02:00 https://community.sap.com/t5/technology-blog-posts-by-members/integrating-sap-document-information-extraction-document-ai-with-sap-cap/ba-p/14235024 Integrating SAP Document Information Extraction (Document AI) with SAP CAP – Step by Step 2025-10-09T12:50:17.556000+02:00 furkan5 https://community.sap.com/t5/user/viewprofilepage/user-id/2115025 <P><FONT size="4">Introduction :</FONT></P><P><FONT><FONT><FONT><FONT>In the SAP ecosystem, extracting meaningful data from documents such as invoices, contracts, or delivery notes—especially in accounting, finance, and operational processes—is often a manual and time-consuming task.Since these documents are usually in PDF or scanned image formats, using traditional data processing methods to identify fields is both error-prone and unsustainable in the long run.This is where SAP Document AI comes into play.By leveraging AI-powered models, Document AI can automatically analyze documents and extract key fields such as invoice number, date, currency, supplier–customer information, and line items.This eliminates the need for manual data entry, making the overall process faster, more reliable, and significantly more efficient.In this blog post, I will walk you through the step-by-step process of enabling SAP Document AI on SAP BTP and integrating it with a CAP (Cloud Application Programming) project.Starting from service activation, we’ll cover creating a service key, performing authentication (token retrieval), defining actions in CAP, uploading files, and storing the extracted Document AI results in a database.By the end of this guide, you’ll have a fully functional CAP endpoint that can be tested via Postman.You’ll learn how to send real PDF invoice files to Document AI and receive structured data in return—a foundation you can later extend with UI5 interfaces or workflow integrations.</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT><BR />Step </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>1 — Creating the Document AI Service in SAP BTP</FONT></FONT></FONT></FONT></STRONG></P><P><FONT><FONT><FONT><FONT>First, we need to enable the Document AI service in SAP BTP. To do this:</FONT></FONT></FONT></FONT></P><OL><LI><FONT><FONT><FONT><FONT>Log in to your SAP BTP subaccount.</FONT></FONT></FONT></FONT></LI><LI><FONT><FONT><FONT><FONT>Open </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>the Service Marketplace</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> .</FONT></FONT></FONT></FONT></LI><LI><FONT><FONT><FONT><FONT>Find </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>the SAP Document AI Trial</FONT></FONT></FONT></STRONG></FONT><FONT><FONT><FONT><FONT> service under </FONT></FONT></FONT></FONT><FONT><STRONG><FONT><FONT><FONT>the Artificial Intelligence</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> category .</FONT></FONT></FONT></FONT></LI></OL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="furkan5_0-1759664486213.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322910iF81D4AB95DE1798C/image-size/medium?v=v2&amp;px=400" role="button" title="furkan5_0-1759664486213.png" alt="furkan5_0-1759664486213.png" /></span></P><P><FONT><FONT><FONT><FONT>On the service details page, you'll see </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>the Overview</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> and </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>Service Plans tabs. Click </FONT></FONT></FONT></FONT></STRONG><FONT><STRONG><FONT><FONT><FONT>Create</FONT></FONT></FONT></STRONG></FONT><FONT><FONT><FONT><FONT> to create a service instance </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT>Select the </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>default</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> plan . This plan enables basic API access in a trial environment and creates the instance your CAP project needs to connect to the Document AI service.</FONT></FONT></FONT></FONT></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="furkan5_1-1759664694730.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322911i78197B4CDDE308E1/image-size/medium?v=v2&amp;px=400" role="button" title="furkan5_1-1759664694730.png" alt="furkan5_1-1759664694730.png" /></span></P><P><STRONG><FONT><FONT><FONT><FONT>Fill out the form below:</FONT></FONT></FONT></FONT></STRONG></P><OL><LI><P><STRONG><FONT><FONT><FONT><FONT>Service:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> SAP Document AI Trial Version </FONT></FONT></FONT></FONT><BR /><FONT><FONT><FONT><FONT>→ We will be using this service. Since it is a trial version, we will use the free trial quota.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Plan:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> default </FONT></FONT></FONT></FONT><BR /><FONT><FONT><FONT><FONT>→ Only the </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>default</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> plan is available in the trial environment. It is sufficient for basic use.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Runtime Environment:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Cloud Foundry </FONT></FONT></FONT></FONT><BR /><FONT><FONT><FONT><FONT>→ Defines where the service will run. Cloud Foundry is often chosen for integration with CAP projects.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Domain:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> dev </FONT></FONT></FONT></FONT><BR /><FONT><FONT><FONT><FONT>→ Select the Cloud Foundry domain where your project is located (for example, dev, test).</FONT></FONT></FONT></FONT></P></LI></OL><P><STRONG><FONT><FONT><FONT><FONT>Instance Name:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> DocAI </FONT></FONT></FONT></FONT><BR /><FONT><FONT><FONT><FONT>→ You can give the service instance any name you want. This makes it easier to connect later (you can use lowercase, for example </FONT></FONT></FONT></FONT><CODE>docai</CODE><FONT><FONT><FONT><FONT>).</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT>After filling in all the fields, you can click </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>the Next button</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> to proceed to the confirmation screens and complete the sample creation process.</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT>Once the instance has been successfully created, the next step is to generate </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>a Service Key for it</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> . This key contains the authentication information needed for your CAP project to connect to the Document AI service.</FONT></FONT></FONT></FONT></P><UL><LI><P><FONT><FONT><FONT><FONT>Click the ellipsis ( … ) </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>on the far right of your sample row </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></STRONG></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Select Create Service Key</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> from the menu </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></P></LI></UL><P><FONT><FONT><FONT><FONT>In the dialog box:</FONT></FONT></FONT></FONT></P><P>&nbsp;</P><UL><LI><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="furkan5_2-1759665251951.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322912i292D746AFAAFA8A6/image-size/medium?v=v2&amp;px=400" role="button" title="furkan5_2-1759665251951.png" alt="furkan5_2-1759665251951.png" /></span><P>&nbsp;</P><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>In the Name</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> field, </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>enter a meaningful name such as </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>DocAIKey</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> .</FONT></FONT></FONT></FONT></P></LI><LI><P><FONT><FONT><FONT><FONT>You can leave the other settings at their default values.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Then</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> click Create </FONT></FONT></FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></P></LI></UL></LI><LI><P><FONT><FONT><FONT><FONT>Once the Service Key is generated, </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>click on its row to open the </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>detail page.</FONT></FONT></FONT></FONT></STRONG></P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChatGPT Image 5 Eki 2025 15_02_16.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322913i9A734DF3DA76B3AE/image-size/medium?v=v2&amp;px=400" role="button" title="ChatGPT Image 5 Eki 2025 15_02_16.png" alt="ChatGPT Image 5 Eki 2025 15_02_16.png" /></span></P><P><STRONG><FONT><FONT><FONT><FONT>After copying the JSON:</FONT></FONT></FONT></FONT></STRONG></P><P><STRONG><FONT><FONT><FONT><FONT>Adding Service Key details to the file To access </FONT></FONT></FONT></FONT><CODE>.env</CODE><FONT><FONT><FONT><FONT>the Document</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> AI service, we need to define credentials in our CAP project. To do this, </FONT></FONT></FONT></FONT><BR /><FONT><FONT><FONT><FONT>you can add a structure like the following to the file located in your project's root directory:</FONT></FONT></FONT></FONT><CODE>.env</CODE></P><P><FONT><FONT><FONT><FONT>Correct the highlighted errors and try again.</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT>Unsupported HTML code has been removed from your message. The HTML has been updated. Please review the message and send it when you are satisfied.</FONT></FONT></FONT></FONT></P><pre class="lia-code-sample language-json"><code>{ "DOCAI_CLIENT_ID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "DOCAI_CLIENT_SECRET": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "DOCAI_TOKEN_URL": "https://39c50baetrial.authentication.us10.hana.ondemand.com/oauth/token", "DOCAI_URL": "https://aiservices-trial-dox.cfapps.us10.hana.ondemand.com/document-information-extraction/v1" }</code></pre><P><STRONG><FONT><FONT><FONT><FONT>In real projects</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> , instead of manually adding these details to the file </FONT></FONT></FONT></FONT><CODE>.env</CODE><FONT><FONT><FONT><FONT>, service keys are </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>automatically</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> linked to the application. This way, the application reads credentials from environment variables ( ) and is managed more securely. Automatic linking can also be achieved during deployment via </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>MTA</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> or </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>manifest</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> files </FONT></FONT></FONT></FONT><CODE>VCAP_SERVICES</CODE><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></P><P><FONT size="5"><STRONG><CODE>service.cds</CODE><FONT><FONT><FONT><FONT>Action Definition </FONT></FONT><FONT><FONT>in File</FONT></FONT></FONT></FONT></STRONG></FONT></P><pre class="lia-code-sample language-abap"><code>using { app as db } from '../db/schema'; service InvoiceService { entity Invoices as projection on db.Invoices; entity InvoiceItems as projection on db.InvoiceItems; action analyzeAndSave(file : LargeBinary, filename : String) returns { documentNumber : String(60); documentDate : Date; currencyCode : String(3); senderName : String(255); receiverName : String(255); netAmount : Decimal(15,2); taxName : String(40); taxRate : Decimal(5,2); taxAmount : Decimal(15,2); grossAmount : Decimal(15,2); }; }</code></pre><P><FONT><FONT><FONT><FONT>First, we define </FONT></FONT></FONT><STRONG><FONT><FONT><FONT>a CAP Action to send the PDF to the Document AI service and retrieve the result</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> . This action can be triggered from the frontend or from tools like Postman.</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT>For example, let's define an action with the following name </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>:</FONT></FONT></FONT></FONT><STRONG><CODE>analyzeAndSave</CODE></STRONG></P><UL><LI><P><STRONG><CODE>file</CODE><FONT><FONT><FONT><FONT>field:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Retrieves PDF file content in Base64 format.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><CODE>filename</CODE><FONT><FONT><FONT><FONT>field:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Contains the file name.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><CODE>returns</CODE><FONT><FONT><FONT><FONT>section:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Returns key invoice fields from the AI ​​service (for example, </FONT></FONT></FONT></FONT><CODE>documentNumber</CODE><FONT><FONT><FONT><FONT>, </FONT></FONT></FONT></FONT><CODE>documentDate</CODE><FONT><FONT><FONT><FONT>, </FONT></FONT></FONT></FONT><CODE>currencyCode</CODE><FONT><FONT><FONT><FONT>, etc.).</FONT></FONT></FONT></FONT></P></LI></UL><P><FONT><FONT><FONT><FONT>This step creates the backend point that will trigger access to the Document AI service.</FONT></FONT></FONT></FONT></P><P><FONT><FONT><FONT><FONT>At this point, we need to listen for the action we defined </FONT></FONT></FONT><FONT><FONT><FONT>in the backend </FONT></FONT></FONT><FONT><FONT><FONT>. To do this , we add </FONT></FONT></FONT><FONT><FONT><FONT>an </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>event handler</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> to . When the action is triggered, this handler sends the file to the Document AI service, retrieves the analysis result, and saves it to the database. The entire flow is managed within this function.</FONT></FONT></FONT></FONT><CODE>analyzeAndSave</CODE><CODE>service.cds</CODE><CODE>srv/service.js</CODE></P><pre class="lia-code-sample language-javascript"><code>module.exports = cds.service.impl(function () { this.on("analyzeAndSave", async (req) =&gt; { // We define the **helper functions required for the Document AI integration**. }); });</code></pre><P>&nbsp;</P><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>Obtaining a Token (Authentication)</FONT></FONT></FONT></FONT></STRONG></FONT><BR /><FONT><FONT><FONT><FONT>Now that we've defined the service credentials in the file</FONT></FONT></FONT></FONT><CODE>.env</CODE><FONT><FONT><FONT><FONT>, we need to obtain an access token to send requests to the Document AI service.</FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>We'll add the following sample function</FONT></FONT></FONT><FONT><FONT><FONT>to our file</FONT></FONT></FONT><FONT><FONT><FONT>:</FONT></FONT></FONT></FONT><BR /><CODE>getToken</CODE><CODE>srv/service.js</CODE></P><pre class="lia-code-sample language-javascript"><code>const axios = require("axios"); async function getToken() { const r = await axios.post( process.env.DOCAI_TOKEN_URL, new URLSearchParams({ grant_type: "client_credentials", client_id: process.env.DOCAI_CLIENT_ID, client_secret: process.env.DOCAI_CLIENT_SECRET, }), { headers: { "Content-Type": "application/x-www-form-urlencoded" } } ); return r.data.access_token; }</code></pre><P><FONT><FONT><FONT><FONT>This function </FONT></FONT></FONT></FONT><CODE>access_token</CODE><FONT><FONT><FONT><FONT>returns a value from the SAP Document AI service using the information in the file. This token </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>will be used in subsequent API calls within the </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>Authorization</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> header .</FONT></FONT></FONT></FONT><CODE>.env</CODE></P><P><FONT><FONT><FONT><FONT>In real projects, this step is often automated through </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>target+service binding</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> . The CAP application reads the necessary information </FONT></FONT></FONT></FONT><CODE>VCAP_SERVICES</CODE><FONT><FONT><FONT><FONT>from environment variables to obtain the token .</FONT></FONT></FONT></FONT></P><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>In this step, we retrieve the schemas defined in Document AI and</FONT></FONT></FONT></FONT></STRONG></FONT><BR /><FONT><FONT><FONT><FONT>select the appropriate one for invoices. This allows the model to determine which fields to extract (e.g., Invoice ID, Date, Currency, etc.).</FONT></FONT></FONT></FONT></P><pre class="lia-code-sample language-javascript"><code>const schemas = await fetchSchemas(base, token); console.log("[DocAI] schemas count =", schemas.length); const chosen = pickInvoiceSchema(schemas); if (!chosen) return req.error(500, "No invoice-related schema available in DOX"); console.log("[DocAI] chosen =", chosen);</code></pre><P>&nbsp;</P><UL><LI><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>fetchSchemas:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Retrieves the schema list from DOX using the access token.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>pickInvoiceSchema:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Selects the schema whose name is invoice or </FONT></FONT></FONT><FONT><FONT><FONT>contains </FONT></FONT></FONT></FONT><FONT><STRONG><FONT><FONT><FONT>the invoice</FONT></FONT></FONT></STRONG></FONT><FONT><FONT><FONT><FONT> .</FONT></FONT></FONT></FONT><CODE>documentType</CODE></P></LI><LI><P><FONT><FONT><FONT><FONT>If none are found, return </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>500</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> (an obvious error to the developer).</FONT></FONT></FONT></FONT></P></LI></UL><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>Base64 → Buffer conversion (prepare the file)</FONT></FONT></FONT></FONT></STRONG></FONT><BR /><FONT><FONT><FONT><FONT>The PDF file received from the client (UI5/Postman) may be in Base64 format. If it is a Data URL (for example,</FONT></FONT></FONT></FONT><CODE>data&amp;colon;application/pdf;base64,...</CODE><FONT><FONT><FONT><FONT>), remove the prefix and convert it to a true binary buffer.</FONT></FONT></FONT></FONT></P></LI></UL><pre class="lia-code-sample language-javascript"><code>let b64 = Buffer.isBuffer(file) ? null : String(file); if (b64 &amp;&amp; b64.startsWith("data:")) { const i = b64.indexOf("base64,"); if (i &gt; -1) b64 = b64.slice(i + "base64,".length); } const buffer = Buffer.isBuffer(file) ? file : Buffer.from(b64 || file, "base64"); console.log("[CHECK] filename=", filename, "buffer length=", buffer?.length); if (!buffer?.length) return req.error(400, "Empty or invalid base64 file");</code></pre><P>&nbsp;</P><UL><LI><UL><LI><P><FONT><FONT><FONT><FONT>The field we will send via </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>HTTP form-data needs </FONT></FONT></STRONG></FONT><FONT><STRONG><FONT><FONT>to be</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> binary </FONT></FONT></FONT><FONT><FONT><FONT>; therefore </FONT></FONT></FONT><FONT><FONT><FONT>we convert the Base64 payload into a </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>buffer</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> .</FONT></FONT></FONT></FONT><STRONG><CODE>file</CODE></STRONG></P></LI><LI><P><FONT><STRONG><FONT><FONT><FONT>We return 400</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> (client error) </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>for an </FONT></FONT></FONT></FONT><FONT><STRONG><FONT><FONT><FONT>empty or corrupt</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> file .</FONT></FONT></FONT></FONT></P></LI></UL><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>Create a job (submit with </FONT></FONT></FONT></FONT><CODE>schemaId</CODE><FONT><FONT><FONT><FONT>)</FONT></FONT></FONT></FONT></STRONG></FONT><FONT><FONT><FONT><FONT> We provide</FONT></FONT></FONT></FONT><FONT><STRONG><FONT><FONT><FONT> the selected schema</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> and</FONT></FONT></FONT><STRONG><FONT><FONT><FONT> document type</FONT></FONT></FONT></STRONG><FONT><FONT><FONT> in</FONT></FONT></FONT></FONT><FONT><FONT><STRONG><FONT><FONT> , then</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> submit the file</FONT></FONT></FONT><FONT><STRONG><FONT><FONT> to DocAI</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> to start</FONT></FONT></FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT><BR /><CODE>options</CODE></P></LI></UL><pre class="lia-code-sample language-javascript"><code>const options = { clientId: "default", schemaId: chosen.id, documentType: chosen.documentType || "invoice", }; console.log("[DocAI] submit options =", options); const submitted = await submitJob(base, token, buffer, filename || "invoice.pdf", options); const jobId = submitted?.id; if (!jobId) throw new Error(`Job submit failed: ${JSON.stringify(submitted)}`); console.log("[DocAI] jobId =", jobId);</code></pre><UL><LI><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>schemaId: </FONT></FONT></FONT></FONT><CODE>chosen.id</CODE><FONT><FONT><FONT><FONT>→ we use a dynamic schema id.</FONT></FONT></FONT></FONT></STRONG></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>If successful, it returns a </FONT></FONT></FONT></FONT><CODE>jobId</CODE><FONT><FONT><FONT><FONT>; we use this ID to track the status of the job.</FONT></FONT></FONT></FONT></STRONG></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>If </FONT></FONT></FONT></FONT><CODE>filename</CODE><FONT><FONT><FONT><FONT>not provided the default value is </FONT></FONT></FONT></FONT><CODE>"invoice.pdf"</CODE><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></STRONG></P></LI></UL><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>Question the work and get results</FONT></FONT></FONT></FONT></STRONG></FONT></P><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>The job runs in the background.</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> We poll at intervals until the status is COMPLETED </FONT></FONT></FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></P></LI><LI><P><FONT><FONT><FONT><FONT>Once the process is complete, the extracted areas become available under </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT><STRONG><CODE>extraction</CODE></STRONG></P></LI></UL></LI></UL><pre class="lia-code-sample language-javascript"><code>const result = await pollJob(base, token, jobId, 60000, 1500); console.log("[DocAI] status DONE, extraction keys =", Object.keys(result?.extraction || {}));</code></pre><UL><LI><UL><LI><P><CODE>pollJob(base, token, jobId, 60000, 1500)</CODE><FONT><FONT><FONT><FONT>→ </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>60 sec timeout / 1.5 sec interval</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> .</FONT></FONT></FONT></FONT></P></LI><LI><P><FONT><FONT><FONT><FONT>Below </FONT></FONT></FONT><FONT><FONT><FONT>and </FONT></FONT></FONT></FONT><CODE>result.extraction</CODE><FONT><FONT><FONT><FONT>you get </FONT></FONT></FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT><STRONG><CODE>headerFields</CODE></STRONG><STRONG><CODE>lineItems</CODE></STRONG></P></LI></UL><P><STRONG><FONT><FONT><FONT><FONT>NOW LET'S GO TO TESTING:</FONT></FONT></FONT></FONT></STRONG></P><P><FONT><FONT><FONT><FONT>First, ...</FONT></FONT></FONT></FONT></P></LI></UL><pre class="lia-code-sample language-abap"><code>cds watch --profile hybrid </code></pre><P><FONT><FONT><FONT><FONT>Let's start our CAP project with the following command. (I started it this way </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>because I chose </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>HANA</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> as the database .)</FONT></FONT></FONT></FONT></P><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>Sample Invoice PDF file:</FONT></FONT></FONT></FONT></STRONG></FONT></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="furkan5_7-1759670250574.jpeg" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322915i32530D5E1CCE4274/image-size/medium?v=v2&amp;px=400" role="button" title="furkan5_7-1759670250574.jpeg" alt="furkan5_7-1759670250574.jpeg" /></span></P><P>&nbsp;</P><P><STRONG><FONT><FONT><FONT><FONT>Above</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> is a sample PDF file we sent to the SAP Document AI service. The service automatically analyzes the invoice and extracts fields such as the invoice number, date, currency, supplier-customer information, and item information.</FONT></FONT></FONT></FONT></P><P><FONT size="5"><STRONG><FONT><FONT><FONT><FONT>Testing with Postman:</FONT></FONT></FONT></FONT></STRONG></FONT><BR /><FONT><FONT><FONT><FONT>Now that everything is ready on the backend, we can test the CAP action integrated with the Document AI service. To do this, use a REST client like Postman and send the following request:</FONT></FONT></FONT></FONT></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="furkan5_6-1759670015598.jpeg" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322914iA652EA031F5674AB/image-size/medium?v=v2&amp;px=400" role="button" title="furkan5_6-1759670015598.jpeg" alt="furkan5_6-1759670015598.jpeg" /></span></P><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>Method:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> POST</FONT></FONT></FONT></FONT></P><P><STRONG><FONT><FONT>URL:</FONT></FONT></STRONG> <CODE><A href="http://localhost:4004/odata/v4/invoice/analyzeAndSave" target="_blank" rel="noopener nofollow noreferrer">http://localhost:4004/odata/v4/invoice/analyzeAndSave</A></CODE></P><P><STRONG><FONT><FONT><FONT><FONT>Body (JSON):</FONT></FONT></FONT></FONT></STRONG></P><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>file name:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> Name of the PDF file to be uploaded</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>file:</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> PDF file content in </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>Base64</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> format</FONT></FONT></FONT></FONT></P></LI></UL><P><STRONG><FONT><FONT><FONT><FONT>In this answer:</FONT></FONT></FONT></FONT></STRONG></P><UL><LI><P><FONT><FONT><FONT><FONT>The fields extracted by Document AI match </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>exactly</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> the action return types defined in </FONT></FONT></FONT></FONT><CODE>service.cds</CODE><FONT><FONT><FONT><FONT>.</FONT></FONT></FONT></FONT></P></LI><LI><P><FONT><FONT><FONT><FONT>These values ​​are also </FONT></FONT></FONT></FONT><STRONG><FONT><FONT><FONT><FONT>automatically</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> saved to the HANA database in the background.</FONT></FONT></FONT></FONT></P></LI></UL><HR /><P><STRONG><FONT><FONT><FONT><FONT>In real projects,</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> this setup isn't written manually. Instead, the Document AI service </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>automatically connects to the CAP application via </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>service binding</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> . The application reads the necessary credentials directly </FONT></FONT></FONT><FONT><FONT><FONT>from environment variables, and token acquisition is performed automatically in the background. This not only increases security (sensitive data like client secrets aren't visible in the code or repository) but also </FONT></FONT></FONT><FONT><FONT><FONT>allows the application to run across different environments (dev, test, production) </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>without additional configuration . During deployment, binding is provided via </FONT></FONT></STRONG></FONT><FONT><STRONG><FONT><FONT>MTA</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> or </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>manifest</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> files, and the application continues to run seamlessly with the same approach when deployed to production.</FONT></FONT></FONT></FONT><CODE>.env</CODE><STRONG><CODE>VCAP_SERVICES</CODE></STRONG></P></LI></UL><P>&nbsp;</P><P><FONT size="5"><FONT><FONT><FONT><FONT>Optional: Storing Raw Document AI JSON for Debugging:</FONT></FONT></FONT></FONT></FONT></P><DIV class="">&nbsp;</DIV><DIV class="">&nbsp;</DIV><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ekran görüntüsü 2025-10-05 170414.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/322919i67EE420641065A4C/image-size/medium?v=v2&amp;px=400" role="button" title="Ekran görüntüsü 2025-10-05 170414.png" alt="Ekran görüntüsü 2025-10-05 170414.png" /></span></P><P><STRONG><FONT><FONT><FONT><FONT>In the Invoices</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> entity of the schema </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>, I defined a field called to store the original response returned by the Document AI service. This field </FONT></FONT></FONT></FONT><FONT><FONT><FONT><FONT>is of type </FONT></FONT></FONT><FONT><STRONG><FONT><FONT>LargeString</FONT></FONT></STRONG></FONT><FONT><FONT><FONT> and holds all the header and line item data returned by Document AI in JSON format.</FONT></FONT></FONT></FONT><CODE>RawJson</CODE></P><P><FONT><FONT><FONT><FONT>The purpose of this area:</FONT></FONT></FONT></FONT></P><UL><LI><P><STRONG><FONT><FONT><FONT><FONT>Debug/Trace</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> : Easily inspect the data returned by Document AI during development.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Extensibility</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> : If I later want to add new fields or change the mapping structure, I can access the original source.</FONT></FONT></FONT></FONT></P></LI><LI><P><STRONG><FONT><FONT><FONT><FONT>Data Traceability</FONT></FONT></FONT></FONT></STRONG><FONT><FONT><FONT><FONT> : Store raw invoice data so it can be reprocessed when necessary.</FONT></FONT></FONT></FONT></P></LI></UL><P><FONT><FONT><FONT><FONT>For example, when an invoice is processed, all the extraction data returned by Document AI is stored in this column. You can then open this data and clearly see which fields Document AI has recognized.</FONT></FONT></FONT></FONT></P><P>In this article, we explored how to enable SAP Document AI on SAP BTP and integrate it end-to-end with a CAP project. Each step—from creating the service instance and generating the service key to authenticating, defining CAP actions, and processing documents—represents a fundamental building block of a real-world backend automation setup.With this integration, you can now automatically process invoices or similar business documents without manual data entry. The extracted fields can be stored in your HANA database and then used for reporting, process automation, or analytics. This approach not only speeds up financial and operational workflows but also reduces human error and increases overall process reliability.In production environments, this setup is typically secured and automated through <STRONG>service binding</STRONG>, allowing applications to read credentials from environment variables without manual configuration. This ensures smooth operation across development, test, and production landscapes.As a next step, you can extend this backend integration with a <STRONG>SAP UI5 dashboard</STRONG> or management panel, enabling users to upload, view, validate, and approve invoices in real time. By doing so, you’ll move from a simple technical integration to a <STRONG>fully functional end-to-end intelligent document processing solution</STRONG>.</P><DIV class=""><DIV class=""><DIV class=""><DIV class="">&nbsp;</DIV></DIV></DIV></DIV><DIV class="">&nbsp;</DIV> 2025-10-09T12:50:17.556000+02:00 https://community.sap.com/t5/sap-maxattention-blog-posts/new-expert-guided-implementation-unlocking-joule-and-sap-business-ai-from/ba-p/14242425 New Expert-Guided Implementation: Unlocking Joule and SAP Business AI from Strategy to Activation 2025-10-13T14:51:50.787000+02:00 paul_schropp44 https://community.sap.com/t5/user/viewprofilepage/user-id/807129 <P>As organizations look to harness the power of Artificial Intelligence (AI) to drive transformation, SAP Business AI stands at the forefront - embedding intelligence directly into business processes to deliver smarter decisions and measurable outcomes.</P><P>From finance and supply chain to HR, procurement, and customer experience,<SPAN>&nbsp;</SPAN><STRONG>SAP Business AI</STRONG><SPAN>&nbsp;</SPAN>infuses<SPAN>&nbsp;</SPAN><STRONG>trusted, relevant, and responsible AI</STRONG><SPAN>&nbsp;</SPAN>across every process - ensuring each insight is contextual, every recommendation actionable, and every outcome aligned with enterprise goals.</P><P>Whether leveraging<SPAN>&nbsp;</SPAN><STRONG>Joule</STRONG>, SAP’s AI copilot, or<SPAN>&nbsp;</SPAN><STRONG>AI-embedded scenarios</STRONG><SPAN>&nbsp;</SPAN>across your SAP applications, your path to becoming an intelligent and sustainable enterprise begins with understanding and activating SAP’s Business AI capabilities.</P><P>To help you unlock this value faster, we’re launching a new Expert-Guided Implementation (EGI):<SPAN>&nbsp;</SPAN></P><H5 id="toc-hId--2145749666" id="toc-hId--2144977113"><A href="https://accounts.sap.com/saml2/idp/sso?sp=https://www.successfactors.eu/learninghub&amp;RelayState=%2Fsf%2Flearning%3FdestUrl%3Dhttps%253a%252f%252fsaplearninghub%252eplateau%252ecom%252flearning%252fuser%252fdeeplink%255fredirect%252ejsp%253flinkId%253dCATALOG%255fSEARCH%2526sbArSel%253d%2526keywords%253dSUP_EDE_00011814%2526selKeyWordHeader%253dSUP_EDE_00011814%2526catSel%253d%2526srcSel%253dESAC%2526delMthSel%253d%2526ILDateFrm%253d%2526ILDateTo%253d%2526ILBlend%253d%2526ILSchd%253d%2526fromSF%253dY%26company%3Dlearninghub" target="_self" rel="noopener noreferrer"><STRONG>Unlocking AI: Joule and SAP Business AI from Strategy to Activation</STRONG></A></H5><P>This multi-day, expert-led workshop is designed to help you and your team unlock the full potential of<SPAN>&nbsp;</SPAN><STRONG>Joule</STRONG><SPAN>&nbsp;</SPAN>and<SPAN>&nbsp;</SPAN><STRONG>SAP Business AI</STRONG><SPAN>&nbsp;</SPAN>across your SAP landscape. Guided by SAP experts, you’ll explore how to translate strategy into execution with practical exercises, live demonstrations, and activation guidance.</P><H4 id="toc-hId-1823621406" id="toc-hId-1824393959">Workshop Schedule</H4><P>To accommodate global participants, this session will be offered in two time zones:</P><UL><LI><P><STRONG>October 20–22, 2025</STRONG><SPAN>&nbsp;</SPAN>|<SPAN>&nbsp;</SPAN><STRONG>10:00am–12:00pm EMEA time zone</STRONG></P></LI><LI><P><STRONG>November 3–5, 2025</STRONG><SPAN>&nbsp;</SPAN>|<SPAN>&nbsp;</SPAN><STRONG>10:00am –12:00pm NY time zone</STRONG></P></LI></UL><H4 id="toc-hId-1627107901" id="toc-hId-1627880454"><BR />What You’ll Learn</H4><P>Through this EGI, participants will gain hands-on experience and actionable knowledge in:</P><UL class="lia-list-style-type-square"><LI><STRONG>SAP Business AI Strategy &amp; Foundation</STRONG><SPAN>&nbsp;</SPAN>-&nbsp;Understand SAP’s AI vision, architecture, and trusted approach to delivering responsible, embedded intelligence</LI><LI><STRONG>Commercial Model &amp; AI Units</STRONG><SPAN>&nbsp;</SPAN>- Learn how to navigate Base vs Premium<SPAN>&nbsp;models, the&nbsp;</SPAN>AI Feature Catalog<SPAN>, and use the&nbsp;</SPAN>AI Estimator<SPAN>&nbsp;to plan your adoption journey</SPAN></LI><LI><STRONG>Joule – AI Built for Business</STRONG><SPAN>&nbsp;</SPAN>- Explore Joule’s unified architecture<SPAN>,&nbsp;</SPAN>roadmap<SPAN>, and capabilities across Joule for Business,&nbsp;</SPAN>Joule for Developers, and<SPAN>&nbsp;Joule for&nbsp;</SPAN>Consultants</LI><LI><STRONG>S/4HANA AI &amp; ML Capabilities</STRONG><SPAN>&nbsp;</SPAN>- Experience ISLM in action through AI/ML demo use cases<SPAN>&nbsp;designed to enhance decision-making and process automation</SPAN></LI><LI><STRONG>SAP BTP AI &amp; ML Capabilities</STRONG><SPAN>&nbsp;</SPAN>- Discover how BTP AI Foundation<SPAN>,&nbsp;</SPAN>Document AI<SPAN>,&nbsp;</SPAN>AI Services<SPAN>,&nbsp;</SPAN>AI Core<SPAN>, and&nbsp;</SPAN>AI Launchpad<SPAN>&nbsp;can help you extend and scale innovation</SPAN></LI><LI><STRONG>Joule Activation &amp; Prerequisites</STRONG><SPAN>&nbsp;</SPAN>- Gain a clear view of activation steps, prerequisites<SPAN>, and how to extend Joule with&nbsp;</SPAN>Document Grounding<SPAN>,&nbsp;</SPAN>Joule Studio<SPAN>, and&nbsp;</SPAN>AI Agents</LI></UL><H4 id="toc-hId-1430594396" id="toc-hId-1431366949">Why Attend</H4><P>This workshop goes beyond theory—it’s<SPAN>&nbsp;</SPAN><STRONG>interactive, practical, and guided by SAP experts</STRONG>. By the end, you’ll have:</P><UL class="lia-list-style-type-square"><LI>A clear understanding of SAP’s Business AI strategy and product portfolio</LI><LI>The ability to activate Joule and deploy AI scenarios across your landscape</LI><LI>&nbsp;Actionable steps to integrate AI and Generative AI into your business workflows</LI><LI>Insights into commercial models and AI unit management for smarter planning</LI></UL><P>Whether you’re a business leader shaping AI strategy or a technical consultant implementing it, this EGI equips you to bridge the gap between<SPAN>&nbsp;</SPAN><STRONG>strategy and execution</STRONG>.</P><H4 id="toc-hId-1234080891" id="toc-hId-1234853444">How to Register</H4><H4 id="toc-hId-1038339939"><STRONG><A href="https://accounts.sap.com/saml2/idp/sso?sp=https://www.successfactors.eu/learninghub&amp;RelayState=%2Fsf%2Flearning%3FdestUrl%3Dhttps%253a%252f%252fsaplearninghub%252eplateau%252ecom%252flearning%252fuser%252fdeeplink%255fredirect%252ejsp%253flinkId%253dCATALOG%255fSEARCH%2526sbArSel%253d%2526keywords%253dSUP_EDE_00011814%2526selKeyWordHeader%253dSUP_EDE_00011814%2526catSel%253d%2526srcSel%253dESAC%2526delMthSel%253d%2526ILDateFrm%253d%2526ILDateTo%253d%2526ILBlend%253d%2526ILSchd%253d%2526fromSF%253dY%26company%3Dlearninghub" target="_blank" rel="noopener noreferrer">Register here to secure your spot</A>*&nbsp;</STRONG><SPAN>today to learn from SAP experts and gain the skills to bring&nbsp;<STRONG>Business AI to life</STRONG>&nbsp;across your enterprise.</SPAN></H4><P><SPAN>&nbsp;*&nbsp;<EM>You may need to register your S-user for access to SAP Learning Hub to access the EGI registration page.&nbsp; It is a one-time registration, click&nbsp;<A href="https://support.sap.com/en/offerings-programs/enterprise-support/enterprise-support-academy/learn.html" target="_blank" rel="noopener noreferrer">here.</A></EM></SPAN></P> 2025-10-13T14:51:50.787000+02:00 https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060 [2025-Q4] SAP BTP Adoption Webinars – Unlock the Power of AI, Data, and Integration 2025-10-23T20:29:52.412000+02:00 JiaRu https://community.sap.com/t5/user/viewprofilepage/user-id/1490527 <P><SPAN>Get ready for a packed lineup of</SPAN> <STRONG>expert-led sessions</STRONG> <SPAN>designed to help you accelerate innovation with</SPAN> <STRONG>SAP Business Technology Platform (BTP)</STRONG><SPAN>. From AI best practices to integration and analytics, these webinars will equip you with practical insights and real-world examples you can apply right away.</SPAN></P><P><FONT face="arial,helvetica,sans-serif"><ul =""><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-1892744541">Oct 30 | Pipeline Concept in SAP Integration Suite</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-1696231036">Nov 04 | Service and Service Excellence with AI Driven Insights</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-1499717531">Nov 05 | Best practices for secure and scalable LLM model usage in BTP AI apps with SAP AI Core</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-1303204026">Nov 13 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI - Americas</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-1106690521">Nov 13 | Enablement on SAP Mobile Start and SAP Build Work Zone with Showcase of Joule as AI Copilot</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-910177016">Nov 19 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI - APAC/EMEA</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-713663511">Nov 20 | BTP AI Best Practices – Knowledge Graph-based Retrieval Augmented Generation</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-517150006">Dec 03 | BTP AI Best Practices – Vector-based RAG, Document Grounding, and Examples</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-320636501">Dec 09 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI (Americas Session)</a></li><li style="list-style-type:disc; margin-left:30px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/2025-q4-sap-btp-adoption-webinars-unlock-the-power-of-ai-data-and/ba-p/14252060#toc-hId-124122996">Dec 15 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI (APAC/EMEA Session)</a></li></ul></FONT></P><P>&nbsp;</P><H3 id="ember515" id="toc-hId-1892744541"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Oct 30 | Pipeline Concept in SAP Integration Suite</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>Learn how the pipeline concept accelerates your migration from SAP Process Orchestration to SAP Integration Suite.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.sap.com/noam-iac-btp-int-suite-webinar-pipeline-concept/en_us" target="_self" rel="noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><H3 id="ember524" id="toc-hId-1696231036"><span class="lia-unicode-emoji" title=":calendar:">📅</span>Nov 04 | Service and Service Excellence with AI Driven Insights</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>Experience how SAP solutions transform intelligence into action—turning service into a seamless, revenue-driving experience.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.sap.com/apj-adoption-wb-service-excellence-with-ai-nov-25/en_us/home.html" target="_self" rel="noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><H3 id="ember537" id="toc-hId-1499717531"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Nov 05 | Best practices for secure and scalable LLM model usage in BTP AI apps with SAP AI Core</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Discover how to make secure and scalable large language model usage in BTP AI applications with SAP BTP AI Core.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;Register Now: <A class="" href="https://events.teams.microsoft.com/event/0fa4ed32-defe-425b-b31d-b4c654f61db5@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">EMEA/MEE/APAC Session</A> | <A class="" href="https://events.teams.microsoft.com/event/5b173ab2-8b94-4424-a792-cad2ef0c06a3@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">Americas/EMEA Session</A></P><P class="">&nbsp;</P><H3 id="ember543" id="toc-hId-1303204026"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Nov 13 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI - Americas</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Discover how enterprises are turning AI hype into real business outcomes with SAP BTP.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.teams.microsoft.com/event/506e0408-24e6-436e-8ca1-e3d81844d78e@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><H3 id="ember549" id="toc-hId-1106690521"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Nov 13 | Enablement on SAP Mobile Start and SAP Build Work Zone with Showcase of Joule as AI Copilot</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Discover how to leverage SAP Mobile Start and SAP Build Work Zone as central entry point with Joule AI Copilot for connected SAP solutions.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.sap.com/eur-adoption-webinar-sap-btp-mobile-start-build-joule-september-2025/en_us/home.html" target="_self" rel="noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><H3 id="ember556" id="toc-hId-910177016"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Nov 19 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI - APAC/EMEA</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Discover how enterprises are turning AI hype into real business outcomes with SAP BTP.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.sap.com/apj-adoption-webinar-sap-btp-ai-driven-business-solutions-nov-2025/en_us/home.html" target="_self" rel="noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><H3 id="ember564" id="toc-hId-713663511"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Nov 20 | BTP AI Best Practices – Knowledge Graph-based Retrieval Augmented Generation</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Learn how to combine Knowledge Graphs with Large Language Models for advanced RAG scenarios.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;Register Now: <A class="" href="https://events.teams.microsoft.com/event/0fa4ed32-defe-425b-b31d-b4c654f61db5@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">EMEA/MEE/APAC Session</A> | <A class="" href="https://events.teams.microsoft.com/event/5b173ab2-8b94-4424-a792-cad2ef0c06a3@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">Americas/EMEA Session</A></P><P class="">&nbsp;</P><H3 id="ember570" id="toc-hId-517150006"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Dec 03 | BTP AI Best Practices – Vector-based RAG, Document Grounding, and Examples</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;See how to ground large language models on company-specific data using SAP Document Grounding.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;Register Now: <A class="" href="https://events.teams.microsoft.com/event/ad603257-6fa3-4c3c-a627-160a90ba1872@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">EMEA/MEE/APAC Session</A> | <A class="" href="https://events.teams.microsoft.com/event/866e330f-58dd-4917-bee4-d4139b0b2a92@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">Americas/EMEA Session</A></P><P class="">&nbsp;</P><H3 id="ember579" id="toc-hId-320636501"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Dec 09 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI (Americas Session)</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Discover how enterprises are turning AI hype into real business outcomes with SAP BTP.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.teams.microsoft.com/event/723cb552-206f-466c-8141-f1e3895d7154@42f7676c-f455-423c-82f6-dc2d99791af7" target="_self" rel="nofollow noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><H3 id="ember584" id="toc-hId-124122996"><span class="lia-unicode-emoji" title=":calendar:">📅</span>&nbsp;Dec 15 | AI-Driven Business Solutions – Exploring the Potential of SAP BTP AI (APAC/EMEA Session)</H3><P class=""><span class="lia-unicode-emoji" title=":backhand_index_pointing_right:">👉</span>&nbsp;Discover how enterprises are turning AI hype into real business outcomes with SAP BTP.</P><P class=""><span class="lia-unicode-emoji" title=":link:">🔗</span>&nbsp;<A class="" href="https://events.sap.com/apj-adoption-webinar-sap-btp-ai-driven-business-solutions-dec-2025/en_us/home.html" target="_self" rel="noopener noreferrer">Register Now</A></P><P class="">&nbsp;</P><P class=""><span class="lia-unicode-emoji" title=":light_bulb:">💡</span>Don’t miss the opportunity to <STRONG>learn from SAP experts</STRONG> and <STRONG>accelerate your journey to the Intelligent Enterprise</STRONG>.</P> 2025-10-23T20:29:52.412000+02:00 https://community.sap.com/t5/technology-blog-posts-by-sap/sap-document-ai-in-sap-mdg-using-intelligent-scenario-lifecycle-management/ba-p/14249272 SAP Document AI in SAP MDG using Intelligent Scenario Lifecycle Management (ISLM) 2025-10-29T05:10:35.628000+01:00 mohamedalijinna_nainamoha https://community.sap.com/t5/user/viewprofilepage/user-id/230776 <P><STRONG>Introduction</STRONG></P><P>In this blog, let us understand how to leverage SAP Intelligent Scenario Lifecycle Management (ISLM) to manage Generative AI and AI business services in the SAP MDG. This blog mainly focuses on how to use one of the AI Business Services i.e. Document AI in MDG via ISLM. It is formerly known as Document Information Extraction (DIE).</P><P><STRONG>MDG Scenario</STRONG></P><P>The scenario is to derive the address details from vendor registration PDF document which will be uploaded in the MDG change request. SAP Document AI from BTP is used to read the details from a PDF document and derive the data into MDG change request.</P><P><STRONG>Implementation</STRONG></P><P><STRONG>1. BTP</STRONG></P><P>First of all, The BTP account is needed to create instance on the AI business service - SAP Document AI to read data from PDF. If you do not have a BTP account, please refer this link to create a BTP trial account&nbsp;<A href="https://developers.sap.com/tutorials/hcp-create-trial-account..html" target="_blank" rel="noopener noreferrer">Get an Account on SAP BTP Trial | SAP Tutorials</A>.</P><P><SPAN>You can find the SAP Document AI Trail (DIE) in the service marketplace to create an instance.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761116864064.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330691i0826C3954E14FF30/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761116864064.png" alt="mohamedalijinna_nainamoha_0-1761116864064.png" /></span></P><P>Please make sure instance as well as service key is created. The service key is used later in the ISLM connection mapping configuration.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_2-1761117194251.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330693i5979542C1A57B3AD/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_2-1761117194251.png" alt="mohamedalijinna_nainamoha_2-1761117194251.png" /></span></P><P>Please subscribe to SAP Document AI UI application</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_3-1761117413357.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330694i30D1C4AF8191675E/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_3-1761117413357.png" alt="mohamedalijinna_nainamoha_3-1761117413357.png" /></span></P><P>Assign Role Collection to your user in Security.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761117980124.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330747iE442CD5106375BD7/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761117980124.png" alt="mohamedalijinna_nainamoha_0-1761117980124.png" /></span></P><P>To simplify all the above setup, you can use Booster as alternative to setup the SAP Document AI in BTP.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_4-1761117570563.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330695iA9FFC6F5332C1C1B/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_4-1761117570563.png" alt="mohamedalijinna_nainamoha_4-1761117570563.png" /></span></P><P><STRONG>PDF Document</STRONG></P><P>Please find sample PDF document which will be used as a document template to setup in the SAP Document AI.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_1-1761118678808.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330752i8A3202DDEB0AFBFD/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_1-1761118678808.png" alt="mohamedalijinna_nainamoha_1-1761118678808.png" /></span></P><P><STRONG>Schema Configuration</STRONG>&nbsp;</P><P>Create a custom schema&nbsp;in SAP Document AI Application to extract fields from&nbsp;PDF document.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761119959421.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330764i29626F24AC6E9579/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761119959421.png" alt="mohamedalijinna_nainamoha_0-1761119959421.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_2-1761120114212.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330767i7B95882C083C0153/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_2-1761120114212.png" alt="mohamedalijinna_nainamoha_2-1761120114212.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761120433151.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330769i6D809FC37C3E17D7/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761120433151.png" alt="mohamedalijinna_nainamoha_0-1761120433151.png" /></span></P><P><STRONG>Add Header Fields</STRONG></P><P>Add header fields in the custom schema to map with PDF document. All the fields such as FirstName, LastName, House No, Street, postal code etc. from PDF to map with business partner fields in MDG change request.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761122591216.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330777iBB23E806413921AE/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761122591216.png" alt="mohamedalijinna_nainamoha_0-1761122591216.png" /></span></P><P>Activate the schema after all the fields are added.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_5-1761126001891.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330883iEECD7C827017E878/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_5-1761126001891.png" alt="mohamedalijinna_nainamoha_5-1761126001891.png" /></span></P><P>&nbsp;</P><P><STRONG>Create Template</STRONG></P><P>Template in SAP Business AI that uses schema and associated document.&nbsp;<SPAN>You could edit</SPAN><SPAN>&nbsp;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.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_2-1761124797932.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330864i4868E78C38EBD55C/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_2-1761124797932.png" alt="mohamedalijinna_nainamoha_2-1761124797932.png" /></span></P><P>There is no associated document, so we need to add PDF document now in Documents.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_4-1761124988942.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330873i25DD88A3E20B7D9B/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_4-1761124988942.png" alt="mohamedalijinna_nainamoha_4-1761124988942.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_6-1761126345486.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330886i31F87B57E3E19A08/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_6-1761126345486.png" alt="mohamedalijinna_nainamoha_6-1761126345486.png" /></span></P><P><STRONG>Add Document</STRONG></P><P>Add the PDF document in the Documents in SAP Document AI application and map the schema fields with PDF fields.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_7-1761126583816.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330887iFFBB4D67462EF53E/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_7-1761126583816.png" alt="mohamedalijinna_nainamoha_7-1761126583816.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_10-1761126773682.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330890i030323B51081C63D/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_10-1761126773682.png" alt="mohamedalijinna_nainamoha_10-1761126773682.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_11-1761127391233.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330898iD8008D7D04F84629/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_11-1761127391233.png" alt="mohamedalijinna_nainamoha_11-1761127391233.png" /></span></P><P><STRONG>Add this document to template</STRONG></P><P>Now, click on <EM>Add to Template</EM> Button to add this document to custom template created in one of the above steps.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_13-1761127654186.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330901iA0A5C8205C09062C/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_13-1761127654186.png" alt="mohamedalijinna_nainamoha_13-1761127654186.png" /></span></P><P><STRONG>Activate template</STRONG></P><P><SPAN>Access&nbsp;Template&nbsp;on the left navigation pane to activate it.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_14-1761127856891.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330905i6FAF63BA53AE6E77/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_14-1761127856891.png" alt="mohamedalijinna_nainamoha_14-1761127856891.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_15-1761127912697.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330906i7D339DCB8DDD3DEF/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_15-1761127912697.png" alt="mohamedalijinna_nainamoha_15-1761127912697.png" /></span></P><P>Now, all the setup related to SAP Document AI is completed.</P><P><STRONG>2.&nbsp;Intelligent Scenario Lifecycle Management (ISLM) in MDG System</STRONG></P><UL><LI><SPAN class="">ISLM</SPAN><SPAN>&nbsp;</SPAN>is part of the ABAP Platform offered as core functionality in ABAP stack.&nbsp;</LI><LI><SPAN class="">ISLM</SPAN><SPAN>&nbsp;</SPAN>Framework is developed in<SPAN>&nbsp;</SPAN><SPAN class="">SAP</SPAN><SPAN>&nbsp;</SPAN><SPAN class="">BASIS</SPAN><SPAN>&nbsp;</SPAN>Component from ABAP Platform 2020 delivery with&nbsp;<SPAN><SPAN class="">SAP</SPAN>&nbsp;<SPAN class="">BASIS</SPAN>&nbsp; 755 / 7.8x</SPAN>&nbsp;onwards.</LI><LI><SPAN class="">ISLM</SPAN><SPAN>&nbsp;</SPAN>facilitates and helps to consume the Machine learning scenarios with an ABAP based Business Application seamlessly</LI><LI>ISLM helps to integrate AI and AI Business services into MDG system (S/4HANA).</LI><LI>ISLM offers an end-to-end framework to manage both pre-delivered and custom AI scenarios in SAP S/4HANA<SPAN>.</SPAN></LI></UL><P>In this example, would like to walk through custom AI-DAR scenario through ISLM.</P><P>The below configuration is to be completed in MDG system to enable ISLM related applications.</P><UL class="lia-list-style-type-circle"><LI><A href="https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/1fa099506cdf49d28a16b601b028bca4.html?version=2023.003" target="_blank" rel="noopener noreferrer">Setting up the OData Services</A></LI><LI><A href="https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/3728374c3684472dbab6ce188ffffc7a.html?version=2023.003" target="_blank" rel="noopener noreferrer">Setting up the bgRFC Queue</A></LI><LI><A href="https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/cf494c37402441f4935891923b80eff0.html?version=2023.003" target="_blank" rel="noopener noreferrer">Configuring Business Roles for the Backend</A></LI><LI><A href="https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/187047e22556452797074a00bbdd5a90.html?version=2023.003" target="_blank" rel="noopener noreferrer">Configuring Business Roles for the Frontend</A></LI></UL><P>Please make sure that role SAP_BR_ANALYTICS_SPECIALIST is assigned to the user which is required to access the below Intelligent Scenario Apps.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761128511125.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330908i073B5C9C2AA136DB/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761128511125.png" alt="mohamedalijinna_nainamoha_0-1761128511125.png" /></span></P><P>&nbsp;</P><P>Click on<SPAN>&nbsp;</SPAN><EM>Intelligent Scenarios App</EM><SPAN>&nbsp;</SPAN>to create an intelligent scenario to consume AI business service SAP Document AI (DIE).</P><P>As you may aware, SAP ISLM provides two options as Embedded and Side-by-Side. In this example, would like to cover side-by-side scenario. So, click on create Button to initiate a side-by-side scenario creation.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_1-1761128511603.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330909i426294E7ED293218/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_1-1761128511603.png" alt="mohamedalijinna_nainamoha_1-1761128511603.png" /></span></P><P>&nbsp;</P><P>Enter Scenario Name, Description and Type as<SPAN>&nbsp;</SPAN><EM>Document Information Extraction</EM>.</P><P>It is recommended to use $TMP local package in ISLM until the Intelligent scenario is developed and tested thoroughly. After finalization,&nbsp;<SPAN>create the application package specific intelligent scenario.&nbsp;<SPAN class="">ISLM</SPAN>&nbsp;creates 'Intelligent Scenario' as an ABAP Object (Transportable / added to a&nbsp;<SPAN class="">TR</SPAN>&nbsp;based on catalog/package).</SPAN></P><P><SPAN>Create a prediction class with interface IF_ISLM_INTS_SBS_DOCX which will be assigned in the intelligent scenario.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761134446774.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330974iE7BB85FA5A402E50/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761134446774.png" alt="mohamedalijinna_nainamoha_0-1761134446774.png" /></span></P><P><SPAN>The intelligent scenario could be published after all the above steps are done.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_1-1761134634146.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330983i24D6E1099D4615D9/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_1-1761134634146.png" alt="mohamedalijinna_nainamoha_1-1761134634146.png" /></span></P><P><SPAN>Maintain connection mapping between intelligent scenario and SAP Document AI (DIE) service (BTP) using service key and oAuth profile through the transaction ISLM_CONN_MAP.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_2-1761134852043.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330991iB6DE3176CB407767/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_2-1761134852043.png" alt="mohamedalijinna_nainamoha_2-1761134852043.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_3-1761135002631.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/330995i894DC20236959D2C/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_3-1761135002631.png" alt="mohamedalijinna_nainamoha_3-1761135002631.png" /></span></P><P><SPAN>In the <EM>Intelligent scenario management App</EM>, the deployment of intelligent scenario needs to be activated.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761232746978.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/331701i500D6BD2502EF8CD/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761232746978.png" alt="mohamedalijinna_nainamoha_0-1761232746978.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_1-1761232854665.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/331702iD07FB059C8BD8DFF/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_1-1761232854665.png" alt="mohamedalijinna_nainamoha_1-1761232854665.png" /></span></P><P><STRONG>3. Master Data Governance (MDG)</STRONG></P><P><SPAN>In MDG, Cross entity derivation BADI could be used to call the Document AI via ISLM in MDG change request. In the BADI, it will read the name and address details using Document AI from PDF, which is attached in the MDG CR, and it will derive this information in the CR.</SPAN></P><P><STRONG>Execution</STRONG></P><P>To execute this scenario, attach the PDF document in the MDG CR header and select BP grouping in the CR, it will trigger the BADI to derive the name and address details from PDF to MDG change request.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_0-1761270596687.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/331794i8FFFE89BF7CD059D/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_0-1761270596687.png" alt="mohamedalijinna_nainamoha_0-1761270596687.png" /></span></P><P>The file name and file title could be any and it is not fixed to any particular name.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_1-1761270851702.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/331795i72C6B291B4C0BC0E/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_1-1761270851702.png" alt="mohamedalijinna_nainamoha_1-1761270851702.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_2-1761270990624.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/331796iB242CED2D0115BBC/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_2-1761270990624.png" alt="mohamedalijinna_nainamoha_2-1761270990624.png" /></span></P><P>Now, the name and address details are derived in the CR from PDF document.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohamedalijinna_nainamoha_3-1761271182961.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/331797iA70679562B32EA3A/image-size/large?v=v2&amp;px=999" role="button" title="mohamedalijinna_nainamoha_3-1761271182961.png" alt="mohamedalijinna_nainamoha_3-1761271182961.png" /></span></P><P><STRONG>Conclusion</STRONG></P><P><SPAN>In this blog post, we have learnt how to derive fields in the MDG change request from PDF document using SAP Document AI via ISLM.</SPAN></P><P>&nbsp;</P> 2025-10-29T05:10:35.628000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/joule-document-grounding-with-sap-build-work-zone-advanced-edition-rag/ba-p/14260070 Joule - Document Grounding with SAP Build Work Zone, advanced edition (RAG) 2025-11-07T01:08:40.886000+01:00 KumarG9 https://community.sap.com/t5/user/viewprofilepage/user-id/1945684 <H2 id="toc-hId-1764525792"><FONT color="#000000"><STRONG>Setting up Document Grounding for SAP Build Work Zone, advanced edition</STRONG></FONT></H2><P>Document grounding (SAP’s implementation of RAG) is a foundational Joule capability which can provide more comprehensive responses by drawing from business documents located in SAP and third-party repositories.</P><P class="">Grounding is a service designed to handle data-related tasks, such as grounding and retrieval, using vector databases. It provides specialized data retrieval through these databases, grounding the retrieval process with your own external and context-relevant data. Grounding combines generative AI capabilities with the ability to use real-time, precise data to improve decision-making and business operations for specific AI-driven business solutions.</P><P class=""><SPAN>Grounding converts user provided documents into vector representations which are stored as a database. The indexing pipeline preprocesses unstructured and semi structured data into chunks and embeddings and the retrieval pipeline takes incoming user queries and converts them into vector representations. The query vectors are used to search the database and retrieval relevant information.</SPAN></P><P class=""><SPAN><STRONG>Prerequisites:</STRONG> Before triggering the setup process, make sure that you’ve purchased the AI Unit SKU (8019164) OR AI Units SKU - 8018592. After you’ve done so, the entitlements for document grounding are automatically added to your global account. Validate if you can see the entitlement "Document Grounding" in Global Account -&gt; Service Assignment area.</SPAN></P><DIV><H4 id="topic-title" id="toc-hId-1826177725">Document Grounding now supports two authentication mechanisms. Please check the<SPAN>&nbsp;</SPAN><A title="Configure Access from&nbsp;SAP BTP" href="https://help.sap.com/docs/JOULE/6189c8655c484916bb8eb767126a653a/753bb61132d9436c81d55de3f8cac40e.html?version=CLOUD" target="_blank" rel="noopener noreferrer">Configure Access from&nbsp;SAP BTP</A><SPAN>&nbsp;</SPAN>before you start your setup.</H4></DIV><P>This blog focuses on setting up <STRONG>Document Grounding</STRONG> with <STRONG>SAP Build Work Zone, advanced edition</STRONG>. If you need to setup Document Grounding for <STRONG>Microsoft&nbsp;Sharepoint</STRONG>, please refer to this blog written by Nagesh:&nbsp;<A href="https://community.sap.com/t5/technology-blog-posts-by-sap/joule-getting-started-with-document-grounding-setup-guide/ba-p/13739501" target="_blank">https://community.sap.com/t5/technology-blog-posts-by-sap/joule-getting-started-with-document-grounding-setup-guide/ba-p/13739501</A></P><P><STRONG>Document types supported for SAP Build Work Zone, advanced edition</STRONG>:&nbsp;Blog posts, DOCX, JPEG, JPG, JSON, Knowledge base articles, PDF, PNG, PPTX, TIFF, TXT, Wiki pages (<A href="https://help.sap.com/docs/joule/integrating-joule-with-sap/set-up-document-grounding" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/joule/integrating-joule-with-sap/set-up-document-grounding</A>)</P><P>&nbsp;</P><H2 id="toc-hId-1371498782"><FONT color="#000000"><STRONG>Setup Steps</STRONG></FONT></H2><P><STRONG>Step 1: Enable Document Grounding capabilities in SAP Build Work Zone, advanced Edition</STRONG></P><P><STRONG>Step 2: Enable Document Grounding for Workspaces &amp; Sub-Workspaces in SAP Build Work Zone, advanced Edition</STRONG></P><P><STRONG>Step 3: Explore Content Locations — Blogs, Wikis, and Documents for Grounding</STRONG></P><P><STRONG>Step 4: Use an Existing Joule Subaccount or Create a New One to Set Up Document Grounding</STRONG></P><P><STRONG>Step 5: Create Certificate and RSA Key Files</STRONG></P><P><STRONG>Step 6: Run cURL commands to setup Document Grounding pipelines</STRONG></P><P><STRONG>Step 7: Verify and Test Joule</STRONG></P><P><STRONG>Step 8: Appendix</STRONG></P><P>&nbsp;</P><H3 id="toc-hId-1304067996"><U><STRONG>Step 1: Enable Document Grounding capabilities in SAP Build Work Zone, advanced Edition</STRONG></U></H3><P>Navigate to SAP Build Work Zone, advanced Edition → App Finder → Administration Console.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762280144246.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336190i6C8F492842FC5910/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762280144246.png" alt="KumarG9_0-1762280144246.png" /></span></P><P>In the <STRONG>Administration Console</STRONG>, go to <STRONG>External Integrations → OAuth Clients</STRONG>, and click <STRONG>Add OAuth Client</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762280144247.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336192iE6DB9F68EA72A025/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762280144247.png" alt="KumarG9_1-1762280144247.png" /></span></P><P>Enter a <STRONG>Name</STRONG> and an <STRONG>Integration URL</STRONG> for the OAuth client.</P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><STRONG>Note:</STRONG><SPAN> The Integration URL is not validated, so you can enter any placeholder value.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762280144248.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336191i30A12D7EFB6F277E/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762280144248.png" alt="KumarG9_2-1762280144248.png" /></span></P><P>After saving the <STRONG>OAuth Client</STRONG>, click <STRONG>View</STRONG> to display the <STRONG>Client Key</STRONG> and <STRONG>Client Secret</STRONG>.<BR />Copy these values. You will need them later during the integration setup.</P><P><STRONG>OAuth Client Key:</STRONG>&nbsp;dgkey123456</P><P><STRONG>OAuth Client Secret:</STRONG>&nbsp;dgsecretabcdef</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762413386186.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336771iD86DC70C22594518/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762413386186.png" alt="KumarG9_0-1762413386186.png" /></span></P><P>Navigate to <STRONG>Administration Console → Feature Enablement → Features</STRONG><BR />Enable the <STRONG>Document Grounding Integration</STRONG> feature, and then select the <STRONG>OAuth Client</STRONG> you created in the previous step.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_4-1762280144250.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336195i1B142C9AAEAE6C20/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="KumarG9_4-1762280144250.png" alt="KumarG9_4-1762280144250.png" /></span></P><P>From the <STRONG>Administration Console → Overview</STRONG> page, copy the <STRONG>DWS URL</STRONG>.<BR />For example:&nbsp;<A href="https://abcdef.eu10-1.dws.workzone.ondemand.com" target="_blank" rel="noopener nofollow noreferrer">https://abcdef.eu10-1.dws.workzone.ondemand.com</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762413645867.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336772iE0E6D0015FD7D920/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762413645867.png" alt="KumarG9_1-1762413645867.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-1107554491"><U><STRONG>Step 2: Enable Document Grounding for Workspaces &amp; Sub-Workspaces in SAP Build Work Zone, advanced Edition</STRONG></U></H3><P>Workspaces and Sub-Workspaces both need to be enabled for Document Grounding. Selecting only the "Workspace" does not automatically enable Document Grounding in "Sub-Workspaces"</P><P>Navigate to <STRONG>SAP Build Work Zone, advanced Edition → Workspaces → New Workspace</STRONG>, and select <STRONG>Public Workspace</STRONG>.</P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="3"><STRONG>Note:</STRONG> Document Grounding is supported only for <STRONG>Public Workspaces</STRONG>. If you have an existing <STRONG>Private Workspace</STRONG>, you can convert it to a Public Workspace from the <STRONG>Workspace Admin Settings</STRONG>.</FONT></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762406708942.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336721i2E2C2A51A8DE077D/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762406708942.png" alt="KumarG9_0-1762406708942.png" /></span></P><P>In the workspace, navigate to <STRONG>Workspace Admin Settings → Edit Workspace</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762407241279.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336722i4FD506C36C185E39/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762407241279.png" alt="KumarG9_1-1762407241279.png" /></span></P><P>Select the checkbox for <STRONG>Document Grounding</STRONG> to enable grounding for the workspace and then click <STRONG>Save</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762407520871.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336723i3A2097AA37CF5390/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762407520871.png" alt="KumarG9_2-1762407520871.png" /></span></P><P><STRONG>Note:</STRONG> If your setup includes a <STRONG>Sub-Workspace</STRONG>, make sure to enable <STRONG>Document Grounding</STRONG> there as well.<BR />Enabling it at the main <STRONG>Workspace</STRONG> level does <STRONG>not</STRONG> automatically activate it for any Sub-Workspaces.</P><P>You can also manage <STRONG>Document Grounding</STRONG> across all workspaces by navigating to <STRONG>SAP Build Work Zone, advanced Edition → Administration Console → Workspaces</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_41-1762280144278.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336231i458799548CB0DA6C/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_41-1762280144278.png" alt="KumarG9_41-1762280144278.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-911040986"><U><STRONG>Step 3: Explore Content Locations — Blogs, Wikis, and Documents for Grounding</STRONG></U></H3><P>Documents in <STRONG>SAP Build Work Zone, advanced edition</STRONG>&nbsp;can be uploaded as <STRONG>individual files</STRONG> or referenced from other content areas such as <STRONG>Blogs</STRONG>, <STRONG>Wikis</STRONG>, and <STRONG>Knowledge Base articles</STRONG>.<BR />In these cases, the entire <STRONG>page or article</STRONG> is treated as grounding content. All such sources are indexed and leveraged by <STRONG>Joule</STRONG> to provide accurate, context-aware responses based on your organization’s information.</P><P><STRONG>3.a Content / Files:</STRONG><BR />In your workspace, go to <STRONG>Content</STRONG> to view existing files or upload new documents that will be used for document grounding.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_42-1762280144279.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336234i85F90BCC5949E07E/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="KumarG9_42-1762280144279.png" alt="KumarG9_42-1762280144279.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762408925739.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336731i0A72CF18295AE76F/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762408925739.png" alt="KumarG9_1-1762408925739.png" /></span></P><P><STRONG>3.b Knowledge Base:</STRONG><BR />In your workspace, go to <STRONG>Knowledge Base</STRONG> to create and manage knowledge base articles that can be used for document grounding.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_3-1762409513131.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336738i910308C806230B94/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_3-1762409513131.png" alt="KumarG9_3-1762409513131.png" /></span></P><P><STRONG>3.c Blog or Wiki:</STRONG><BR />In the <STRONG>Content</STRONG> area, click <STRONG>Create</STRONG> to add a new <STRONG>Blog</STRONG> or <STRONG>Wiki</STRONG> page. These pages will be indexed and used as grounding content.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_4-1762410149951.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336744i30014EF5CEA6097C/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_4-1762410149951.png" alt="KumarG9_4-1762410149951.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-714527481"><U><STRONG>Step 4: Use an Existing Joule Subaccount or Create a New One to Set Up Document Grounding</STRONG></U></H3><P>Document Grounding must be configured in the <STRONG>same subaccount</STRONG> where <STRONG>Joule</STRONG> (or <STRONG>Unified Joule</STRONG>) is enabled.<BR />Select the subaccount where Joule is already set up and verify that it is hosted in a <STRONG>supported region</STRONG>.</P><P><STRONG>AWS:</STRONG> ap10 – Australia (Sydney), ap11 – Asia Pacific (Singapore), eu10 – Europe (Frankfurt), eu11 – Europe (Frankfurt, EU Access), jp10 – Japan (Tokyo), us10 – US East (VA)<BR /><STRONG>Google Cloud:</STRONG> ap30 – Australia (Sydney), eu30 – Europe (Frankfurt), us30 – US Central (IA)<BR /><STRONG>Microsoft Azure:</STRONG> ap20 – Australia (Sydney), eu20 – Europe (Netherlands), us21 – US East (VA)</P><P>For the latest list of supported regions, refer to the official documentation:<A href="https://help.sap.com/docs/joule/integrating-joule-with-sap/supported-regions" target="_blank" rel="noopener noreferrer">&nbsp;Supported Regions for Document Grounding</A></P><H4 id="toc-hId-647096695">&nbsp;</H4><H4 id="toc-hId-450583190"><STRONG>4.a Scenarios for Setting Up Document Grounding</STRONG></H4><P>Depending on how <STRONG>SAP Build Work Zone</STRONG> is configured in relation to your <STRONG>Joule formation</STRONG>, there are four possible setup paths. As mentioned earlier, the <STRONG>Document Grounding</STRONG> service must always be <STRONG>added to the Joule subaccount</STRONG>.<BR />However, depending on your environment, <STRONG>SAP Build Work Zone, advanced edition</STRONG>&nbsp;may be deployed in the same subaccount or in a different one.<BR />The following options outline the supported configurations.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762938383830.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/339216iB082D7F048AC60EA/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="KumarG9_1-1762938383830.png" alt="KumarG9_1-1762938383830.png" /></span></P><H5 id="toc-hId-383152404"><STRONG>4.a.1 – Unified Joule Already Exists with SAP Build Work Zone, standard Edition</STRONG></H5><P>You already have <STRONG>Joule</STRONG> configured, and <STRONG>SAP Build Work Zone, standard Edition</STRONG> is part of the same Joule formation.<BR />In this case:</P><UL><LI><STRONG>Joule</STRONG> remains integrated with <STRONG>SAP Build Work Zone, standard Edition</STRONG> (the Joule icon will only appear there).</LI><LI>You can still use <STRONG>SAP Build Work Zone, advanced edition</STRONG>&nbsp;for <STRONG>Document Grounding</STRONG>, but it won’t display the Joule icon because only <STRONG>one system instance</STRONG> can be part of a Joule formation.</LI></UL><P><STRONG>Steps</STRONG></P><OL><LI>Navigate to your <STRONG>Joule subaccount</STRONG> in <STRONG>BTP Cockpit</STRONG>.</LI><LI>Go to <STRONG>Entitlements </STRONG><STRONG>→ Add</STRONG>.</LI><LI>Search for and <STRONG>add the “Document Grounding” service plan</STRONG>.</LI></OL><P>&nbsp;</P><H5 id="toc-hId--733563922">&nbsp;<STRONG>4.a.2 – Unified Joule Already Exists with SAP Build Work Zone, advanced edition</STRONG></H5><P>You already have <STRONG>Joule</STRONG> set up and integrated with <STRONG>SAP Build Work Zone, advanced Edition</STRONG>.<BR />In this scenario, you can directly <STRONG>enable Document Grounding</STRONG> in the same subaccount.</P><P><STRONG>Steps</STRONG></P><OL><LI>Navigate to your <STRONG>Joule subaccount</STRONG>.</LI><LI>Go to <STRONG>Entitlements </STRONG><STRONG>→ Add</STRONG>.</LI><LI>Search for and <STRONG>add the “Document Grounding” service plan</STRONG>.</LI></OL><P>&nbsp;</P><P>Reference (optional): For more details on Setting up Unified Joule for scenarios <STRONG>4.a.3</STRONG> and <STRONG>4.a.4</STRONG> below you can refer to the SAP Community Blog:<BR /><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/joule-end-to-end-setup-guide-for-all-line-of-business-unified-approach/ba-p/13964602" target="_blank">Joule End-to-End Setup Guide for All Lines of Business – Unified Approach</A></P><P>&nbsp;</P><H5 id="toc-hId--930077427"><STRONG>4.a.3 – Setting Up Unified Joule for the First Time and Connecting an Existing SAP Build Work Zone, advanced edition</STRONG></H5><P>You are enabling <STRONG>Unified Joule</STRONG> for the first time and want to use an <STRONG>existing SAP Build Work Zone, advanced Edition</STRONG> that resides in a different subaccount.<BR />In this setup, the <STRONG>Joule subaccount</STRONG> will host <STRONG>Joule</STRONG> and <STRONG>Document Grounding</STRONG> services only—<STRONG>no Work Zone Standard</STRONG>—while your existing <STRONG>Work Zone Advanced Edition</STRONG> will be linked to Joule during the booster configuration.</P><P><STRONG>Steps</STRONG></P><OL><LI><STRONG>Create a new subaccount</STRONG> in your global account to host Joule.</LI><LI>Navigate to <STRONG>Trust Configuration </STRONG><STRONG>→ Establish Trust</STRONG> and set up trust with <STRONG>Cloud Identity Services (CIS / IAS)</STRONG>.</LI><LI>Go to <STRONG>Entitlements </STRONG><STRONG>→ Edit </STRONG><STRONG>→ Add Service Plans</STRONG>, and add:</LI><UL><LI><STRONG>Joule</STRONG></LI><LI><STRONG>Document Grounding</STRONG></LI></UL><LI>From your <STRONG>Global Account</STRONG>, open <STRONG>Boosters </STRONG><STRONG>→ Set Up Joule</STRONG>, and click <STRONG>Start</STRONG>.</LI><LI>When prompted, <STRONG>select your new Joule subaccount</STRONG> and proceed through the booster steps.</LI><LI>In the booster flow, choose to <STRONG>connect your existing SAP Build Work Zone Advanced Edition</STRONG> tenant to the Joule formation.</LI><LI>Complete the booster to finish the configuration. Once successful, Joule will be active in the Joule subaccount and integrated with your existing Work Zone Advanced Edition tenant.</LI></OL><P><STRONG>&nbsp;</STRONG></P><H5 id="toc-hId--1126590932"><STRONG>4.a.4 – Setting Up Unified Joule for the First Time (SAP Build Work Zone, advanced edition in the Same Joule Subaccount)</STRONG></H5><P>You are setting up <STRONG>Unified Joule</STRONG> for the first time and intend to deploy <STRONG>SAP Build Work Zone, advanced Edition</STRONG> directly within the same Joule subaccount (rather than linking an existing external Work Zone tenant).<BR />This configuration keeps all related services — <STRONG>Joule</STRONG>, <STRONG>Document Grounding</STRONG>, and <STRONG>Work Zone Advanced</STRONG> — together in one managed environment.</P><P><STRONG>Steps</STRONG></P><OL><LI><STRONG>Create a new subaccount</STRONG> in your <STRONG>BTP Cockpit</STRONG> to host Joule and Work Zone Advanced.</LI><LI>Navigate to <STRONG>Trust Configuration </STRONG><STRONG>→ Establish Trust</STRONG>, and set up trust with <STRONG>Cloud Identity Services (CIS / IAS)</STRONG>.</LI><LI>Go to <STRONG>Entitlements </STRONG><STRONG>→ Edit </STRONG><STRONG>→ Add Service Plans</STRONG>, and add the following:</LI><UL><LI><STRONG>Joule</STRONG></LI><LI><STRONG>SAP Build Work Zone – Advanced Edition</STRONG><BR />(add both <EM>advanced</EM> and <EM>advanced (application)</EM> service plans)</LI><LI><STRONG>Document Grounding</STRONG></LI></UL><LI>From your <STRONG>Global Account</STRONG>, open <STRONG>Boosters </STRONG><STRONG>→ Get Started with SAP Build Work Zone, a</STRONG><STRONG>dvanced Edition</STRONG>, and complete the booster to provision the Work Zone Advanced tenant.<BR />Refer to the official help documentation for detailed guidance:<BR /><A href="https://help.sap.com/docs/build-work-zone-advanced-edition/sap-build-work-zone-advanced-edition/onboarding-to-sap-build-work-zone-advanced-edition" target="_blank" rel="noopener noreferrer">Onboarding to SAP Build Work Zone Advanced Edition</A></LI><LI>After Work Zone Advanced is successfully provisioned, open <STRONG>Boosters </STRONG><STRONG>→ Set Up Joule</STRONG>, and click <STRONG>Start</STRONG>.</LI><LI>Select your newly created subaccount and proceed through the Joule booster steps.</LI><LI>When prompted, choose <STRONG>SAP Build Work Zone, advanced Edition</STRONG> to integrate it with Joule.</LI></OL><P>&nbsp;</P><H3 id="toc-hId--736298423"><STRONG>Optional Steps</STRONG></H3><P>If you would like to <STRONG>enable Joule in SAP Build Work Zone, advanced edition</STRONG>, refer to the following blog for detailed guidance:<BR /><span class="lia-unicode-emoji" title=":link:">🔗</span> <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/joule-is-now-integrated-into-sap-build-work-zone-advanced-edition/ba-p/14252774" target="_new">Joule is Now Integrated into SAP Build Work Zone, Advanced Edition</A></P><P>If you would like to <STRONG>enable Joule in SAP Build Work Zone, standard edition</STRONG>, follow the steps described in this blog:<BR /><span class="lia-unicode-emoji" title=":link:">🔗</span> <A class="" href="https://community.sap.com/t5/technology-blog-posts-by-sap/activate-joule-with-sap-build-work-zone-and-sap-mobile-start/ba-p/13999940" target="_new">Activate Joule with SAP Build Work Zone and SAP Mobile Start</A></P><P>&nbsp;</P><H3 id="toc-hId--932811928"><FONT color="#3366FF">After completion of Step 4.a.1 or&nbsp;</FONT><FONT color="#3366FF">4.a.2 or&nbsp;</FONT><FONT color="#3366FF">4.a.3&nbsp;</FONT><FONT color="#3366FF">or 4.a.4 proceed to create a Destination</FONT></H3><P>&nbsp;</P><P><STRONG>4.b Create Destination</STRONG></P><P>In your <STRONG>Joule Subaccount</STRONG>, navigate to <STRONG>Destinations → Create → From Scratch</STRONG>.&nbsp;Enter a <STRONG>Name</STRONG> for the destination. Add the values provided below</P><P><STRONG>Name:&nbsp;HGDGBWZ924</STRONG> (You can have any name)</P><TABLE><TBODY><TR><TD><P><STRONG>Property</STRONG></P></TD><TD><P><STRONG>Value</STRONG></P></TD></TR><TR><TD><P>URL</P></TD><TD><P>The URL is&nbsp;<A href="https://%3cDWS" target="_blank" rel="noopener nofollow noreferrer">https://&lt;DWS</A> URL&gt;/api/v1/dg-pipeline/metadata</P><P>Check <STRONG>DWS URL</STRONG> in the <STRONG>SAP Build Work Zone, advanced edition&nbsp;-&gt; Admin Console -&gt; Overview</STRONG></P><P>E.g:&nbsp;<A href="https://abcdef.eu10-1.dws.workzone.ondemand.com/api/v1/dg-pipeline/metadata" target="_blank" rel="noopener nofollow noreferrer">https://abcdef.eu10-1.dws.workzone.ondemand.com/api/v1/dg-pipeline/metadata</A></P></TD></TR><TR><TD><P>Type</P></TD><TD><P>HTTP</P></TD></TR><TR><TD><P>Proxy Type</P></TD><TD><P>Internet</P></TD></TR><TR><TD><P>Authentication</P></TD><TD><P>OAuth2ClientCredentials</P></TD></TR><TR><TD><P>Client ID</P></TD><TD><P>Enter the value of the <STRONG>OAuth client&nbsp;Key</STRONG>&nbsp;from BWZ Advanced created in Step 1</P><P>OAuth Client Key:&nbsp;dgkey123456</P></TD></TR><TR><TD><P>Client Secret</P></TD><TD><P>Enter the value of the <STRONG>OAuth client&nbsp;Secret</STRONG>&nbsp;from BWZ Advanced created in Step 1</P><P>OAuth Client Secret:&nbsp;dgsecretabcdef</P></TD></TR><TR><TD><P>Token Service URL Type</P></TD><TD><P>Dedicated</P></TD></TR><TR><TD><P>Token Service URL</P></TD><TD><P>Enter your <STRONG>&lt;DWS URL&gt;/api/v1/auth/token</STRONG></P><P>E.g:&nbsp;<A href="https://abcdef.eu10-1.dws.workzone.ondemand.com/api/v1/auth/token" target="_blank" rel="noopener nofollow noreferrer">https://abcdef.eu10-1.dws.workzone.ondemand.com/api/v1/auth/token</A></P><P>Check DWS URL in the <STRONG>BWZ Advanced -&gt; Admin Console -&gt; Overview</STRONG></P></TD></TR><TR><TD><P><STRONG>Additional Properties</STRONG></P></TD><TD><P><STRONG>(Click&nbsp;New Property&nbsp;and manually add these properties to the destination)</STRONG></P></TD></TR><TR><TD><P>HTML5.DynamicDestination</P></TD><TD><P>true</P></TD></TR><TR><TD><P>SetXForwardedHeaders</P></TD><TD><P>false</P></TD></TR><TR><TD><P>HTML5.SetXForwardedHeaders</P></TD><TD><P>false</P></TD></TR></TBODY></TABLE><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762414338214.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336774i1C8208C299B48B71/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762414338214.png" alt="KumarG9_2-1762414338214.png" /></span></P><P><STRONG>4.c Create Document Grounding Service Instance</STRONG></P><P>In your <STRONG>Joule Subaccount</STRONG>, go to <STRONG>Service Marketplace → Document Grounding → Create</STRONG>.</P><UL><LI><P><STRONG>Select Runtime Environment:</STRONG> <EM>Other</EM></P></LI><LI><P><STRONG>Enter an Instance Name:</STRONG> for example, <CODE>groundingcli</CODE></P></LI><LI><P>Click <STRONG>Create</STRONG></P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_7-1762280144253.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336196iFAFCCF1FDB23B978/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_7-1762280144253.png" alt="KumarG9_7-1762280144253.png" /></span></P><P><STRONG>Create a Service Binding for the Document Grounding Instance</STRONG></P><P>In your Subaccount, navigate to Instances &amp; Subscriptions → Instances<BR />Select your <STRONG>Document Grounding Service Instance</STRONG>, then proceed to <STRONG>"Create Service Binding"</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_8-1762280144254.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336197iEA9636E2DBDF487A/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_8-1762280144254.png" alt="KumarG9_8-1762280144254.png" /></span></P><P>Enter a <STRONG>Binding Name</STRONG>, for example: <CODE>groundingkey</CODE>, and click <STRONG>Create</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_9-1762280144254.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336200i936F9A4961E62DB0/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_9-1762280144254.png" alt="KumarG9_9-1762280144254.png" /></span></P><P>Copy the mTLS Document Grounding Service Binding URL&nbsp;<STRONG>(MTLS URL)</STRONG> for later use.</P><P>E.g: <A href="https://mtls.rage.c-1111.kyma.ondemand.com" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_3-1762414943511.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336777i87E5FB2DE993B17C/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_3-1762414943511.png" alt="KumarG9_3-1762414943511.png" /></span></P><P><STRONG>4.d Create Cloud Identity Services Instance</STRONG></P><P>In your <STRONG>Subaccount</STRONG>, navigate to <STRONG>Services → Service Marketplace → Cloud Identity Services → Create</STRONG>.</P><UL><LI><P><STRONG>Plan:</STRONG> <CODE>application</CODE></P></LI><LI><P><STRONG>Runtime Environment:</STRONG> <CODE>Other</CODE></P></LI><LI><P><STRONG>Instance Name:</STRONG> <CODE>groundingCIS</CODE></P></LI></UL><P>Then click <STRONG>Next</STRONG> (do not click <EM>Create</EM> yet).</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_11-1762280144256.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336201i13BA345FE2D57A86/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_11-1762280144256.png" alt="KumarG9_11-1762280144256.png" /></span></P><P>In the <STRONG>Parameters</STRONG> section, enter the following JSON — replacing <CODE>&lt;doc-grounding-instance-name&gt;</CODE> with the <STRONG>Document Grounding Service Instance Name</STRONG> you created earlier (E.g: groundingcli) — and then click <STRONG>Create</STRONG>.</P><pre class="lia-code-sample language-json"><code>{ "consumed-services":[ { "service-instance-name":"&lt;doc-grounding-instance-name&gt;" } ] }</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_12-1762280144257.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336203iA3624B358C228D62/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_12-1762280144257.png" alt="KumarG9_12-1762280144257.png" /></span></P><P>In your <STRONG>Subaccount</STRONG>, navigate to <STRONG>Instances &amp; Subscriptions → Instances</STRONG><BR />Select your <STRONG>Cloud Identity Services Instance</STRONG>, then proceed to&nbsp;"<STRONG>Create Service Binding"</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_13-1762280144257.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336204i764F85EF06BEE3EE/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_13-1762280144257.png" alt="KumarG9_13-1762280144257.png" /></span></P><P>Enter a <STRONG>Service Binding Name</STRONG>, for example: <CODE>cisSK</CODE>, and provide the following parameters. Then click <STRONG>Create</STRONG></P><pre class="lia-code-sample language-json"><code>{ "credential-type": "X509_GENERATED", "validity": 365, "validity-type": "DAYS" }</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_14-1762280144258.png" style="width: 603px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336202iE31C994E23C072D2/image-dimensions/603x461?v=v2" width="603" height="461" role="button" title="KumarG9_14-1762280144258.png" alt="KumarG9_14-1762280144258.png" /></span></P><P>Download the <STRONG>Service Binding</STRONG> file for the <STRONG>Cloud Identity Services</STRONG> instance.</P><P>&nbsp;</P><H3 id="toc-hId--1129325433"><U><STRONG>Step 5: Create Certificate and RSA Key Files</STRONG></U></H3><P>You’ll now create two files required for secure communication between <STRONG>Document Grounding</STRONG> and <STRONG>Cloud Identity Services (CIS)</STRONG>.</P><P>Open the <STRONG>CIS Service Binding</STRONG> file and copy the following values:</P><UL><LI><P><STRONG>clientid</STRONG></P></LI><LI><P><STRONG>authorization_endpoint</STRONG></P></LI></UL><P>Then, update the <STRONG>authorization_endpoint</STRONG> by replacing <CODE>/oauth2/authorize</CODE> with <CODE>/oauth2/token</CODE></P><P><STRONG>E.g: clientid</STRONG>: aaa-bbb-ccc-ddd-eee</P><P><STRONG>E.g: authorization_endpoint</STRONG>: <A href="https://azr2ixkzu.accounts.ondemand.com/oauth2/token" target="_blank" rel="noopener nofollow noreferrer">https://abc2wxyz.accounts.ondemand.com/oauth2/token</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762417739545.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336792i680A85BA96319D7A/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762417739545.png" alt="KumarG9_0-1762417739545.png" /></span></P><P>Copy the<STRONG>&nbsp;certificates (there are 2 certificates)</STRONG>&nbsp;from the CIS Service Binding file (Starting with "----BEGIN CERTIFICATE---- to ----End CERTIFICATE----" and <STRONG>RSA key</STRONG> (Starting with ----BEGIN RSA PRIVATE KEY---- to ----END RSA PRIVATE KEY----) to VSCode (or Notepad++)</P><P>In VSCode press Ctrl+H and enter "<STRONG>\n</STRONG>" in <STRONG>Find</STRONG> and "<FONT size="5"><STRONG>,</STRONG></FONT>" in <STRONG>Replace</STRONG>. Select <STRONG>"Match Case"</STRONG> and click "<STRONG>Replace all</STRONG>"<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_16-1762280144259.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336207i5CE45B2B2F1BC8EB/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_16-1762280144259.png" alt="KumarG9_16-1762280144259.png" /></span></P><P>After that enter "<STRONG>,</STRONG>" in <STRONG>Find</STRONG> and "<STRONG>\n</STRONG>" in <STRONG>Replace</STRONG>. Select <STRONG>"Match Case"</STRONG> and <STRONG>"Use Regular Expression"</STRONG> and click "<STRONG>Replace all</STRONG>"<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_17-1762280144259.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336205iCC5E8B84B046F2AE/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_17-1762280144259.png" alt="KumarG9_17-1762280144259.png" /></span></P><P>You will see "<STRONG>2 Certificates</STRONG>" and "<STRONG>1 RSA Key</STRONG>" similar to the screenshot below</P><UL><LI><P>Save the <STRONG>two certificates</STRONG> into a single file and save it as a <CODE>.crt</CODE> file.<BR />Example: <CODE>DocumentGrounding.crt</CODE></P></LI><LI><P>Save the <STRONG>RSA private key</STRONG> as a <CODE>.key</CODE> file.<BR />Example: <CODE>DocumentGrounding.key</CODE></P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762418225927.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336793i1DEB65AEF5C98653/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762418225927.png" alt="KumarG9_1-1762418225927.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId--1325838938"><U><STRONG>Step 6: Run cURL commands to setup Document Grounding pipelines</STRONG></U></H3><P>In this step, you’ll use <STRONG>Bruno</STRONG> (or any API client such as Postman) to execute <STRONG>cURL commands</STRONG> that create and configure <STRONG>Document Grounding pipelines</STRONG> in your Joule subaccount.<BR />These pipelines establish the connection between <STRONG>SAP Build Work Zone, advanced edition</STRONG>&nbsp;content and the <STRONG>Document Grounding service</STRONG>.</P><H4 id="toc-hId--1815755450"><STRONG>6.a Install Bruno and Create a Collection</STRONG></H4><P><STRONG>Install Bruno:&nbsp;</STRONG>Download and install the Bruno API Client.</P><P>Open <STRONG>Bruno</STRONG> and click <STRONG>Create Collection</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_19-1762280144261.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336208i18E32D7C1A7C2287/image-size/medium?v=v2&amp;px=400" role="button" title="KumarG9_19-1762280144261.png" alt="KumarG9_19-1762280144261.png" /></span></P><P>Provide a <STRONG>Name</STRONG> for the collection, for example: <CODE>DGcollection</CODE>, choose a <STRONG>Location</STRONG> to save it, and click <STRONG>Create</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_20-1762280144261.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336209i1A36C41F8D3EC11F/image-size/medium?v=v2&amp;px=400" role="button" title="KumarG9_20-1762280144261.png" alt="KumarG9_20-1762280144261.png" /></span></P><P>Before proceeding, ensure you have the following two URLs ready:</P><UL><LI><P><STRONG>IAS URL (of Joule Subaccount):</STRONG> <CODE><A href="https://abc2wxyz.accounts.ondemand.com" target="_blank" rel="noopener nofollow noreferrer">https://abc2wxyz.accounts.ondemand.com</A></CODE></P></LI><LI><P><STRONG>Document Grounding Service Binding URL (mTLS):</STRONG> <CODE>mtls.rage.c-1111.kyma.ondemand.com</CODE></P></LI></UL><P>In <STRONG>Bruno</STRONG>, perform the following steps:</P><OL><LI><P>Select your collection (<STRONG>DGcollection</STRONG>).</P></LI><LI><P>Go to <STRONG>Client Certificates</STRONG>.</P></LI><LI><P>For the <STRONG>Domain</STRONG>, enter your IAS URL — <CODE>abc2wxyz.accounts.ondemand.com</CODE></P></LI><LI><P>Select the <STRONG>Certificate File</STRONG> (<CODE>DocumentGrounding.crt</CODE>) and the <STRONG>Key File</STRONG> (<CODE>DocumentGrounding.key</CODE>).</P></LI><LI><P>Click <STRONG>Add</STRONG> to save the configuration.</P></LI></OL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762419455423.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336796i1A378B877636A400/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762419455423.png" alt="KumarG9_2-1762419455423.png" /></span></P><P>Repeat the same process for the <STRONG>Document Grounding Service Binding URL</STRONG>:</P><UL><LI><P><STRONG>Domain:</STRONG> <CODE>mtls.rage.c-1111.kyma.ondemand.com</CODE></P></LI><LI><P><STRONG>Certificate File:</STRONG> <CODE>DocumentGrounding.crt</CODE></P></LI><LI><P><STRONG>Key File:</STRONG> <CODE>DocumentGrounding.key</CODE></P></LI></UL><P>Click <STRONG>Add</STRONG> to save the configuration.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_3-1762419502281.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336797i4A0820F6A12D693F/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_3-1762419502281.png" alt="KumarG9_3-1762419502281.png" /></span></P><H4 id="toc-hId--2012268955"><STRONG>6.b Create a Bearer Token</STRONG></H4><P>In this step, you’ll generate an <STRONG>OAuth 2.0 bearer token</STRONG> to authenticate subsequent API calls for creating Document Grounding pipelines.</P><UL><LI><P>In <STRONG>Bruno</STRONG>, select your collection (<STRONG>DGcollection</STRONG>).</P></LI><LI><P>Click <STRONG>New Request</STRONG> and enter:</P><UL><LI><P><STRONG>Name:</STRONG> <CODE>Get Bearer Token</CODE></P></LI><LI><P><STRONG>URL:</STRONG> Your CIS URL followed by <CODE>/oauth2/token</CODE><BR />Example:<CODE>&nbsp;<A href="https://abc2wxyz.accounts.ondemand.com/oauth2/token" target="_blank" rel="noopener nofollow noreferrer">https://abc2wxyz.accounts.ondemand.com/oauth2/token</A></CODE></P></LI></UL></LI><LI><P>Click <STRONG>Create</STRONG>.</P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_4-1762419544209.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336798iFF08B235E658353D/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_4-1762419544209.png" alt="KumarG9_4-1762419544209.png" /></span></P><P><STRONG>Add Parameters</STRONG></P><UL><LI><P><CODE>client_id:</CODE> <EM>(from your Cloud Identity Services binding file <CODE>cisSK.json</CODE>)&nbsp;</EM>Example: <CODE>aaa-bbb-ccc-ddd-eee</CODE></P></LI><LI><P><CODE>grant_type:</CODE> <CODE>client_credentials</CODE></P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762462909086.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337110iFCFB26C3887579B8/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762462909086.png" alt="KumarG9_0-1762462909086.png" /></span></P><P><STRONG>Add Headers</STRONG></P><UL><LI><P><CODE>content-type:</CODE> <CODE>application/x-www-form-urlencoded</CODE></P></LI><LI><P><CODE>accept:</CODE> <CODE>application/json</CODE></P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_5-1762419887296.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/336799i12E84C0B5B499871/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_5-1762419887296.png" alt="KumarG9_5-1762419887296.png" /></span></P><P>Change the method from <STRONG>GET</STRONG> to <STRONG>POST</STRONG>, click <STRONG>Save</STRONG>, then click the <STRONG>→ (Send)</STRONG> button.<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762463006313.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337111i03F50B223245E216/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762463006313.png" alt="KumarG9_1-1762463006313.png" /></span></P><P>You will receive a response similar to the example below.<BR />Copy the <STRONG>access_token</STRONG>, as it will be used in the next step to create the <STRONG>Document Grounding Pipeline</STRONG></P><pre class="lia-code-sample language-json"><code>{ "access_token": "xyzxyzxyzxyzxyzxyzxyz", "token_type": "Bearer", "expires_in": 3600 }</code></pre><P><span class="lia-unicode-emoji" title=":light_bulb:">💡</span><FONT size="5"><STRONG>Tip:</STRONG></FONT> The bearer token is temporary — it expires after the duration shown in <STRONG>expires_in</STRONG> (in seconds).<BR />You’ll need to generate a new access token each time you perform Document Grounding operations in the future (for example, to create, update, or refresh pipelines)</P><P>&nbsp;</P><H4 id="toc-hId-2086184836"><STRONG>6.c Create a Pipeline</STRONG></H4><P>In <STRONG>Bruno</STRONG>, click <STRONG>New Request</STRONG> under your <STRONG>DGcollection</STRONG>.</P><UL><LI><P><STRONG>Method:</STRONG> <CODE>POST</CODE></P></LI><LI><P><STRONG>URL:</STRONG> Your <STRONG>mTLS URL</STRONG> from the Document Grounding Service Binding, followed by <CODE>/pipeline/api/v1/pipeline</CODE><BR />Example:&nbsp;<SPAN><A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline</A></SPAN></P></LI><LI><P>Click <STRONG>Create</STRONG>.</P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762463545309.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337114iA4DFAEF7AAF06C6A/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762463545309.png" alt="KumarG9_0-1762463545309.png" /></span></P><P><STRONG>Add Headers</STRONG></P><UL><LI><P><CODE>content-type:</CODE> <CODE>application/json</CODE></P></LI><LI><P><CODE>Authorization:</CODE> <CODE>Bearer &lt;your_access_token&gt;</CODE><BR />Example:&nbsp;<SPAN>Bearer eyJqa3UiOiJ…………….odHRwczovL2F6cjJpe</SPAN></P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762463676747.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337118iBAB10CD1BB60A75C/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762463676747.png" alt="KumarG9_1-1762463676747.png" /></span></P><P><STRONG>Add Body</STRONG></P><UL><LI><P>Change the <STRONG>Body</STRONG> type to <STRONG>JSON</STRONG>&nbsp;and paste the following:</P></LI><LI>The <STRONG>destination</STRONG> is the name of the "Destination" created in your Joule subaccount" (Step 4.c)</LI></UL><pre class="lia-code-sample language-json"><code>{ "type": "WorkZone", "metadata": { "destination": "HGDGBWZ924" } }</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762463746901.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337120i86BEB8C968D1F463/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762463746901.png" alt="KumarG9_2-1762463746901.png" /></span></P><P>Click <STRONG>Save</STRONG>, then click <STRONG>→ (Send)</STRONG> to execute the request</P><P>If the request is successful, the response will display a <STRONG>pipelineId</STRONG>.<BR />This confirms that the <STRONG>Document Grounding Pipeline</STRONG> has been successfully created and linked to your <STRONG>SAP Build Work Zone, advanced edition</STRONG>&nbsp;workspace.&nbsp;Copy the <STRONG>pipelineId</STRONG> from the response (E.g:&nbsp;&nbsp;pipelineId: aa11-bb22-cc33-dd44)</P><P>&nbsp;</P><H3 id="toc-hId--1943709267"><STRONG>Setup Complete</STRONG></H3><P>Your <STRONG>Document Grounding setup</STRONG> is now complete.<BR />All configurations between <STRONG>SAP Build Work Zone, advanced edition</STRONG>, <STRONG>Joule</STRONG>, and <STRONG>Document Grounding</STRONG> have been successfully established.</P><P>Beyond the initial setup, you can perform additional operations using <STRONG>Bruno</STRONG> or <STRONG>cURL</STRONG>, such as:</P><UL><LI><P><STRONG>Get all pipelines</STRONG> – retrieve a list of existing Document Grounding pipelines.</P></LI><LI><P><STRONG>Delete a pipeline</STRONG> – remove an inactive or obsolete pipeline.</P></LI><LI><P><STRONG>Trigger a pipeline</STRONG> – manually refresh or re-index workspace content.</P></LI></UL><P>These advanced operations will be detailed in the <STRONG>Appendix </STRONG>section in the end.</P><P>&nbsp;</P><H3 id="toc-hId--2140222772"><U><STRONG>Step 7: Verify and Test Joule</STRONG></U></H3><P>Now that the setup is complete, it’s time to test <STRONG>Joule</STRONG>. If you already have <STRONG>Unified Joule</STRONG> set up, you can launch <STRONG>Joule</STRONG> directly from the <STRONG>application</STRONG>. (E.g: Successfactors, Ariba, S/4 Private Cloud, IBP etc.)</P><DIV class=""><DIV class=""><DIV class=""><DIV class=""><DIV class=""><DIV class=""><P>If this is a new setup, launch <STRONG>Joule</STRONG> by navigating to <STRONG>Subaccounts → Instances &amp; Subscriptions → Joule Instance</STRONG>, click the instance name to open it, and when you see <EM>“The service is up and running,”</EM> copy the URL and append <STRONG>/joule</STRONG> — for example: <CODE><A href="https://rigunifiedjoule-test-sge254ddd.eu10.sapdas.cloud.sap/joule" target="_blank" rel="noopener nofollow noreferrer">https://rigunifiedjoule-test-sge254ddd.eu10.sapdas.cloud.sap/joule</A></CODE></P></DIV></DIV></DIV></DIV><DIV class=""><SPAN>Before launching </SPAN><STRONG>Joule</STRONG><SPAN>, create a </SPAN><STRONG>Role Collection</STRONG><SPAN> under </SPAN><STRONG>Subaccount → Security → Role Collections</STRONG><SPAN>, add the </SPAN><STRONG>end_user</STRONG><SPAN> role, assign the role collection to your user in </SPAN><STRONG>Subaccount → Security → Users.</STRONG></DIV><DIV class=""><DIV class=""><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762465174679.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337129iC3597C98436FCC89/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762465174679.png" alt="KumarG9_1-1762465174679.png" /></span></DIV></DIV></DIV></DIV><P><BR />Ask Joule questions related to your <STRONG>SAP Build Work Zone, advanced edition </STRONG>content&nbsp;(files, wikis, blogs, or knowledge base articles) that were included in the grounding configuration. If everything is working correctly, Joule should return context-aware answers derived from your organization’s grounded documents.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762464924783.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337127i9371A242AD7820A0/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762464924783.png" alt="KumarG9_0-1762464924783.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-1958231019"><U><STRONG>Step 8: Appendix</STRONG></U></H3><P>After completing the setup, you can manage and maintain your <STRONG>Document Grounding pipelines</STRONG> using additional API operations in <STRONG>Bruno</STRONG> or <STRONG>cURL</STRONG>.&nbsp;These include viewing all existing pipelines, deleting or re-creating a pipeline, manually triggering executions, and checking their status.</P><H4 id="toc-hId-1468314507">&nbsp;</H4><H4 id="toc-hId-1271801002"><STRONG>8.a. Get All Pipelines</STRONG></H4><P>Use a <STRONG>GET</STRONG> request to retrieve all existing <STRONG>Document Grounding pipelines</STRONG> in your <STRONG>Joule subaccount</STRONG>.&nbsp;This allows you to verify which pipelines are active and view their associated destinations.</P><P>In <STRONG>Bruno</STRONG>:&nbsp;Select your collection (<STRONG>DGcollection</STRONG>) → click <STRONG>New Request</STRONG> → name it <STRONG>Get All Pipelines</STRONG><BR />Enter the MTLS&nbsp;URL followed by /pipeline/api/v1/pipeline<BR />E.g: <A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762466224420.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337130iD91FED411C79D6F9/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762466224420.png" alt="KumarG9_2-1762466224420.png" /></span></P><P>Add <STRONG>headers</STRONG>, <STRONG>save</STRONG>, and click → (<STRONG>Send</STRONG><span class="lia-unicode-emoji" title=":disappointed_face:">😞</span>&nbsp;You will see all existing pipelines<BR />accept: application/json<BR />Authorization: Bearer &lt;access_token&gt;</P><P><STRONG>Note:</STRONG> You need to get a new Bearer token if the previous token is expired. Check step 6.2 to get a new Bearer token</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_3-1762466687812.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337131i750F8C24811809E2/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_3-1762466687812.png" alt="KumarG9_3-1762466687812.png" /></span></P><H4 id="toc-hId-1075287497"><STRONG>8.b. Delete a Pipeline</STRONG></H4><P>Use a <STRONG>DELETE</STRONG> request with the specific <CODE>pipelineId</CODE> to remove a pipeline that’s no longer needed or was incorrectly configured.</P><P>In <STRONG>Bruno:&nbsp;</STRONG>Select your collection (<STRONG>DGcollection</STRONG>) → click <STRONG>New Request</STRONG> → name it <STRONG>Delete Pipeline</STRONG>.</P><P>Enter your mTLS URL followed by /pipeline/api/v1/pipeline/&lt;pipelineId&gt;<BR />Example: <A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44</A></P><P>Add headers, save, and click → (Send):<BR />content-type: application/json<BR />Authorization: Bearer &lt;access_token&gt;<BR />Once executed, the pipeline with the given ID will be deleted successfully</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_0-1762470488622.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337132i198E07BABC1EAF9F/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_0-1762470488622.png" alt="KumarG9_0-1762470488622.png" /></span></P><H4 id="toc-hId-878773992"><STRONG>8.c. Trigger a Pipeline</STRONG></H4><P>Use a <STRONG>POST</STRONG> request to manually trigger a pipeline execution. This can reindex or update metadata for all grounded documents in the selected pipeline.</P><P>In <STRONG>Bruno</STRONG>:&nbsp;Select your collection (<STRONG>DGcollection</STRONG>) → click <STRONG>New Request</STRONG> → name it <STRONG>Trigger Pipeline</STRONG><BR />Enter your mTLS URL followed by /pipeline/api/v1/pipeline/trigger<BR />Example:&nbsp;<A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/trigger" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/trigger</A></P><P><STRONG>Add Body</STRONG></P><pre class="lia-code-sample language-json"><code>{ "pipelineId": "aa11-bb22-cc33-dd44", "metadataOnly": false }</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_1-1762471186945.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337134i2D2F1885B092BA62/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_1-1762471186945.png" alt="KumarG9_1-1762471186945.png" /></span></P><P><STRONG>Add Headers</STRONG>, save, and click → (Send):<BR />accept: application/json<BR />Authorization: Bearer &lt;access_token&gt;</P><P>Once executed, the pipeline will start executing.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_2-1762471399562.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337135i432E4C4E1B6147AB/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_2-1762471399562.png" alt="KumarG9_2-1762471399562.png" /></span></P><H4 id="toc-hId-682260487"><STRONG>8.d. Check Pipeline Execution/Grounding Status of the documents</STRONG></H4><P>To check status of individual documents (files, wiki, knowledge article etc.)</P><P>In <STRONG>Bruno</STRONG>:&nbsp;Select your collection (<STRONG>DGcollection</STRONG>) → click <STRONG>New Request</STRONG> → name it <STRONG>Check Grounding Status</STRONG>.<BR />URL: https://<STRONG>&lt;your-mtls-url&gt;</STRONG>/pipeline/api/v1/pipeline/<STRONG>&lt;PipelineID&gt;</STRONG>/documents<BR />Example: <A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44/documents" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44/documents</A></P><P><STRONG>Add Headers</STRONG>, save, and click → (Send):<BR />accept: application/json<BR />Authorization: Bearer &lt;access_token&gt;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KumarG9_3-1762472269429.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337136i1120CB41B1E1CD06/image-size/large?v=v2&amp;px=999" role="button" title="KumarG9_3-1762472269429.png" alt="KumarG9_3-1762472269429.png" /></span></P><H4 id="toc-hId-485746982"><STRONG>8.e. Check Pipeline Status &amp; Total executions</STRONG></H4><P>Replicate steps from 8.d and use "status" and "executions" instead of "documents" in the URL. You will get final status or total number of executions of the pipeline&nbsp;</P><P>URL: https://<STRONG>&lt;your-mtls-url&gt;</STRONG>/pipeline/api/v1/pipeline/<STRONG>&lt;PipelineID&gt;</STRONG>/status OR executions</P><P>Example: <A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44/status" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44/status</A><BR />Example: <A href="https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44/executions" target="_blank" rel="noopener nofollow noreferrer">https://mtls.rage.c-1111.kyma.ondemand.com/pipeline/api/v1/pipeline/aa11-bb22-cc33-dd44/executions</A></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2025-11-07T01:08:40.886000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/sap-document-ai-accelerates-document-centric-business-processes-with/ba-p/14264358 SAP Document AI accelerates document-centric business processes with Generative AI 2025-11-10T13:54:41.812000+01:00 jacobahtan https://community.sap.com/t5/user/viewprofilepage/user-id/2758 <P>Authors:&nbsp;<a href="https://community.sap.com/t5/user/viewprofilepage/user-id/7024">@amagnani37</a>&nbsp;&amp;&nbsp;<a href="https://community.sap.com/t5/user/viewprofilepage/user-id/16662">@merza</a>&nbsp;</P><P>Thank you to everyone who joined our recent partner webinar, <STRONG>"Streamline document processing with SAP Document AI"</STRONG>. This session was part of our ongoing partner webinar series, "<A href="https://url.sap/crvdej" target="_blank" rel="noopener nofollow noreferrer">Talk to your business with Generative AI</A>", and the turnout and engagement were fantastic.</P><P>For those who couldn't make it, or for anyone who wants a recap, we—<STRONG>Merza Klaghstan</STRONG>, <STRONG>Alice Magnani</STRONG>, and <STRONG>Jacob Tan</STRONG> from the BTP &amp; AI Solution Architects team —wanted to share the key takeaways, demos, and technical insights from the session.</P><P>Our goal was to go beyond a simple feature list and show you how SAP Document AI can be the centerpiece of a complete, end-to-end business solution.</P><P>Here’s what we covered.</P><H1 id="toc-hId-1635565066"><STRONG>Part 1: What is SAP Document AI and Why Does it Matter?</STRONG></H1><P>We kicked off by tackling the core business problem: a staggering <STRONG>70-80% of all enterprise information is unstructured</STRONG>. Manually processing this data from documents, emails, and scans is not only slow but also expensive and prone to errors.</P><P>SAP Document AI, formerly known as Document Information Extraction (DOX), is SAP's AI-powered solution on the Business Technology Platform (BTP) designed to solve this. It goes far beyond simple Optical Character Recognition (OCR) to <STRONG>extract, classify, and validate data</STRONG> with high precision.</P><H2 id="toc-hId-1568134280"><STRONG>Key Capabilities</STRONG></H2><P>We highlighted several key features:</P><UL><LI><STRONG>Multiple Editions:</STRONG> The service is available in <STRONG>Base AI</STRONG>, <STRONG>Premium AI</STRONG> (which includes Generative AI capabilities), and <STRONG>Embedded</STRONG> editions to fit different use cases. We also want to highlight for our <STRONG>SAP Partners</STRONG> that the Premium AI edition is part of the <STRONG>Test, Demo, and Development (TDD) license</STRONG>, which provides a much more convenient model for your non-productive and internal development purposes.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jacobahtan_0-1762748655159.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337670iAC7B14D2EA3F5CEC/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="jacobahtan_0-1762748655159.png" alt="jacobahtan_0-1762748655159.png" /></span><P>&nbsp;</P></LI><LI><STRONG>The New "Workspace" UI:</STRONG> We compared the classic "Basic" UI with the new, full-featured "Workspace," which is the future of the service and includes capabilities like email channel configuration and workflow management.<BR /><BR />It's the new, full-featured environment for all document processing tasks . We want to emphasize that <STRONG>from now on, all the latest SAP Document AI features will be available in the Workspace UI only</STRONG>, so we strongly advise using it for all new projects.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jacobahtan_2-1762778617735.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/338002i32C51D71B4CCA784/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="jacobahtan_2-1762778617735.png" alt="jacobahtan_2-1762778617735.png" /></span><P>&nbsp;</P></LI><LI><STRONG>Pre-Configured &amp; Custom Content (Schemas):</STRONG> The service provides many pre-trained models (called "Schemas") for standard documents like invoices and purchase orders. The real power, however, comes from creating <STRONG>custom schemas</STRONG> for any document type your business needs—from specialized licenses to internal forms.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jacobahtan_2-1762748655205.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337672iFABDFFF3FF0DDE1F/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="jacobahtan_2-1762748655205.png" alt="jacobahtan_2-1762748655205.png" /></span><P>&nbsp;</P></LI><LI><STRONG>Generative AI &amp; Instant Learning:</STRONG> For custom schemas, SAP Document AI leverages Generative AI and Large Language Models (LLMs) to understand and extract information. We also demonstrated <STRONG>"Instant Learning,"</STRONG> where the model learns from your manual corrections <EM>immediately</EM>. After one correction, it knows how to handle that document layout correctly the next time.<BR /><BR />In our demo, we showed how the model initially struggled with a name containing a middle name and extracted the wrong federation name (full name vs. acronym) . After one manual correction and confirmation, it learned immediately. Technically, this feature uses <STRONG>few-shots prompting</STRONG> to make the underlying LLM aware of your previously reviewed documents to improve accuracy on the next run.</LI></UL><P><STRONG><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fb3ZP-2bAqK0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Db3ZP-2bAqK0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fb3ZP-2bAqK0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="200" height="112" scrolling="no" title="Instant Learning in SAP Document AI for Streamline document processing with SAP Document AI" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></STRONG></P><H1 id="toc-hId-1242538056"><STRONG>Part 2: A Real-World Use Case: "Vertigo Travels"</STRONG></H1><P>To make this real, we introduced <STRONG>"Vertigo Travels,"</STRONG> a fictional travel agency specializing in sports and adventure holidays. Their key challenge is managing the various kind of documents required for subscriptions, such as ID cards, medical certificates, and diving licenses.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jacobahtan_3-1762748655218.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337673i4B1770A465F5332A/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="jacobahtan_3-1762748655218.png" alt="jacobahtan_3-1762748655218.png" /></span></P><H2 id="toc-hId-1175107270"><STRONG>The solution architecture includes:</STRONG></H2><OL><LI>The <STRONG>Vertigo Travels website</STRONG>, a frontend application,&nbsp; deployed in Cloud Foundry, serving as entry point for Travelers to select travel packages and upload the necessary documents, such as ID cards or medical certificates. The backend logic is a <STRONG>CAP (Node.js)</STRONG> application also deployed in a cloud Foundry.<BR /><BR /></LI><LI><STRONG>SAP Document AI</STRONG>, for all document intelligence operations, communicating via <STRONG>API</STRONG> with our backend application.<BR /><BR /></LI><LI><STRONG>SAP HANA Cloud</STRONG>, as a persistence layer for our application, to store all the entities involved in the subscription process.<BR /><BR /></LI><LI><STRONG>SAP Build Work Zone standard edition</STRONG>, as the entry point for Vertigo Travels employees to supervise the process. From Work Zone, business users can access the Vertigo Travel website for admin operations, or the <STRONG>SAP Document AI workspace</STRONG>, for instance to review documents. SAP Build Work Zone also allows business users to use SAP Document AI via mobile.<BR /><BR /></LI><LI><STRONG>SAP Build Process Automation</STRONG>, to define business rules to automate some document validation checks. Although this could also be implemented as part of the &nbsp;Vertigo Travels backend application, SAP Build Process Automation enables citizen developers to modify easily the business logics when required.<BR /><BR /></LI><LI><STRONG>SAP S/4HANA Cloud</STRONG>, as the core SAP Cloud solution. The Vertigo Travels backend is integrated with modules such as Business Partners, Products, Sales Orders/Invoice, Customer Return for refund.</LI></OL><H3 id="toc-hId-1107676484">For the source code, you may refer <A href="https://github.com/SAP-samples/btp-generative-ai-hub-use-cases/tree/main/53-vertigo-travels-documentai" target="_blank" rel="noopener nofollow noreferrer">here for reference</A>.</H3><P><EM>P.S. if you're planning to work on this prototype, please give us a shout out~! So at least we know somebody is trying our repository out!</EM></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jacobahtan_0-1762777602698.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337997i11A82F6B49B135F4/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="jacobahtan_0-1762777602698.png" alt="jacobahtan_0-1762777602698.png" /></span></P><H3 id="toc-hId-911162979">We demonstrated three end-to-end scenarios:</H3><OL><LI><STRONG>The E2E Flow:</STRONG> A traveler, Mary, subscribes on the website and uploads her documents. A back-office employee, Barry, reviews and corrects one document in the Document AI Workspace. Once confirmed, a Sales Order is automatically created in S/4HANA Cloud.<BR /><BR /></LI><LI><STRONG>Multi-Channel Ingestion:</STRONG> A traveler, Luca, visits an office. The employee uses <STRONG>SAP Mobile Start</STRONG> to scan his ID and medical certificate. The system then automatically emails Luca about a missing document. He simply replies to the email with his license attached, which is automatically ingested via the <STRONG>Inbound Channel</STRONG> feature.<BR /><BR /></LI><LI><STRONG>Automation:</STRONG> A traveler, Claire, uploads an income statement to apply for a discount. <STRONG>SAP Build Process Automation</STRONG> runs a rule to check her eligibility. When she submits her final documents, they have a high confidence score and are <STRONG>auto-confirmed</STRONG> without any manual review.</LI></OL><P><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfaKqdkL1UmI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfaKqdkL1UmI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfaKqdkL1UmI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="200" height="113" scrolling="no" title="Use Case end to end demo for Streamline document processing with SAP Document AI" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></P><H1 id="toc-hId-456484036"><STRONG>Part 3: How We Built It (The Technical Deep Dive)</STRONG></H1><H3 id="toc-hId-518135969">For our developer community, we walked through the "how-to" for the key components.</H3><H4 id="toc-hId-450705183">For the source code, you may refer <A href="https://github.com/SAP-samples/btp-generative-ai-hub-use-cases/tree/main/53-vertigo-travels-documentai" target="_blank" rel="noopener nofollow noreferrer">here for reference</A>.</H4><P><EM>P.S. if you're planning to work on this prototype, please give us a shout out~! So at least we know somebody is trying our repository out!</EM></P><P><STRONG>1. Setup and Schema Management:</STRONG> We started with the BTP setup, which involves managing entitlements, creating the service instance, and, critically, <STRONG>establishing trust with SAP Cloud Identity Service (IAS)</STRONG> for user authorization. We then showed how to create the custom schemas that power the application.<BR /><BR />When you set up your entitlements, make sure to use the application subscription ending in <STRONG>-ias (Identity Authentication Service)</STRONG>, as this is the one that provisions the new Workspace interface.<BR /><BR /></P><P><STRONG>2. API-Driven Development:</STRONG> Our CAP application's backend communicates directly with Document AI's APIs. We showed code snippets for uploading a file (using the FileService) and processing it against a schema (using the SchemaService).<BR /><BR /><STRONG>How to retrieve specific extracted values:</STRONG><BR />While our demo UI showed a simple text extraction, your application will likely need specific, structured data (like "gross_family_income" or "number_of_kids"). The API makes this straightforward:</P><OL><UL><LI>After processing the document, you get a Document ID.</LI><LI>You can use this Document ID to retrieve the Document Version ID.</LI><LI>Using the Version ID, you can then query the Entities for that document. 4. Finally, you can retrieve the specific value by using the Entity ID (e.g., the ID for your "number_of_kids" field) .</LI></UL></OL><P>This is how our automation process, for example, was able to pull only the family income and number of kids to pass to the rules engine.</P><P><STRONG>3. Configuring Email Ingestion:</STRONG> We configured the "Channels" feature to monitor an email inbox. This required registering an app in Microsoft Azure, granting Mail.ReadWrite permissions , and then using the Document AI Workspace to map a specific email folder to our target schema.</P><P><STRONG><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2CFz59M6QkE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2CFz59M6QkE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2CFz59M6QkE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="200" height="113" scrolling="no" title="Email Ingestion by SAP Document AI" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></STRONG></P><P><STRONG>4. Enabling SAP Mobile Start:</STRONG> This was a key integration for the in-office scenario. It involved three steps:</P><OL><UL><LI>Adding the Document AI dependency to SAP Build Work Zone within the IAS console.</LI><LI>Creating a specific BTP destination (sapdocumentaimobilestartintegration).</LI><LI>Configuring the app tile in the Work Zone Site Manager with the correct navigation and visualization parameters (e.g., mobilestart.type = documentAi).</LI></UL></OL><P><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6zSnSLFhono%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6zSnSLFhono&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6zSnSLFhono%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="200" height="113" scrolling="no" title="Document Scanning with SAP Mobile Start integrated with SAP Document AI" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></P><P><STRONG>4. Automating Logic with SAP Build Process Automation:</STRONG> To keep our application logic flexible, we externalized our validation rules. We created a process in SAP Build Process Automation with a <STRONG>Decision Table (Rule)</STRONG> to calculate the family discount based on income and number of kids. This process is exposed as an API and triggered by our CAP application.</P><P><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FULpiT681ooQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DULpiT681ooQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FULpiT681ooQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="200" height="113" scrolling="no" title="Decision Rules in Build Process Automation for Streamline document processing with SAP Document AI" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jacobahtan_5-1762748655258.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/337675iDE3C9EE786CF3B6B/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="jacobahtan_5-1762748655258.png" alt="jacobahtan_5-1762748655258.png" /></span></P><H3 id="toc-hId-125108959">For the source code, you may refer <A href="https://github.com/SAP-samples/btp-generative-ai-hub-use-cases/tree/main/53-vertigo-travels-documentai" target="_blank" rel="noopener nofollow noreferrer">here for reference</A>.</H3><P><EM>P.S. if you're planning to work on this prototype, please give us a shout out~! So at least we know somebody is trying our repository out!</EM></P><H1 id="toc-hId-440170099"><STRONG>Part 4: Conclusion, Best Practices, and What's Next</STRONG></H1><P>We concluded with some key advice and a look ahead.</P><H2 id="toc-hId--49746413"><STRONG>Best Practices &amp; Responsible AI</STRONG></H2><UL><LI><STRONG>Quality In, Quality Out:</STRONG> The accuracy of extraction heavily depends on the quality of your scans.</LI><LI><STRONG>Human in the Loop:</STRONG> While automation is powerful, always design your processes with a "human in the loop" for validation, especially for critical data.</LI><LI><STRONG>Responsible AI:</STRONG> We reiterated SAP's commitment to AI ethics. External LLM providers are carefully selected and are <STRONG>not permitted to store or retrain their models on customer data</STRONG>. Features like continuous data sharing for model improvement are strictly opt-in and should not be used for sensitive personal data.</LI></UL><H2 id="toc-hId--246259918"><STRONG>Get Started and Look Ahead</STRONG></H2><P>We are committed to helping our partners build on this platform. Here are the resources to get you started:</P><UL><LI><STRONG>SAP Document AI Official Help Page:</STRONG> <A href="https://url.sap/imohkv" target="_blank" rel="noopener nofollow noreferrer">https://url.sap/imohkv</A></LI><LI><STRONG>Vertigo Travels GitHub Repository:</STRONG> <A href="https://url.sap/pi5vwn" target="_blank" rel="noopener nofollow noreferrer">https://url.sap/pi5vwn</A> (The code for our demo app will be available here!)</LI><LI><STRONG>SAP Community for AI/ML:</STRONG> <A href="https://url.sap/ai-ml-grp" target="_blank" rel="noopener nofollow noreferrer">https://url.sap/ai-ml-grp</A></LI></UL><P>The roadmap for SAP Document AI is packed with features, including more pre-built schemas, document workflows, custom LLM prompting, and deeper integration with Joule.</P><P>Finally, don't miss <STRONG>SAP TechEd Virtual</STRONG>! Be sure to check out sessions <STRONG>AI821v</STRONG> and <STRONG>AI102v</STRONG> for the latest roadmap and deep-dive innovations from the product team.</P><P>Please feel free to leave any questions or feedback in the comments below!</P> 2025-11-10T13:54:41.812000+01:00 https://community.sap.com/t5/spend-management-blog-posts-by-members/sap-document-ai-made-simple-a-functional-analyst-s-plug-and-play-guide/ba-p/14268505 SAP Document AI Made Simple: A Functional Analyst’s Plug-and-Play Guide 2025-11-13T22:15:06.916000+01:00 avikjuoss94 https://community.sap.com/t5/user/viewprofilepage/user-id/811775 <P>My initial plan was to se Boosters for Free Tier Use of SAP AI Core and SAP AI Launchpad<BR />(Be aware- AI core and AI launchpad are not available in BTP free tier. Alas!)</P><P><STRONG>Next Goal:</STRONG></P><P><STRONG>Build an end-to-end document AI demo that:</STRONG></P><OL><LI>Uploads an invoice or receipt (PDF/image)</LI><LI>Extracts structured data using SAP Document AI API</LI><LI>Stores the response as JSON</LI><LI>Visualizes extracted fields in Streamlit</LI></OL><P><STRONG>Architecture</STRONG></P><P><STRONG>[Streamlit UI] → [BTP Destination/Service Key] → [SAP Document AI API]</STRONG></P><P><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ↓</STRONG></P><P><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Response JSON → Results Display]</STRONG></P><P>But hang on – If you are a first time user of SAP BTP, ( Most of SAP business analyst, Functional consultants, SAP managers in 2025 are right at this phase- they all have heard about BTP, knows what it is used for – but never used it hands-on ) there are too many pre requisite one after another. More interesting fact- not all of them are in a single place. You need to stitch bits and pieces to make it work.&nbsp;</P><P><STRONG>I researched few articles over internet even asked Walkme- but didn't get necessary answers</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_11-1763065841534.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340304i49B0232FE2F2E9B4/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="avikjuoss94_11-1763065841534.png" alt="avikjuoss94_11-1763065841534.png" /></span></STRONG></P><P><STRONG>Assumption -</STRONG> Most of the folks who would read this article have SAP S-user ID from past interaction with SAP marketplace portal.</P><P><STRONG>Note – Reference: <A href="https://developers.sap.com/tutorials/hcp-create-trial-account.html" target="_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/hcp-create-trial-account.html</A></STRONG></P><P>To start with- Access SAP BTP Cockpit and create Global + Sub account under free BTP trial.</P><P>Once the signup process is complete, you can access the cockpit<STRONG> via&nbsp;<A href="https://cockpit.hanatrial.ondemand.com/trial/" target="_blank" rel="noopener nofollow noreferrer">https://cockpit.hanatrial.ondemand.com/trial/</A></STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_0-1763064767730.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340293i8B7668C33B4101B6/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_0-1763064767730.png" alt="avikjuoss94_0-1763064767730.png" /></span></STRONG></P><P>Choose region- Either of the below- it will take up to 3 minutes to create BTP accounts.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_1-1763064893290.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340294iB187CDA320F359E8/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_1-1763064893290.png" alt="avikjuoss94_1-1763064893290.png" /></span></STRONG></P><P>This page below will display the current state of the subaccount. You can manage your subscriptions and jump into the different runtime environments. It also shows you fundamental; information of the Cloud Foundry environment, such as the API endpoint and the available spaces – SAVE it as favourite (Top right corner star icon inside SAP BTP)</P><P>You may need to navigate between Global and sub account and different nodes often.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_2-1763064957379.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340295i8AA2FB818E4BFA27/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_2-1763064957379.png" alt="avikjuoss94_2-1763064957379.png" /></span></STRONG></P><P>A SAP BTP subaccount is best described as&nbsp;a&nbsp;workspace&nbsp;for development and application deployment that provides strong&nbsp;isolation&nbsp;for security, user management, and data segregation, rather than a "client" in the traditional SAP multi-client sense.&nbsp;</P><P>We can have multiple sub account inside one global BTP account</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_3-1763065036252.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340296i9838207D80C57882/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_3-1763065036252.png" alt="avikjuoss94_3-1763065036252.png" /></span></STRONG></P><P>Next step-&nbsp; Run Booster method to enable SAP document service</P><P>NOTE - We do not need to Manage Entitlements Using the BTP Cockpit.<BR />Rather we shall use booster method under Global BTP account<BR />Go to global BTP account page- click on left panel boosters as shown below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_4-1763065210780.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340297i570434F311F1577B/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_4-1763065210780.png" alt="avikjuoss94_4-1763065210780.png" /></span></STRONG></P><P>scroll down – under artificial intelligence category</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_5-1763065299243.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340298i13A7C72B8C6AC52B/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_5-1763065299243.png" alt="avikjuoss94_5-1763065299243.png" /></span></STRONG></P><P>This booster helps you set up SAP Document AI in the SAP BTP cockpit.<BR />Step by step, this booster assigns entitlements, updates your subaccount, and creates a service instance and the associated service key for SAP Document AI.</P><P>Click start</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_6-1763065383297.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340299iDDB42B887E7318C8/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_6-1763065383297.png" alt="avikjuoss94_6-1763065383297.png" /></span></STRONG></P><P>Reminder- If you close SAP BTP browser by mistake – here is a quick link to open it again <STRONG>- <A href="https://cockpit.hanatrial.ondemand.com/trial/" target="_blank" rel="noopener nofollow noreferrer">https://cockpit.hanatrial.ondemand.com/trial/</A></STRONG></P><P>Next go to BTP sub account – which is visible under Global account as below- left panel you can click on account explorer</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_7-1763065471465.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340300i8F9DE67E3DD51F43/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_7-1763065471465.png" alt="avikjuoss94_7-1763065471465.png" /></span></STRONG></P><P>Inside sub account -&gt;expand services - look for instances and subscriptions on left panel- shown below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_8-1763065503451.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340301i9311DD0DB7957005/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_8-1763065503451.png" alt="avikjuoss94_8-1763065503451.png" /></span></STRONG></P><P>We can see 2 subscriptions below by default SAP Business application studio is enabled</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_9-1763065550934.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340302i0789EA80FA5DD36E/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_9-1763065550934.png" alt="avikjuoss94_9-1763065550934.png" /></span></STRONG></P><P>Next click on service marketplace</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_10-1763065690844.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340303i2A648486E995B722/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_10-1763065690844.png" alt="avikjuoss94_10-1763065690844.png" /></span></STRONG></P><P>Search with AI + Enter- select 1st tile shown below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_12-1763065943891.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340307i2DCBB96E18FA6134/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_12-1763065943891.png" alt="avikjuoss94_12-1763065943891.png" /></span></STRONG></P><P><STRONG>Click on Create (as I pre-created so it is greyed out)</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_13-1763066016618.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340308iA169D772181868A7/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_13-1763066016618.png" alt="avikjuoss94_13-1763066016618.png" /></span></STRONG></P><P>Fill up below popup&nbsp;</P><P>Tips: You should select the plan as shown below to use the SAP AI document service effectively as a plug and play from external ecosystem.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_14-1763066090887.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340310i3545A6CC9A66FF97/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_14-1763066090887.png" alt="avikjuoss94_14-1763066090887.png" /></span></STRONG></P><P>Setup your new instance as below- name as per your choice</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_15-1763066275787.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340313i041215C2FF84D30E/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_15-1763066275787.png" alt="avikjuoss94_15-1763066275787.png" /></span></STRONG></P><P>Next – From left panel, again go to instances and subscriptions- this time 2nd tab called <STRONG>instances</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_16-1763066306162.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340314i0CFDA85E507BC56D/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_16-1763066306162.png" alt="avikjuoss94_16-1763066306162.png" /></span></STRONG></P><P>Note – the difference in “Plan” in the setup, one is default another is blocks of 100.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_17-1763066434778.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340316iA867CEDDA341AB6C/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_17-1763066434778.png" alt="avikjuoss94_17-1763066434778.png" /></span></STRONG></P><P>Click on the credential “1key “ and 'Form'- we explain this in details. You may download it.<BR />1/ Url -i.e. DOC_AI_URL used by external application.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_18-1763066561707.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340319iBE9A64737E7AC7C7/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_18-1763066561707.png" alt="avikjuoss94_18-1763066561707.png" /></span></STRONG></P><P><STRONG>2</STRONG>/ TOKEN_URL = This will be needed by external apps to authenticate with BTP service.</P><P>This url has term ‘authentication’- -Tips- do not use sburl</P><DIV class="">&nbsp;</DIV><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_20-1763066727305.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340321i76FD6CD8C5F84223/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_20-1763066727305.png" alt="avikjuoss94_20-1763066727305.png" /></span></STRONG></P><P>Tips- when using this Token for authentication, we need to add suffix befind above url as below after ondemand.com<BR />/oauth/token"<BR />3/ CLIENT_ID – That is self-explanatory- from the above screenshot, you must note down.<BR />4/ CLIENT_SECRET - That is self-explanatory- from the above screenshot, you must note down.<BR />Inside the key file there is another element called swagger</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_21-1763066759775.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340322iDCC7140D7FD89CF6/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_21-1763066759775.png" alt="avikjuoss94_21-1763066759775.png" /></span></STRONG></P><P>When we would make a call to SAP AI document services- our schema from external applications, then this swagger needs to be passed along with the document Url.</P><P>Full API endpoint (for extraction jobs)<BR />combine "url" + "swagger"</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_22-1763066863091.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340323iB2E451859DF2941B/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_22-1763066863091.png" alt="avikjuoss94_22-1763066863091.png" /></span></STRONG></P><P>Next- From left panel -click on Security- still within BTP sub account</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_23-1763066918127.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340324i5BEF2483134795DC/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_23-1763066918127.png" alt="avikjuoss94_23-1763066918127.png" /></span></STRONG></P><P>Look into right panel – click on arrow – to navigate inside details</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_24-1763066945245.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340325i0985F997A6890167/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_24-1763066945245.png" alt="avikjuoss94_24-1763066945245.png" /></span></STRONG></P><P>Click on the Role collections tab- It will show already assigned existing roles- do not get confused or search roles here. Click on assign role collections</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_25-1763066978579.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340326i2F80A19C0E54485B/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_25-1763066978579.png" alt="avikjuoss94_25-1763066978579.png" /></span></STRONG></P><P>In the below popup-search for ‘doc’ and assign all of them to your BTP user</P><P>Note- without those roles you will not be able to use SAP AI doc service schema configuration- neither the external call will work.</P><P>Tips- this is crucial step-otherwise SAP BTP service call will authenticate but not be able to use your own custom schema or SAP defined standard schemas and purpose of the plug &amp; play will be defeated.</P><P>Interestingly this role collection step you may have to do multiple times as I observed even after assignment on 1st day- next day it vanished- had to re assign.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_26-1763067150331.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340327iB032DC273D3B09E1/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_26-1763067150331.png" alt="avikjuoss94_26-1763067150331.png" /></span></STRONG></P><P>Next go back to Instances &amp; subsc.from left panel</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_27-1763067194549.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340328iC2A1DFDCCB097AB5/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_27-1763067194549.png" alt="avikjuoss94_27-1763067194549.png" /></span></STRONG></P><P>Click on application = SAP doc AI shown below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_28-1763067325732.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340329i0EA90703C23627D0/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_28-1763067325732.png" alt="avikjuoss94_28-1763067325732.png" /></span></STRONG></P><P>A new browser widow will open as below</P><P>Tips- Without suitable role collection this arrow marked button will not appear- This is used for schema creation.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_29-1763067365835.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340330i4509A8D79484BB80/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_29-1763067365835.png" alt="avikjuoss94_29-1763067365835.png" /></span></STRONG></P><P>Click on schema configuration Below list of schemas will be shown- SAP_ are all standard schema provided out of box-we can use it as is or create our own schema. When we click on create – below popup appears</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_30-1763067411163.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340331iE57DB8F530B2265F/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_30-1763067411163.png" alt="avikjuoss94_30-1763067411163.png" /></span></STRONG></P><P>As shown below I created my own schema namely <STRONG>invoice_ai_doc</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_31-1763067430419.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340332i218D2218554166C4/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_31-1763067430419.png" alt="avikjuoss94_31-1763067430419.png" /></span></STRONG></P><P>I clicked on my schema name- copy of SAP_invoice_schema&nbsp; Next – I click on create version- I could now get ‘Edit’ button enabled for both header and item fields of the invoice schema- I can click on ADD button to add my bespoke fields as shown below.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_32-1763067496996.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340333i4593901E5BC6F652/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_32-1763067496996.png" alt="avikjuoss94_32-1763067496996.png" /></span></STRONG></P><P>Finally click on activate the schema<BR />Now all necessary BTP setup is ready.<BR />Next- outside SAP ecosystem – plug and play.<BR />For simplicity, I shall use ‘Streamlit’ an open-source Python library that allows us to create interactive web applications using pure Python and a python project on PyCharm IDE<BR />Note- Any web application/tech. stack React, Django, Flask, JavaScript Node.js backend, Angular, CSS etc. can leverage SAP BTP Document AI service with above setup.</P><P>I created following python project in PyCharm - where I loaded secret key of SAP BTP DOC AI service instance in a safe and secure way. I have used .env and .gitignore to protect unwanted github publishing of the key details as per best practice guidelines.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_33-1763067638273.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340335i44D88E5F9C842770/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_33-1763067638273.png" alt="avikjuoss94_33-1763067638273.png" /></span></STRONG></P><P>A simple object class is created for this demonstration</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_34-1763067667754.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340336i25181858455FC13F/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_34-1763067667754.png" alt="avikjuoss94_34-1763067667754.png" /></span></STRONG></P><P>Having 4 methods as below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_35-1763067713273.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340338i1FEA30D56812E0FD/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="avikjuoss94_35-1763067713273.png" alt="avikjuoss94_35-1763067713273.png" /></span></STRONG></P><P>Next showtime!&nbsp; I run my streamlit app UI called app.py(see python project)</P><P>The frontend is displayed&nbsp; below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_36-1763067851095.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340339iDC0A4522852853A7/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_36-1763067851095.png" alt="avikjuoss94_36-1763067851095.png" /></span></STRONG></P><P><STRONG>Feature- </STRONG><BR />1/ I can test service configuration with SAP BTP authentication token<BR />2/ Available schema<BR />3/ Browse &amp; Upload invoice and click ‘Extract document information’ on streamlit app<BR />a) I upload a train ticket invoice PDF</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_37-1763067941010.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340340iC3C40E2BF2FC7A74/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_37-1763067941010.png" alt="avikjuoss94_37-1763067941010.png" /></span></STRONG></P><P>b) A sample invoice jpeg<BR />c) A sample invoice pdf with different details.</P><P><STRONG>Result –</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_38-1763067998868.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340342iD3BF03218AAF2A20/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="avikjuoss94_38-1763067998868.png" alt="avikjuoss94_38-1763067998868.png" /></span></STRONG></P><P>&nbsp;</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_39-1763067998873.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340344iD2D5D0009F74E5E9/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_39-1763067998873.png" alt="avikjuoss94_39-1763067998873.png" /></span></STRONG></P><P>&nbsp;</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_40-1763067998875.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340343i0A24C156435FC818/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_40-1763067998875.png" alt="avikjuoss94_40-1763067998875.png" /></span></STRONG></P><P><STRONG>2nd Invoice image</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_41-1763067998880.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340346i896CF69843CF71FC/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_41-1763067998880.png" alt="avikjuoss94_41-1763067998880.png" /></span></STRONG></P><P>3rd Invoice also uploaded for analysis and extracted on my app as below</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_42-1763067998883.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340345iB7DBC8A9EDC8DAAE/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_42-1763067998883.png" alt="avikjuoss94_42-1763067998883.png" /></span></STRONG></P><P>Next – check on SAP BTP portal, where we submitted those 3 invoices (2 pdf and 1 jpeg)</P><P><STRONG>Below is the document service page, amazing!</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_43-1763068099451.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340347i8D4763FA457DF287/image-size/medium?v=v2&amp;px=400" role="button" title="avikjuoss94_43-1763068099451.png" alt="avikjuoss94_43-1763068099451.png" /></span></STRONG></P><P>I can also open any invoice – example below – It also shows ECR values right side!</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikjuoss94_44-1763068099466.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/340348i23349C29EE7ABD92/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="avikjuoss94_44-1763068099466.png" alt="avikjuoss94_44-1763068099466.png" /></span></STRONG></P><P><STRONG>Conclusion:</STRONG></P><P>In a world where technology evolves faster than documentation can keep up, it’s easy for Functional Analysts to feel lost and overwhelmed. This guide bridges that gap, providing clear, step-by-step instructions to integrate SAP Document AI seamlessly with any non-SAP web application. By removing the guesswork and eliminating outdated instructions, it empowers analysts to explore, experiment, and innovate without frustration. The result? Less confusion, more confidence, and the ability to unlock the true potential of intelligent document processing in your organization.</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2025-11-13T22:15:06.916000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/how-to-build-an-ai-side-by-side-extension-for-fieldglass/ba-p/14277726 How to build an AI side by side extension for Fieldglass 2025-11-26T15:00:00.024000+01:00 Benedikt__ https://community.sap.com/t5/user/viewprofilepage/user-id/1849799 <P>In this blog post, we’ll walk you through building a <STRONG>side-by-side extension</STRONG> that combines <STRONG>SAP BTP’s AI capabilities with Fieldglass</STRONG> to streamline external worker onboarding. Using a practical example, we demonstrate how to create an intelligent document validation system that automatically reviews content of worker documents (ID, criminal records, debt collection statements, and confidentiality agreements) against company guidelines. The AI-powered extension extracts key content from documents, validates it using large language models, and presents summarized findings to end users for final approval or rejection decisions. This approach with GenAI Hub to protect these sensitive information significantly reduces manual review time while ensuring compliance, with all decisions automatically documented back in Fieldglass for complete audit trails.</P><P>In this example we test with for types of documents:</P><UL><LI><STRONG>ID</STRONG></LI><LI><STRONG>Debt collection</STRONG></LI><LI><STRONG>Criminal record</STRONG></LI><LI><STRONG>Confidential agreement</STRONG></LI></UL><H3 id="toc-hId-1894747147"><STRONG><U>Architecture</U>:</STRONG></H3><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="architecture.png" style="width: 805px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/345229i9BFBE3F489AEC82A/image-dimensions/805x384?v=v2" width="805" height="384" role="button" title="architecture.png" alt="architecture.png" /></span></P><P><STRONG>Document AI</STRONG>: Service to retrieve the information from the different types of documents. For each document there is a specific schema defined</P><P><STRONG>HANA Cloud</STRONG>: Stores all the needed data for the workflow/UI. Possibility to compare document to reference document. Also stores the guidelines that are used to check the entries from the documents</P><P><STRONG>SAP AI Core</STRONG>: Access to the different LLMs. Used to decide if the entries found with Document AI are acceptable per guideline or not. Summarizes the findings for the end user and gives recommendation</P><P><STRONG>Destination Service: </STRONG>Stores the credentials for OAuth2 and other relevant API data to access SAP Fieldglass from the CAP application. You need to generate an API key for Fieldglass (<A href="https://help.sap.com/docs/SAP_FIELDGLASS_INTEGRATION/73c0a1be6aaa46ef9b66b1c3f28a77f4/1a32d66883814f58b4dbfcf22d4b16ae.html?locale=en-US" target="_blank" rel="noopener noreferrer">sap help documentation</A>)</P><H3 id="toc-hId-1698233642"><STRONG><U>Process Flow:</U><BR /></STRONG></H3><P>Here is a very basic overview of the process flow of the application:</P><DIV class="">&nbsp;</DIV><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="processFlow.png" style="width: 827px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/345239iF189BC33FFA303C1/image-dimensions/827x368?v=v2" width="827" height="368" role="button" title="processFlow.png" alt="processFlow.png" /></span></P><P>We retrieve all workorders from Fieldglass and for all new ones we also retrieve the documents. If all documents are available for a work order we start the validation process. Validated will be ID (Name, birthday), confidential agreement (signed not signed), debt collection and credit statement are checked for entries. Results are validated over AI Core based on company guidelines. Resulting summary of findings are being displayed in the Fiori App to decide. The decision is then being sent over API to Fieldglass with a approval comment or a reject reason. The decision is being documented in Fieldglass. For each document type there is an Activity Item which has the verification setting enabled so we can accept, reject it</P><P><U>User interface:</U></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot.png" style="width: 894px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/345233iCF80ED6699E11C79/image-dimensions/894x447?v=v2" width="894" height="447" role="button" title="screenshot.png" alt="screenshot.png" /></span></P><P>The user can see the summary of the users entries, the current item being validated and the items that already have been validated. The user can also look up the original document to cross check the summary if needed.<BR />&nbsp;</P><H3 id="toc-hId-1501720137"><U><STRONG>APIs and endpoints:</STRONG></U></H3><P><U>Fieldglass APIs:</U></P><P>The Fieldglass APIs are, to be honest, not that straight forward <span class="lia-unicode-emoji" title=":winking_face:">😉</span></P><P>For this example we used the following APIs:</P><UL><LI>Activity Item Completion Upload (<A href="https://help.sap.com/docs/SAP_Fieldglass/121ea19333a5469c95824a333187c005/0ed97cf9b1ce4cd39057b973e2b6ead8.html?locale=en-US" target="_blank" rel="noopener noreferrer">help</A>, <A href="https://api.sap.com/api/activityItemCompletionUpload/path/Activity%20Item%20Completion%20Upload" target="_blank" rel="noopener noreferrer">API docu</A>)</LI><UL><LI>To set the status of the Fieldglass Activity Items as Rejected, Completed or Verify and with the reject reason/comment</LI></UL><LI>Work Order Delta Download (<A href="https://help.sap.com/docs/SAP_Fieldglass/121ea19333a5469c95824a333187c005/647ebfc752b64ac3b8f299ceaa82ce19.html?locale=en-US" target="_blank" rel="noopener noreferrer">help</A>, <A href="https://api.sap.com/api/standardModifiedWorkOrderDownload/path/Work%20Order%20Delta%20Download" target="_blank" rel="noopener noreferrer">API docu</A>)</LI><UL><LI>For retrieving all the work orders. <STRONG>Be aware this gets you a delta since the last call! Not all Work orders</STRONG></LI></UL><LI>Worker from Work Order Download (<A href="https://help.sap.com/docs/SAP_Fieldglass/121ea19333a5469c95824a333187c005/7b89f72e79db4ad3923eeb33e8f2486c.html?locale=en-US" target="_blank" rel="noopener noreferrer">help</A>, <A href="https://api.sap.com/api/standardWorkerDownloadFromWorkOrder/path/Worker%20from%20Work%20Order%20Download" target="_blank" rel="noopener noreferrer">API doc</A>)</LI><UL><LI>Fetch all information of the worker (name, security level etc.)</LI></UL><LI>Attachment XML Download (<A href="https://help.sap.com/docs/SAP_Fieldglass/121ea19333a5469c95824a333187c005/d423c04ff1e74c0e9db84505b693bfbb.html?locale=en-US" target="_blank" rel="noopener noreferrer">help</A>, &lt;no API available in business accelerator hub)</LI><UL><LI>For retrieving all relevant documents from a specific work order</LI><LI>Parameters need to be set like the following</LI><UL><LI>?object_ref=Activity Item~${workOrderID}~${activityItem}</LI><LI>The "activityItem" variable is a code you need to look up in the admin configuration&nbsp; and specifies what Activity Item you want to retrieve: Go to Admin Configuration -&gt; Activity Item -&gt; then search for you Activity Item and get the according code</LI></UL></UL></UL><P><STRONG>Be aware of the Fieldglass APIs ;D</STRONG></P><UL><LI>A lot of the FG APIs accept only csv in the request body. Make sure you sent the correct value in the correct cell. Use for example Excel if you want to make sure that you entered the correct values underneath the correct header as csv can be hard to read in just plain text and you can easily enter your value in the wrong column</LI><LI>They can have spaces in the request URL. Make sure they are correctly encoded by the REST client used</LI><LI>Some APIs do not make a full read but only a delta of the underlying entities</LI><UL><LI>You can reset the last fetch in Fieldglass if needed for testing</LI></UL><LI>In General be very aware of the API syntax as it can be unusual when comparing to the structure of other APIs. For example the syntax of the parameters for the <STRONG>Attachment XML Download </STRONG>&nbsp;with the "<STRONG>~</STRONG>"&nbsp; in between. E.g. for the download the parameter differs greatly depending if you want attachments from an Activity Item or a SOW</LI></UL><P>In conclusion read the documentation very carefully on the business accelerator hub AND the help portal</P><P><U>How to call the Document AI Service:</U></P><P>To get the URL of the we bind the Document AI Service to our application and used the function "<A href="https://sap.github.io/cloud-sdk/api/v4/functions/sap-cloud-sdk_connectivity.getServiceBinding.html" target="_blank" rel="noopener nofollow noreferrer"><STRONG>getServiceBinding</STRONG></A>" to&nbsp; retrieve all the required properties (<A href="https://sap.github.io/cloud-sdk/api/v4/modules/sap-cloud-sdk_connectivity.html" target="_blank" rel="noopener nofollow noreferrer">@sap-cloud-sdk/connectivity</A> package)</P><P>For starting a job in Document AI you need to set the following headers and make a <A href="https://api.sap.com/api/document_information_extraction_api/path/post_document_jobs" target="_blank" rel="noopener noreferrer">POST Request</A>:</P><TABLE><TBODY><TR><TD width="118.586px" height="50px"><P><STRONG>Header field</STRONG></P></TD><TD width="145.336px" height="50px"><P><STRONG>Value</STRONG></P></TD><TD width="665.578px" height="50px"><P><STRONG>Desciption</STRONG></P></TD></TR><TR><TD width="118.586px" height="49px"><P>clientId</P></TD><TD width="145.336px" height="49px"><P>&lt;clientId&gt;</P></TD><TD width="665.578px" height="49px"><P>You can call <A href="https://api.sap.com/api/document_information_extraction_api/path/get_client" target="_blank" rel="noopener noreferrer">this</A> Api to retrieve all client ids</P></TD></TR><TR><TD width="118.586px" height="105px"><P>documentType</P></TD><TD width="145.336px" height="105px"><P>&lt;documentType&gt;</P></TD><TD width="665.578px" height="105px"><P>The type of document being uploaded. Choices: 'invoice', 'paymentAdvice', 'purchaseOrder', 'businessCard', 'deliveryNote', 'resume', 'birthCertificate'<BR />'custom' if you created one yourself</P></TD></TR><TR><TD width="118.586px" height="50px"><P>schemaId</P></TD><TD width="145.336px" height="50px"><P>&lt;schemaId&gt;</P></TD><TD width="665.578px" height="50px"><P>The schema you want to use for your document. (get all schemas with this <A href="https://api.sap.com/api/document_information_extraction_api/path/get_schema_configuration" target="_blank" rel="noopener noreferrer">api</A>)</P></TD></TR><TR><TD width="118.586px" height="50px"><P>schemaVersion</P></TD><TD width="145.336px" height="50px"><P>&lt;schemaVersion&gt;</P></TD><TD width="665.578px" height="50px"><P>The version of your schema</P></TD></TR><TR><TD width="118.586px" height="97px"><P>&nbsp;</P><P>Content-Type</P></TD><TD width="145.336px" height="97px"><P>Multipart/form-data</P></TD><TD width="665.578px" height="97px"><P>&nbsp;</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><P>As a response you should receive the jobId this jobId is needed to call the service again later for the result.</P><P>In our case we configured the callback from the service, so it calls our application when the job is finished and all results have been extracted. Check <A href="https://help.sap.com/docs/document-ai/sap-document-ai/notifications?locale=en-US" target="_blank" rel="noopener noreferrer">this</A> out, to see how this is done. Make sure you have created a configuration key and set "<STRONG>activateDocumentNotifications</STRONG>" to <STRONG>true </STRONG>otherwise the service will not perform a callback. Configure the <A href="https://help.sap.com/docs/document-ai/sap-document-ai/creating-destination-configuration-for-notifications?locale=en-US" target="_blank" rel="noopener noreferrer">destination</A> for the callback accordingly.</P><P>When the service performs the callback with the job id you can use this to make a <A href="https://api.sap.com/api/document_information_extraction_api/path/get_document_id" target="_blank" rel="noopener noreferrer">GET request</A> to fetch the results of the job. This information is then used to further process the documents and later sent to AI Core.<BR /><BR />You can use predefined schemas or you can define your own schemasd. In our case we defined custom schemas. Check out the help portal for <A href="https://help.sap.com/docs/document-ai/sap-document-ai/schema-configuration?locale=en-US" target="_blank" rel="noopener noreferrer">schemas</A></P><P><U>How to call the AI Core</U></P><P>For using the AI Core you can use the <A href="https://sap.github.io/ai-sdk/" target="_blank" rel="noopener nofollow noreferrer">provided SDK</A> which fits you best. In our case as we are working with CAP and a NodeJS backend we used the SAP Cloud SDK for AI (JavaScript). We then utilized the <A href="https://sap.github.io/ai-sdk/docs/js/orchestration/chat-completion" target="_blank" rel="noopener nofollow noreferrer">Orchestration Service</A> which enables us to quickly change back and forth between the difference models if needed</P><H3 id="toc-hId-1305206632"><U><STRONG>Set up for side by side extension with Fieldglass</STRONG>:</U></H3><P>All APIs of Fieldglass are available in the <A href="https://api.sap.com/products/SAPFieldglass/apis/all" target="_blank" rel="noopener noreferrer">business accelerator hub</A> and in the <A href="https://help.sap.com/docs/SAP_Fieldglass/121ea19333a5469c95824a333187c005/de446f74158b4f09be8766e3673fee2c.html?locale=en-US" target="_blank" rel="noopener noreferrer">help portal</A></P><P>For making HTTP requests to FG you need to have an API Key. Here is a short Joule for consultant explanation on how to do that or check out this <A href="https://help.sap.com/docs/SAP_FIELDGLASS_INTEGRATION/73c0a1be6aaa46ef9b66b1c3f28a77f4/1a32d66883814f58b4dbfcf22d4b16ae.html?locale=en-US" target="_blank" rel="noopener noreferrer">help documentation</A>:</P><P><U>Step-by-Step Instructions for API Key Generation:</U></P><OL><LI>Access Configuration Manager Dashboard<OL><LI>Sign into SAP Fieldglass using your standard credentials$</LI><LI>Switch to Configuration Manager user: Click your user icon in the upper right corner and select "Linked Accounts"</LI><LI>Navigate to the Configuration Manager dashboard - this provides access to integration tools and administrative functions</LI></OL></LI><LI>Create the API Application Key<OL><LI>Click the "API Application Keys" tile on the Configuration Manager dashboard</LI><LI>Click "New" to create a new API key</LI><LI>Fill out the form with the following required information:<OL><LI>Application Name: Enter a unique, descriptive name (e.g., "SAP Start Integration")</LI><LI>Description: Provide a clear description of the API key's purpose (e.g., "API Key for SAP Start Integration")</LI></OL></LI><LI>Click "Create" to generate the API key</LI><LI>Capture Generated Credentials</LI></OL></LI></OL><P>After creation, the system will display auto-generated values:</P><UL><LI>Application Key (auto-generated)</LI><LI>Client ID (auto-generated)</LI><LI>Client Secret (auto-generated)</LI></UL><P><STRONG>!!! Important: Copy these values to a secure location immediately, as you cannot retrieve them later !!!</STRONG></P><P><U>BTP Destination:</U></P><P>Create a BTP destination with the url, credentials and Oauth Url from the API key. Choose "OAuth2ClientCredentials" as Authentication. Don't know how to create a destination? <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/create-http-destinations?locale=en-US" target="_blank" rel="noopener noreferrer">Check this out</A>!</P><P>You can now call the SAP Fieldglass APIs over this destination. In case of errors try to call SAP Fieldglass with an REST Client like Postman or Bruno</P><P>You can retrieve the destination in CAP for example with the <A href="https://sap.github.io/cloud-sdk/api/v4/modules/sap-cloud-sdk_connectivity.html" target="_blank" rel="noopener nofollow noreferrer">@sap-cloud-sdk/connectivity</A> package with the <A href="https://sap.github.io/cloud-sdk/api/v4/functions/sap-cloud-sdk_connectivity.getDestination.html" target="_blank" rel="noopener nofollow noreferrer"><STRONG>getDestination</STRONG></A> function and then make an axios call to Fieldglass</P><P><STRONG>Conclusion:</STRONG></P><P>Congratulations! Using the example of an AI-powered external worker document validation system, you’ve learned how to build a side-by-side extension for Fieldglass with SAP BTP’s AI services. Through this practical use case, you now understand how to leverage SAP Document AI for intelligent document processing, SAP AI Core with its LLMs for automated guideline validation, and navigate the unique challenges of Fieldglass APIs - from CSV request bodies to URL encoding quirks. With this real-world example as your foundation, you’re ready to create your own intelligent automation solutions that enhance Fieldglass <span class="lia-unicode-emoji" title=":rocket:">🚀</span></P><P><STRONG>Special Thanks:</STRONG><BR />Big thanks to Leo Irudayam for his dedication, expertise and hands-on development that helped bring this PoC to life.<BR />Special thanks also goes to Matthias Beeler for the technical implementation and realization and Sven Breuninger and Kevin Hornung for the Fieldglass expertise that made this PoC possible.</P> 2025-11-26T15:00:00.024000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/rpt-1-document-ai-perplexity-in-ai-core-and-co-how-to-start-your-2026-right/ba-p/14301143 RPT-1, Document AI, Perplexity in AI Core and co. - How to start your 2026 right with SAP's AI offer 2026-01-05T13:50:32.357000+01:00 leoirudayam https://community.sap.com/t5/user/viewprofilepage/user-id/5159 <P>AI remains years after its new wave of generative AI more omnipresent then ever in our daily lives and there not a single day passes where we don't talk about new announcements, AI ethics discussion, if it is a bubble, what amount of money is spent and so on. For those of you, who follow me, will know, that I preach all day that the key to successful AI adoption is a useful case, the right technology and working with the people.</P><P>Writing prompt guidelines is just enablement for another side-by-side tool and does not gain efficiency rather joy trying out new things. Building an agent for a pretty deterministic process might be fun and easy to implement, but expensive and unpredictable in production. And so on... While many are talking about large mainly American software vendors with their "agentic foundation killing any SaaS", SAP's offerings might not be so familiar to you (besides Joule and BDC) - so that's my motivation to provide a sneak peak of exciting topics in 2026.</P><H2 id="toc-hId-1787644479">Use Case: Onboarding of a new vehicle to the car fleet</H2><P>In order to make tools tangible and understand the bigger picture, we will sketch an AI-assisted process of vehicle onboarding. Previously following steps were mandatory:</P><OL><LI>Clerk typing vehicle data into system from the official vehicle document</LI><LI>Vehicle Master Data Engineer adding additional information based on public search as required drivers licence and consumption values</LI><LI>Finance expert to determine the tax amount to be paid for that year based on manual and local review</LI><LI>Field Service Manager classifying the vehicle for the right purposes to be used</LI></OL><P>As you can see, this process is slow, very labor-intense and quite possibly error-prone. We will now step-by-step automate this by leveraging different AI tools offered by SAP within the Business AI portfolio&nbsp;<span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span></P><P>Our ultimate goal is creating a low-code-first, enterprise-ready automation to avoid manual research and typing into the system:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="RPT1-co.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358176i6D2CF2CBC02FCEEF/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="RPT1-co.png" alt="RPT1-co.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-1720213693">Capturing of correct data: No more manual data entries from 2026 on</H3><P>If you have in 2026 tasks which require typing in data from one medium (e.g. mail or paper) into your system, it's time to automate this asap. In our scenario, we do have the vehicle document on paper, as this one:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Fahrzeugausweis.png" style="width: 604px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358065iB1B80AD18AAE94AE/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Fahrzeugausweis.png" alt="Fahrzeugausweis.png" /></span></P><P>Instead of typing this, we use the SAP Start app on our iPhone to take a picture and the deep integration to SAP Document AI to process this document (see more <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/new-in-sap-mobile-start-v2-4-integrate-and-launch-sap-document-ai-on-mobile/ba-p/14162770" target="_self">here</A>). We then utilise Document AI with our custom schema to extract the results and preview these to our clerk for a double-check. Instead of building entire new UIs, workflows, etc. we can now do this directly in Document AI and get a nice view of the document on the left and extraction on the right:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-05 at 08.58.54.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358066i8E07B660AC78E347/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Screenshot 2026-01-05 at 08.58.54.png" alt="Screenshot 2026-01-05 at 08.58.54.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-1523700188">Automating web searching: Leverage the perplexity integration in SAP AI Core</H3><P>SAP AI Core is the central hub for any access to MLOps activities and GenAI. With your BTP account you have access to a wide variety of partner models hosted on hyperscaler infrastructure and SAP's very own one with Mistral. If you didn't know this yet, that we have an orchestration workflow with prompt optimiser and much more, look up <A href="https://me.sap.com/notes/3437766" target="_self" rel="noopener noreferrer">here</A> which models we offer through your BTP contract.</P><P>Lately, we have added Perplexity as well - the AI-assisted search engine. Now we can connect publicly available data straight into our workflows, and it's huge, e.g.</P><UL><LI>classify the purchased non-catalog item to the correct product group</LI><LI>fill gaps in master data based on product sheets</LI><LI>make research on sustainability KPIs of your supplier</LI><LI>conduct analysis for B2G processes</LI><LI>get market macro trends or real-time insights, e.g. supply chain disruptions</LI><LI>...</LI></UL><P>We will leverage the Perplexity integration to enhance our vehicle master data by the required drivers licence type for Swiss drivers licences and the energy consumption according to WLTP (an industry standard to measure consumption). We can model our prompt in SAP AI Launchpad and use the prompt registry to save it with placeholders:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-05 at 09.11.59.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358072i6197E155711894F6/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Screenshot 2026-01-05 at 09.11.59.png" alt="Screenshot 2026-01-05 at 09.11.59.png" /></span></P><P>And now it's so simple to add it to your pro-code app via CAP, to your low-code automation in SAP Build Process Automation or your integration flow in SAP Integration Suite:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-05 at 09.13.34.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358078i814679EFCE19B0F6/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Screenshot 2026-01-05 at 09.13.34.png" alt="Screenshot 2026-01-05 at 09.13.34.png" /></span></P><P>In this iFlow you can see how we leverage the new outbound channel feature in Document AI to enrich the extraction of the results straightaway with an iFlow exposed via API management (for more, stay tuned on upcoming webinars). If you have seen in the previous screenshot of Document AI - there is a tab with "Z - additional values" <span class="lia-unicode-emoji" title=":winking_face:">😉</span></P><H3 id="toc-hId-1327186683">Do machine learning without data scientist: SAP's own foundational model RPT-1</H3><P>Now we have been onboarding our vehicle, but we must classify for which tasks we can use it. Luckily we have already quite a large fleet and some data. Ideal for machine learning (yes that's also part of AI and yes AI is not only GenAI).</P><P>Machine learning learns from historical data - as simple as this is, this requires a data set, model fitting, model validation and deployment. Not straightforward. With Gemini, Le Chat and co. we are used to just prompt AI models. What if, we could just put a snapshot of our table to a pre-trained model and let it classify by itself. Congrats - you are now a RPT-1 user:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-05 at 09.19.47.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358093i263FA479AAE7337D/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Screenshot 2026-01-05 at 09.19.47.png" alt="Screenshot 2026-01-05 at 09.19.47.png" /></span></P><P>RPT-1 has its own <A href="https://rpt.cloud.sap/dashboard" target="_self" rel="nofollow noopener noreferrer">playground</A>, is accessible via <A href="https://me.sap.com/notes/3437766" target="_self" rel="noopener noreferrer">AI Core</A> and is phenomenal for transactional classification and prediction tasks. If you want to know more about its <A href="https://community.sap.com/t5/technology-blog-posts-by-members/sap-rpt-1-ready-to-use-ai-for-structured-data/ba-p/14264801" target="_self">integration</A>, I'd recommend you this <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/what-is-sap-rpt-1-a-table-specialized-model-explained-through-the-original/ba-p/14277618" target="_self">gem</A>. In my scenario, we use RPT-1 in our workflow in Build Process Automation to classify our vehicle correctly before we post it to our equipments in S/4HANA:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="leoirudayam_0-1767601356212.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358095i0FE66960A490081E/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="leoirudayam_0-1767601356212.png" alt="leoirudayam_0-1767601356212.png" /></span></P><H3 id="toc-hId-1130673178">Performing more agentic tasks: Joule Studio</H3><P>Previously you might have heard, you can use Joule Studio to make Joule truly yours. Joule Skills are intent-based automations made familiar to Joule to perform tasks conversational based. They can leverage workflows, pro-code and integrations via Integration Suite.</P><P>2025 Christmas gift, was the GA of the agent building capability in Joule where we can model agents. Agents are behaving non-deterministic and trying to mimic a human thought by providing it a scene and background - like an improvisation theatre. Now it's oftentimes pretty tricky to understand when an agent is really necessary. In our example we use an agent to determine how the vehicle tax are calculated for the Kanton St.Gallen, where we have registered our car and perform a calculation based on the perplexity web search (disclaimer - this can be modelled through a workflow in Build, it's just for the sake of simplicity):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-05 at 09.28.53.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/358096i942585BE83ABA36B/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Screenshot 2026-01-05 at 09.28.53.png" alt="Screenshot 2026-01-05 at 09.28.53.png" /></span></P><P>&nbsp;</P><H2 id="toc-hId-805076954">Why choose SAP for your AI journey?</H2><P>That's a good question and especially given there are soooo many tools on the market, why should you? It's simple: it's all about enterprise readiness. Behind every of this automation, there is only 5-10% AI, the remaining parts are security, audibility, traceability, transport management, scale resiliently in production, monitoring, low-code modelling etc. And for all of the remaining bits and pieces, SAP BTP has always been the best option from SAP Build to SAP Integration Suite. With SAP Document AI, we have a leader in document processing with inbound and outbound channels, and SAP AI Core a powerful AI orchestration service at low costs each.</P><P>While you can get other services cheaper somewhere, the TCO of this toolbox is imho astonishingly low. And for building this scenario from mobile device intake to equipment in S/4, I just needed a day to configure and build without pro-code needed. Happy AI-2026...</P><P>&nbsp;</P> 2026-01-05T13:50:32.357000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702 From Docs to Dialogue: Unlock AI Self-Service Learning for Your Internal Teams 2026-01-08T23:27:21.357000+01:00 joshlang412 https://community.sap.com/t5/user/viewprofilepage/user-id/161843 <P><FONT size="5"><STRONG><U>From Docs to Dialogue:</U> </STRONG><U><STRONG>Unlock AI Self-Service Learning for Your Internal Teams</STRONG></U></FONT></P><UL><LI>Every organization wants onboarding to be <STRONG>faster, clearer, and less dependent on tribal knowledge</STRONG>.</LI><LI>NotebookLM enables the <STRONG>conversion of trusted product documentation and internal project artifacts into an AI-based conversational resource</STRONG> that employees can engage with naturally, as if they were chatting with their most knowledgeable coworker. Instead of searching across files, PDFs, and web pages, teams can ask direct questions about product behavior, setup requirements, and configuration considerations, and instantly turn answers into internal training materials.</LI><LI>This AI-driven approach<UL><LI><STRONG>scales knowledge</STRONG> without replacing expertise</LI><LI><STRONG>streamlines learning</STRONG> without adding process overhead</LI><LI>helps organizations <STRONG>build deeper product fluency</STRONG> internally</LI></UL></LI></UL><DIV class="">&nbsp;</DIV><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_1-1767381261428.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357831i08A9E4309F39EE01/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="joshlang412_1-1767381261428.png" alt="joshlang412_1-1767381261428.png" /></span></P><P><FONT size="5"><U><STRONG>Table of Contents</STRONG></U></FONT></P><P><ul =""><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-1658537610">Benefits &amp; Use Cases</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-1462024105">Gathering Trusted Knowledge</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-1394593319">SAP Product Documentation</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-1198079814">Other relevant documentation</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-872483590">Getting Started with NotebookLM</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-675970085">Chatbot-Driven Learning</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-479456580">Generating Internal Training Assets</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-412025794">Audio Overview: podcast interview for auditory learning</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-215512289">Infographic: a one-stop shop PDF for visual learning</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-18998784">Video Overview: a training video for visual learning</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-169739636">Flashcards and Quizzes: A hands-on tool for your team to learn</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-266629138">Best Practices</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId-70115633">End-to-End overview</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId--126397872">A real-world example, see NotebookLM in action</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId--616314384">Prompt</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId--812827889">Infographic</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId--1009341394">Video Overview</a></li><li style="list-style-type:disc; margin-left:15px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId--1205854899">Chatbot Response</a></li><li style="list-style-type:disc; margin-left:0px; margin-bottom:1px;"><a href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-docs-to-dialogue-unlock-ai-self-service-learning-for-your-internal/ba-p/14300702#toc-hId--1108965397">Considerations &amp; Final Takeaways</a></li></ul></P><H1 id="toc-hId-1658537610"><U>Benefits &amp; Use Cases</U></H1><UL><LI>Faster <STRONG>employee ramp-up</STRONG> by turning existing SAP Documentation into a conversational AI learning environment</LI><LI><STRONG>Instant answers</STRONG> for distributed teams across roles, experience levels, and time zones</LI><LI>Improved <STRONG>configuration confidence</STRONG> through real-time dialogue with authoritative sources</LI><LI><STRONG>Consistent onboarding experiences</STRONG> that reduce knowledge gaps between new hires</LI><LI>Rapid <STRONG>training asset creation</STRONG> (FAQs, slide outlines, learning summaries) generated directly from source material</LI><LI><STRONG>Search less, learn more</STRONG>—teams ask questions instead of digging across files and folders.</LI><LI>More <STRONG>informed internal experts</STRONG> because foundational questions get answered efficiently and consistently</LI><LI>Support interactions become <STRONG>more efficient and solution-focused</STRONG> when they happen, backed by deeper internal product fluency.</LI></UL><H1 id="toc-hId-1462024105"><U>Gathering Trusted Knowledge</U></H1><P>To begin using <STRONG>NoteBookLM</STRONG> as your AI Self-Service learning tool, you must first gather all of the relevant knowledge on the specific SAP product you are looking to focus on. These will become your sources within NotebookLM and will act as the knowledge base that NotebookLM uses as it guides your&nbsp;</P><P><EM>The free version of NotebookLM is limited to 50 sources, so please consider this as you capture your list of sources</EM></P><H2 id="toc-hId-1394593319">SAP Product Documentation</H2><P><A href="https://help.sap.com/docs/" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/</A>&nbsp;contains all relevant product documentation for your SAP products and is the best place to start gathering the content you need.&nbsp;</P><OL><LI>Go to <A href="https://help.sap.com/docs/&nbsp;" target="_self" rel="noopener noreferrer">SAP Help</A>&nbsp;&nbsp;&nbsp;</LI><LI><STRONG>Search</STRONG> for the specific SAP product you are looking to hone in on and then click on the <STRONG>Suggested Product</STRONG> that most aligns with your search.&nbsp; &nbsp;<BR />Example: SAP Business Network for Procurement&nbsp;</LI><LI>In the bottom right corner of the top banner, click <STRONG>Download PDF&nbsp;</STRONG></LI><LI><STRONG>Select all&nbsp;</STRONG>relevant options from the pop-up page, then click <STRONG>Download</STRONG> at the bottom of the page&nbsp;</LI></OL><H2 id="toc-hId-1198079814">Other relevant documentation</H2><P>In addition to the standard SAP Product Documentation, you can gather information from various sources, including webpages, documents, PDFs, video transcripts, and raw text.</P><P><EM>Consult with your internal security and compliance teams to review the NotebookLM terms of service&nbsp;before interacting with any non-public documentation&nbsp;</EM></P><UL><LI>SOPs (standard operating procedures) for business processes&nbsp;</LI><LI>configuration specifications and customization designs</LI><LI>Project planning and scope documentation&nbsp;</LI><LI>public-facing / external blogs or training content on the product or business process (YouTube videos, Blogs, industry journals, etc.)&nbsp;</LI><LI>Product demos or training recording transcripts&nbsp;</LI><LI>Company branding information&nbsp;</LI></UL><H1 id="toc-hId-872483590"><U>Getting Started with NotebookLM</U></H1><P>Now that you have all your sources prepared, you can begin uploading them to NotebookLM.&nbsp;</P><OL><LI>Open <A href="https://notebooklm.google.com/" target="_self" rel="nofollow noopener noreferrer"><STRONG>NotebookLM</STRONG></A> and complete the onboarding process to <STRONG>create a free account</STRONG>. <EM>This will be tied to your Gmail/Google account. Please consult your internal teams regarding any enterprise plans or privacy concerns.</EM></LI><LI>Create a new notebook, selecting the <STRONG>+ Create New</STRONG>&nbsp;button</LI><LI><STRONG>Upload the files</STRONG> that you captured in the previous step by clicking <STRONG>Upload Files </STRONG></LI><LI>Allow your sources to load. Once complete, you should see all your <STRONG>sources displayed in the&nbsp;left panel</STRONG>.</LI><LI>To share your notebook with other colleagues, you can click the <STRONG>Share</STRONG> button in the top right of the page.&nbsp;</LI></OL><H1 id="toc-hId-675970085"><U>Chatbot-Driven Learning</U></H1><P>In the&nbsp;<STRONG>middle section</STRONG>&nbsp;of the page, you can interact with the notebook via&nbsp;<STRONG>Chat,</STRONG>&nbsp;as if you were talking with a product expert.&nbsp;</P><UL><LI>NotebookLM will then use <STRONG>AI to develop an answer</STRONG>, intentionally prioritizing your repository of sources to provide the proper context and deliver the best answer to your question.</LI><LI>Within the AI-generated response, you will notice that <STRONG>small numbers with circles</STRONG> around them are displayed throughout the answer. You can click these, and then the left panel will take you directly into the specific source document where it pulled that part of the answer from</LI><LI>For a more visual approach, you can also click the <STRONG>Mind Map</STRONG> option&nbsp;in the&nbsp;Studio&nbsp;panel. Once generated, you can click to view a visual representation of the sources you uploaded. As you click deeper into the mind map, the chat will auto-update and help kick-start a conversation you can use to drill down into a specific topic area.&nbsp;</LI></UL><P><EM>As with any AI LLM-based tool, results may vary and should be reviewed in detail by your teams for accuracy.&nbsp;</EM></P><P>You can continue your conversation with the AI chatbot by asking it</P><UL><LI>additional clarifying questions specific to your needs</LI><LI>reframing your question in more complete wording to provide more context</LI><LI>to drill down deeper into specific areas of its response&nbsp;</LI><LI>to drill down deeper into specific documents/sources&nbsp;</LI><LI><A href="https://support.google.com/notebooklm/answer/16179559?hl=en&amp;ref_topic=16164070&amp;sjid=9358726304321028467-NA" target="_self" rel="nofollow noopener noreferrer">Additional documentation&nbsp;</A></LI></UL><H1 id="toc-hId-479456580"><U>Generating Internal Training Assets</U></H1><P>The <STRONG>right portion</STRONG> of the page, called <STRONG>Studio,</STRONG> will include options (depending on your plan) to generate content tailored to your team's training and enablement needs.&nbsp;</P><P>For each option in the studio,&nbsp;<SPAN>click the&nbsp;<STRONG>Pencil</STRONG>&nbsp;icon to customize the result by providing a&nbsp;<STRONG>prompt</STRONG>&nbsp;that guides the studio's content generation and is</SPAN>&nbsp;tailored to your needs.</P><UL><LI>If you do not click the pencil, it will auto-generate based on all your sources. Depending on the size and scope of your sources, the output may be too high-level without a custom prompt provided.&nbsp;</LI></UL><P>Each Studio option may also provide its own set of <STRONG>configuration toggles</STRONG> in addition to a custom prompt.</P><P>Each option also&nbsp;<SPAN>includes a&nbsp;<STRONG>Download</STRONG>&nbsp;option, allowing you to export</SPAN>&nbsp;any generated content to your internal libraries or training tools.&nbsp;</P><H2 id="toc-hId-412025794">Audio Overview: podcast interview for auditory learning</H2><P>The <STRONG>audio overview</STRONG> option generates a <STRONG>one-on-one podcast interview</STRONG> between two people who discuss your sources and/or your custom prompt. You can use this to create targeted podcasts that dive into specific areas, then include them in onboarding materials for teams who prefer an Auditory format.&nbsp;</P><P>*Pro Tip: upload your own <STRONG>transcript or outline</STRONG> of how you would like the conversation to go. This will help guide the model to create an interview that covers the areas you consider essential, rather than guessing what to highlight.&nbsp;</P><P>*Pro Tip: When providing your custom prompt, <STRONG>include specifics</STRONG> as to how you would like the <STRONG>tone</STRONG> of the speakers to be. By default, the podcasts may seem a bit exaggerated at times. You can ask the prompt to use more normal and realistic tones and/or ask it to avoid certain words like "massive" or "huge", for example&nbsp;</P><H2 id="toc-hId-215512289">Infographic: a one-stop shop PDF for visual learning</H2><P>The&nbsp;<STRONG>infographic</STRONG>&nbsp;will create a <STRONG>one-pager PDF</STRONG> with AI-generated visuals that provide a more "connect the dots" overview of the sources.&nbsp;It will start with a high-level overview that connects all sources (similar to a Mind Map), but if you provide a specific prompt, it can also provide a more refined overview of that topic area.&nbsp;</P><P>*Pro Tip: check the visual for any discrepancies. If you see issues, recreate the infographic by changing your custom prompt to call out the mistake you want to avoid. The more specifics you provide, the better&nbsp;</P><P>*Pro Tip: In your custom prompt, call out the audience that will be consuming the graphic itself. It can tailor the messaging and graphic style to better suit that audience. You can also ask it to reference a branding source if you have uploaded one that includes logos, color schemes, etc.&nbsp;</P><H2 id="toc-hId-18998784">Video Overview: a training video for visual learning</H2><P>The <STRONG>video overview&nbsp;</STRONG>will provide a more <STRONG>traditional training format</STRONG>, with one speaker presenting the topic while an AI-generated video plays in the background. The video will resemble a PowerPoint presentation. You can use this to create a high-level video overview of the sources, or to provide a custom prompt that goes into one area in more detail.&nbsp;</P><P>*Pro Tip: The graphics or numbers on the video itself need to be reviewed for accuracy. If you see discrepancies between what is displayed and what is mentioned in the video, you will need to refine your custom prompt and regenerate the video to close the gap. The more specific you are (e.g., an outline or script and dos and don'ts), the better the results you will get. You are unable to edit the video itself or adjust the slides/visuals after it is generated&nbsp;</P><H2 id="toc-hId-169739636">Flashcards and Quizzes: A hands-on tool for your team to learn&nbsp;</H2><P>The&nbsp;<STRONG>Flashcards</STRONG>&nbsp;option searches for primary and recurring keywords and definitions in your sources and automatically generates flashcards to help learners study/memorize key terms.&nbsp;</P><P>The <STRONG>Quiz</STRONG> option will also search for primary and recurring keywords across the sources and generate an interactive question-and-answer quiz.&nbsp;</P><P><EM>*Quizzes cannot be downloaded externally&nbsp;</EM></P><H1 id="toc-hId-266629138"><U>Best Practices</U></H1><UL><LI>Depending on your sources and the sheer volume of data within the notebook, the AI Models can and will hallucinate. Having <STRONG>detailed, specific prompts</STRONG>&nbsp;to guide each conversation or studio creation toward&nbsp;a specific goal will produce the best results. It is better to break your content needs into smaller groupings with detailed prompts than to blindly ask it to create high-level overviews.&nbsp;</LI><LI>Be sure to consult with your internal privacy and compliance teams before uploading any non-public information into NotebookLM. As a general rule, only upload <STRONG>publicly available content</STRONG> to NotebookLM.&nbsp;</LI><LI><STRONG>YouTube videos</STRONG> can be effective at providing an additional perspective through a more expert-focused, human-guided lens on your dataset of sources. Collect long-form YouTube interviews with experts in your area and upload the URLs as additional sources to your notebook.&nbsp;</LI><LI>Create your own <STRONG>scripts or outlines</STRONG> beforehand and provide those to the chat or studio in addition to your primary ask it. This will help ensure it follows the correct path you are looking for and does not hallucinate. You can also use other LLMs or AI Chatbots to help you come up with ideas and draft a high-level script or outline to follow.&nbsp;</LI><LI>If you share your notebook with end users, ensure they understand that chatbot results must be&nbsp;<STRONG>reviewed and refined</STRONG>&nbsp;to provide guidance that helps&nbsp;kick-start an investigation into a topic. End users should be wary of copying/pasting AI-generated content externally.&nbsp;</LI></UL><H1 id="toc-hId-70115633"><U>End-to-End overview</U></H1><P><STRONG>Find your product at SAP Help</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_0-1767380178000.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357824i08FEC6355E0CB9D2/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_0-1767380178000.png" alt="joshlang412_0-1767380178000.png" /></span></P><P><STRONG>Download the SAP product documentation to PDF&nbsp;</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_0-1767380280271.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357825i25496D86921872B2/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_0-1767380280271.png" alt="joshlang412_0-1767380280271.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_1-1767380331957.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357826i2F1C96D3E7861357/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_1-1767380331957.png" alt="joshlang412_1-1767380331957.png" /></span></P><P><STRONG>Create a notebook and upload files to NotebookLM&nbsp;</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_2-1767380457944.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357827iB85BF649CBEDD5F6/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_2-1767380457944.png" alt="joshlang412_2-1767380457944.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_3-1767380504131.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357828i621122F749A19968/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_3-1767380504131.png" alt="joshlang412_3-1767380504131.png" /></span></P><P><STRONG>Observe your sources and begin interacting with the chatbot &amp; studio</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_0-1767380632096.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357829i106F3C090D530D2B/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_0-1767380632096.png" alt="joshlang412_0-1767380632096.png" /></span></P><H1 id="toc-hId--126397872"><U>A real-world example, see NotebookLM in action</U></H1><P>The SAP Business Network for Procurement is used globally to connect buyers and suppliers and enable interaction and transactions. This results in a variety of country-specific invoicing laws and portals that vary by country. The application itself includes standard invoicing features and built-in support for various country-specific E-Invoicing mandates.&nbsp;</P><P>In this example, we will investigate how&nbsp;<SPAN>we can learn more about this topic using NotebookLM with a <U><STRONG>sing</STRONG><STRONG>le</STRONG></U></SPAN><U><STRONG>&nbsp;prompt</STRONG></U>&nbsp;to generate a&nbsp;<STRONG>text answer</STRONG>,&nbsp;an<STRONG> infographic</STRONG>, and a <STRONG>video&nbsp;overview</STRONG>&nbsp;file.&nbsp;</P><H2 id="toc-hId--616314384">Prompt</H2><PRE>I want to learn more about e-invoicing and country-specific invoicing rules within the SBN for the Procurement application. My team has a basic understanding of the core SBN Procurement flows, but is seeking more guidance on the e-invoicing and country-specific invoicing logic and features within the product. Can you help produce content that clarifies this for us and explains the topic in detail as it relates to the larger product? Id like to know what is supported in the app, how i would interact with these features, if there are any specific setup or customization requirements to use this, and a list of which countries are currently supported. <BR />The audience here is a group of corporate employees who know procurement as a whole. Keep things professional and short/sweet. Don't use any exaggerations and don't overhype with any big, bold words. Use simpler, down-to-earth professional wording.&nbsp;</PRE><H2 id="toc-hId--812827889">Infographic</H2><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshlang412_0-1767384252319.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/357839i345D2CAA82B6C556/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="joshlang412_0-1767384252319.png" alt="joshlang412_0-1767384252319.png" /></span></P><H2 id="toc-hId--1009341394">Video Overview</H2><P><A href="https://community.sap.com/source-Ids-list" target="1_7wzzvc9a" rel="nofollow noopener noreferrer">&nbsp;</A></P><H2 id="toc-hId--1205854899">Chatbot Response</H2><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Here is an overview of how SAP Business Network (SBN) handles e-invoicing and country-specific compliance.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">In the context of the Procurement application, e-invoicing on SBN goes beyond emailing a PDF. The system uses structured data (cXML) to validate invoices against your business rules and the legal regulations of the supplier’s country before the invoice reaches your internal systems.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">The core feature that manages this is Country/Region-Based Invoice Rules. When a supplier submits an invoice, SBN detects the originating country based on the supplier’s VAT ID prefix or address, then applies a specific set of validation rules that override default transaction rules. This ensures that suppliers in different countries — for example Italy vs the United States — see different required fields and localized behaviors.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">The platform supports several compliance models depending on the region.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">For VAT-regulated regions, particularly in the EU, Australia, and Canada, SBN enforces required tax information such as VAT IDs, supply dates, tax breakdowns, and local currency requirements.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">In countries using government clearance models, where the government must approve an invoice before the buyer receives it, SBN integrates directly with national invoice platforms. Examples include KSeF (Poland), SDI (Italy), and the E-Invoice system (India).</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">SBN automatically applies digital signatures to invoices for many countries to ensure document integrity and authenticity.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">The system also converts standard cXML invoice data into legally mandated formats required by specific governments or networks. Examples include FatturaPA (Italy) and Peppol UBL (supported in countries such as Belgium and Singapore).</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Buyers interact with these features primarily through configuration rather than manual invoice transactions.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">To configure rules, buyers navigate to Country-Based Invoice Rules within the Administration and Configuration settings. Here, countries can be activated and compliance requirements can be enabled or disabled, such as requiring suppliers to send tax invoice documents.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Buyers can monitor invoice submission status in their inbox. For government-connected countries, invoice history will include status updates showing government validation progress and results.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Buyers can also generate compliance visibility through built-in reporting. One example is the Supplier Legal Profile report, which shows which suppliers have completed the required tax compliance setup for their country or region.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Suppliers see a dynamic invoice creation experience based on their country. During invoice creation, suppliers are shown required local tax fields based on their location — for example GST IDs and HSN codes in India, or Stamp Duty fields in Italy.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Suppliers in countries with strict mandates must complete a Legal Profile or Country Configuration in their account settings. This is where they enter tax registration numbers and upload any required digital certificates or identifiers for government or network compliance.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">To enable these features in an SBN Buyer account, buyers must update Default Transaction Rules to allow country-based invoice rules to take precedence instead of being ignored.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Buyers must also add and activate the specific countries they trade with in Country-Based Invoice Rules.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">For countries that route invoices through external networks like Peppol, buyers must register their Peppol Participant ID or equivalent identifier in their profile so suppliers can send invoices successfully.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">For countries where SBN retrieves invoices directly from government portals (inbound invoice flow), buyers must configure External Document Service settings to establish a connection with the national tax authority. Examples include Poland and Romania.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">SBN supports country-specific compliance logic, VAT validation, or government integration for the following countries.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Americas: Brazil, Canada, Chile, Colombia, Mexico, Peru, United States.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Asia/Pacific: Australia, China, India, Japan, Malaysia, New Zealand, Singapore, South Korea, Taiwan, Thailand.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Europe: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Netherlands, Norway, Poland, Portugal, Romania, Russia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United Kingdom.</FONT></P><P class="lia-indent-padding-left-30px" style="padding-left : 30px;"><FONT size="2">Middle East/Africa: Israel, Saudi Arabia, South Africa, UAE.</FONT></P><H1 id="toc-hId--1108965397"><U>Considerations &amp; Final Takeaways</U></H1><P>Every organization wants onboarding to be faster, clearer, and built on trusted knowledge rather than fragmented internal know-how. NotebookLM enables teams to convert authoritative product documentation, SOPs, configuration specs, SOWs, demos, and project artifacts into a secure AI-powered conversational resource that employees can interact with naturally—like chatting with their most knowledgeable coworker. Instead of manually searching across files and web pages, teams can ask direct questions about product capabilities, setup requirements, and configuration considerations, then instantly convert those answers into internal enablement assets such as training outlines, FAQs, flashcards, infographics, and learning summaries. When setting up your NotebookLM hub, prioritize source quality, clear document labeling, and intentional prompting during training to reduce ambiguity and improve accuracy. This approach scales product fluency across teams, streamlines learning without adding process overhead, and creates more confident, self-sufficient users—while ensuring that expert conversations, when needed, are informed, efficient, and outcome-driven.</P> 2026-01-08T23:27:21.357000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/from-hype-to-hands-on-level-up-your-ai-skills-this-january/ba-p/14308508 From Hype to Hands-On: Level Up Your AI Skills This January 2026-01-16T09:46:40.184000+01:00 shannabauer https://community.sap.com/t5/user/viewprofilepage/user-id/1698292 <P><SPAN>In the age of AI, the skills we build today will define how we work tomorrow. That’s why we’ve launched a monthly series of blogs that spotlight the latest AI learning assets and upcoming learning opportunities.&nbsp;This blog explores the latest learning and enablement resources on SAP Document AI, as well as the bi-directional integration between Joule and Microsoft 365 Copilot. We also dive into some key resources to help you get started building your own Joule agents.</SPAN></P><P><SPAN>Building on my&nbsp;<A href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-hype-to-hands-on-level-up-your-ai-skills-this-october/ba-p/14240442" target="_blank">first blog</A>, where I introduced you to our AI live sessions&nbsp;<A href="https://dam.sap.com/mac/app/p/pdf/asset/preview/UC5poz7?ltr=a&amp;rc=10&amp;doi=SAP1239031" target="_blank" rel="noopener noreferrer">Beyond Hype</A>&nbsp;(which is all about getting productive with SAP Business AI), I wanted to address some of your most asked questions:</SPAN></P><OL><LI><STRONG><SPAN>How can I enable SAP Document AI on my mobile device?<BR /></SPAN></STRONG>SAP Document AI also supports mobile use cases, ideally for employees working remotely or in the field who need to submit documents while on the go. Within SAP Mobile Start, you can configure Document AI as a target, then take a picture and automatically upload it for processing.&nbsp;<STRONG>Find out here how to</STRONG>&nbsp;<A href="https://community.sap.com/t5/technology-blog-posts-by-sap/new-in-sap-mobile-start-v2-4-integrate-and-launch-sap-document-ai-on-mobile/ba-p/14162770" target="_blank">integrate and launch SAP Document AI on mobile</A>. If you haven’t set up SAP Document AI yet, you want to check out the steps&nbsp;<A href="https://dam.sap.com/mac/u/a/E2kY9Y6?rc=10&amp;doi=SAP1271951" target="_blank" rel="noopener noreferrer">here</A>.<P><STRONG>Did you know</STRONG>&nbsp;about the recent feature release: Inbound and outbound channel support, which allows you to connect your e-mail server, as many document-related use cases involve e-mail. For now, only Microsoft Outlook is supported, but this enables you to fetch the e-mail, extract both the e-mail body and attachments, such as Excel files. For e-mail ingestion, you don’t need BPA integration; you can also use our e-mail ingestion feature without BPA by configuring your e-mail inbox as an inbound channel in our UI.&nbsp;<STRONG>Read more</STRONG>&nbsp;about the Q4/25 Release Highlights&nbsp;<A href="https://news.sap.com/2026/01/sap-business-ai-release-highlights-q4-2025/" target="_blank" rel="noopener noreferrer">here</A>&nbsp;and&nbsp;<STRONG>follow the documentation&nbsp;</STRONG>to register an e-mail app&nbsp;<A href="https://help.sap.com/docs/document-ai/sap-document-ai/register-app-in-azure-portal-and-copy-credentials" target="_blank" rel="noopener noreferrer">here</A>.</P><P><STRONG>Stay up to date&nbsp;</STRONG>with&nbsp;<A href="https://roadmaps.sap.com/board?PRODUCT=73554900100800002861&amp;range=CURRENT-LAST#Q1%202026" target="_blank" rel="noopener noreferrer">SAP Road Map Explorer</A>&nbsp;and learn how you will benefit from SAP Document AI in upcoming releases.<BR /><BR /></P></LI><LI><STRONG><SPAN>Where can we find instructions for setting up the bi-directional integration between </SPAN></STRONG><SPAN><SPAN><A href="https://discovery-center.cloud.sap/ai-feature/4dfa3fea-c5d2-40e3-959d-317b07b6b64e/" target="_blank" rel="noopener nofollow noreferrer"><STRONG>Joule and Microsoft 365 Copilot</STRONG></A><STRONG>?<BR /></STRONG></SPAN></SPAN>The great thing is that you can <STRONG>get started today </STRONG><SPAN>with </SPAN><A href="https://www.sap.com/products/artificial-intelligence/joule-base.html" target="_blank" rel="noopener noreferrer">Joule Base</A><SPAN> and a Microsoft 365 license by downloading the SAP Joule app from the Microsoft </SPAN><A href="https://marketplace.microsoft.com/de-de/product/office/WA200008645?tab=Overview" target="_blank" rel="noopener nofollow noreferrer">Marketplace</A><SPAN> (M365 Copilot license required when using M365 Copilot skills in Joule web client in your SAP Application). Then follow the SAP Help </SPAN><A href="https://help.sap.com/docs/joule/integrating-joule-with-sap/integrating-joule-with-microsoft-365-copilot?locale=en-US&amp;version=LATEST" target="_blank" rel="noopener noreferrer">documentation</A><SPAN> to set up the connection between Cloud Identity Services on SAP BTP &amp; Microsoft Entra, and consider a few technical </SPAN><STRONG>p</STRONG><STRONG>re-requisites:</STRONG><OL><LI>&nbsp;<SPAN>Is Joule activated in at least one SAP Business Applications (e.g., SAP SuccessFactors or SAP S/4HANA Cloud), and do you have administrator access to SAP Cloud Identity Services, SAP Business Technology Platform (BTP), and Microsoft Entra? Yes? Great, read on!</SPAN></LI><LI>&nbsp;<SPAN>Next, you need to:</SPAN></LI></OL><UL><LI><SPAN><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/configuring-sap-cloud-identity-services-and-microsoft-entra-id-for-joule/ba-p/14105743" target="_blank">Configure Microsoft Entra as your Corporate Identity Provider</A> </SPAN></LI><LI><SPAN><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/enable-joule-to-pass-requests-to-microsoft-copilot-and-teams/ba-p/14195227" target="_blank">Enable Joule to Pass Requests to Microsoft Copilot and Teams</A></SPAN></LI><LI>Joule Formation to be included with MS Copilot Integration in your system landscape</LI></UL><P><SPAN>&nbsp;</SPAN><STRONG>Watch my colleague&nbsp;<a href="https://community.sap.com/t5/user/viewprofilepage/user-id/2099">@nageshcaparthy</a>&nbsp; demo the setup process!&nbsp;</STRONG></P><P><A href="https://community.sap.com/source-Ids-list" target="1_gqmiavuj" rel="nofollow noopener noreferrer">&nbsp;</A><BR /><STRONG><BR /></STRONG></P></LI><LI><STRONG><STRONG><SPAN>May we use Joule within Microsoft 365 Copilot (and vice versa) when handling confidential data?</SPAN></STRONG></STRONG><STRONG><SPAN><BR /></SPAN></STRONG><STRONG><SPAN>Did you know</SPAN></STRONG><SPAN><SPAN> that Joule and Copilot are only exchanging the user prompt and displaying the result in their respective UIs? Through Identity Propagation between Microsoft Entra and Cloud Identity Services on SAP BTP, Joule and Microsoft 365 Copilot are aware of a user’s roles and permissions for a secure integration. Watch the video and see the two Copilots work together in action!&nbsp;</SPAN></SPAN><P><A href="https://community.sap.com/source-Ids-list" target="1_xw011kok" rel="nofollow noopener noreferrer">&nbsp;</A></P></LI></OL><P><STRONG><SPAN>Want to dive deeper into the content? Rewatch the sessions and access the session material via SAP Learning Hub (subscription required):</SPAN></STRONG></P><UL><LI><SPAN>Getting Started with SAP Document AI: Activate, Automate, Act (<A href="https://learning.sap.com/live-sessions/getting-started-with-sap-document-ai-activate-automate-act" target="_blank" rel="noopener noreferrer">recording</A>)</SPAN></LI><LI><SPAN>Two Copilots, One Goal: Smarter Productivity with Joule and Microsoft 365 Copilot (<A href="https://learning.sap.com/live-sessions/two-copilots-one-goal-smarter-productivity-with-joule-and-microsoft-365-copilot" target="_blank" rel="noopener noreferrer">recording</A>)</SPAN></LI></UL><P><SPAN>Speaking of automation and productivity, <STRONG>have you heard</STRONG><STRONG> that</STRONG> <A href="https://discovery-center.cloud.sap/ai-feature/c95490eb-95c3-4b0a-b9ea-08144355d482/" target="_blank" rel="noopener nofollow noreferrer">Agent builder in Joule Studio</A> is now generally available? The agent builder enables developers to create Joule agents tailored to their unique business requirements, breaking cross-ecosystem silos and reducing barriers to AI adoption. <STRONG>Read on in</STRONG> <A href="https://community.sap.com/t5/artificial-intelligence-blogs-posts/agent-builder-in-joule-studio-is-now-generally-available-build-your-own/ba-p/14289282" target="_blank">Michael Ameling’s Blog</A>, President of SAP Business Technology Platform, to explore key highlights of the release, everyday use cases for Joule agents, and get insights into the roadmap.&nbsp;</SPAN></P><P><SPAN>Here are your key resources to help you <STRONG>get started building your own Joule agents</STRONG>: </SPAN></P><UL><LI><SPAN><A href="https://community.sap.com/t5/tooling-sap-build-blog-posts/how-to-get-started-with-joule-studio/ba-p/14152855" target="_blank">How to Get Started with Joule Studio</A>: Prerequisites, Commercials, and Instructions to begin using Joule Studio&nbsp;</SPAN></LI><LI><SPAN><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/joule-studio-goes-live-answers-to-your-top-questions/ba-p/14152403" target="_blank">Joule Studio Goes Live: Answers to Your Top Questions</A> covering Skills and the new Agent Builder features&nbsp;</SPAN></LI><LI><SPAN><A href="https://developers.sap.com/tutorials/joulestudio-agent-create.html" target="_blank" rel="noopener noreferrer">Create an Agent in Joule Studio</A>: Step-by-step tutorial on how to build and test an agent in Joule Studio</SPAN></LI><LI><SPAN><A href="https://help.sap.com/docs/Joule_Studio/45f9d2b8914b4f0ba731570ff9a85313/880eb67d649247cf9c127dd37d168855.html?locale=en-US" target="_blank" rel="noopener noreferrer">Best Practices for Building Agents</A>: Key principles and practices for designing effective Joule Agents<STRONG>&nbsp;</STRONG></SPAN></LI><LI><SPAN><A href="https://discovery-center.cloud.sap/missiondetail/4665/" target="_blank" rel="noopener nofollow noreferrer">Discovery Center Mission</A>:<STRONG>&nbsp;</STRONG>Get Hands-on experience in creating a Joule Agent with multiple skills and MCP</SPAN></LI></UL><P><STRONG><SPAN>Hi Joule, where should I get started with the latest learning resources? *</SPAN></STRONG></P><P><SPAN>Apart from live enablement sessions, explore our latest on-demand learning resources:</SPAN></P><UL><LI>To all partners:<STRONG>&nbsp;Test, demo, and develop with Joule and Microsoft 365 Copilot&nbsp;</STRONG>by purchasing the&nbsp;<A href="https://partneredge.sap.com/en/products/sbai/about/test_demo.html?#section-1-accordion-panel-section-widewidgets-accordionitem_159685_1097080609" target="_blank" rel="noopener noreferrer">Joule Base TDD entitlement</A>&nbsp;(8020592) and any Microsoft 365 environment (you don't necessarily need M365 Copilot to get started). Check out the Microsoft 365&nbsp;<A href="https://developer.microsoft.com/en-us/microsoft-365/dev-program" target="_blank" rel="noopener nofollow noreferrer">Developer Program</A>&nbsp;to get started.</LI><LI><STRONG><SPAN>Get hands-on with SAP Document AI!</SPAN></STRONG><SPAN><SPAN> Pre-configured content is automatically delivered as part of the application and can be activated in the schema UI or via the schema APIs. In the video, you will learn how to <A href="https://help.sap.com/docs/document-ai/sap-document-ai/create-schema-workspace?locale=en-US&amp;version=LATEST" target="_blank" rel="noopener noreferrer">create your own schemas</A> from scratch in the SAP Document AI workspace. Now it’s your turn - <A href="https://github.com/SAP-samples/teched2025-AI162/" target="_blank" rel="noopener nofollow noreferrer">Go ahead and try it yourself</A>!&nbsp;</SPAN></SPAN><P><A href="https://community.sap.com/source-Ids-list" target="1_erg9lnse" rel="nofollow noopener noreferrer">&nbsp;</A></P></LI></UL><P><SPAN>* Powered by the machine learning technology of SAP AI Business Services,&nbsp;<A href="https://help.sap.com/docs/successfactors-learning/understanding-learning-home-page/personalized-recommendations-on-new-learning-home-page?locale=en-US&amp;version=LATEST" target="_blank" rel="noopener noreferrer">personalized recommendations</A>&nbsp;are generated for employees, in one place on the Learning home page, based on employee data.</SPAN></P><P><SPAN>As we look ahead, we’re excited to share with you a new&nbsp;lineup of learning opportunities&nbsp;designed to help you expand your knowledge and make AI an advantage in your role:</SPAN></P><UL><LI><SPAN>February 5: <STRONG>What’s New in SAP Build Q4 2025</STRONG> <A href="https://events.zoom.us/ev/Ao2yoYkEPcwHeuGbEhFibJpEM2s1V66ZotV3pEnDsd9Yw_qXZ-Fm~Amsivw5F_cxOs8Sz2vpeveSfD8JIl1QfjWLhKeG_ARRVb-gL5Y6Xu0U1-Q" target="_blank" rel="noopener nofollow noreferrer">Option 1</A> 9 am CET - <A href="https://events.zoom.us/ev/Ai6ArNrb8Lx1IfIO1BaKbPJo4aS2AFJunqeThYvafSX0MeTA_Iy8~Agw3VweuZgS-HTJP6pVri7F3QmofoccY_ctJTnhNopwr1CNl5raDlwkn0A" target="_blank" rel="noopener nofollow noreferrer">Option 2</A> 4 pm CET</SPAN></LI><LI><SPAN>February 10, 5 pm CET: <A href="https://learning.sap.com/live-sessions/reimagining-business-processes-with-joule-agents" target="_blank" rel="noopener noreferrer"><STRONG>Reimagining Business Processes with Joule Agents</STRONG></A>. Discover how Joule Agents, embedded in core business processes, help organizations transition from insight to action.</SPAN></LI></UL><P><SPAN>Stay tuned for more, and happy learning!&nbsp;<span class="lia-unicode-emoji" title=":rocket:">🚀</span></SPAN></P><P><SPAN>Further Resources:</SPAN></P><UL><LI><SPAN><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-hype-to-hands-on-level-up-your-ai-skills-this-october/ba-p/14240442" target="_blank">From Hype to Hands-On: Level Up Your AI Skills This October</A></SPAN></LI><LI><SPAN><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-hype-to-hands-on-level-up-your-ai-skills-this-november/ba-p/14259219" target="_blank">From Hype to Hands-On: Level Up Your AI Skills This November</A></SPAN></LI><LI><SPAN><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/from-hype-to-hands-on-level-up-your-ai-skills-this-december/ba-p/14294383" target="_blank">From Hype to Hands-On: Level Up Your AI Skills This December</A> </SPAN></LI></UL><P><SPAN><a href="https://community.sap.com/t5/c-khhcw49343/Joule/pd-p/d0136351-8a9c-4881-aebc-bf414b785998" class="lia-product-mention" data-product="1207-1">Joule</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/Joule+Studio/pd-p/2a5c5654-c2ac-414e-aaff-335367ed0215" class="lia-product-mention" data-product="1294-1">Joule Studio</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+Document+AI/pd-p/73554900100800002861" class="lia-product-mention" data-product="402-1">SAP Document AI</a>&nbsp;#Microsoft 365 Copilot <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Mobile+Services/pd-p/668874921104038800958643358380369" class="lia-product-mention" data-product="26-1">SAP Mobile Services</a>&nbsp;</SPAN></P> 2026-01-16T09:46:40.184000+01:00 https://community.sap.com/t5/technology-blog-posts-by-members/stop-building-from-scratch-autonomous-ai-agents-for-sap-sales-order/ba-p/14323461 Stop Building from Scratch: Autonomous AI Agents for SAP Sales Order Processing 2026-02-07T18:50:48.664000+01:00 Siarhei https://community.sap.com/t5/user/viewprofilepage/user-id/84286 <DIV class=""><H3 id="toc-hId-1918636765">Why this article?</H3><P>It is great that we are living in the era of AI technologies where humans are still needed to design and automate <span class="lia-unicode-emoji" title=":grinning_face:">😀</span>. But let’s be honest: give it a few more years and no company will ask "Which AI platform should we choose?" That decision will be made by central AI services based on strict country and corporate regulations. The only thing that will matter is security and reliability.</P><P><STRONG>So, why am I writing this?&nbsp;</STRONG>Because I see so many people struggling with custom, built-from-scratch AI automation solutions at the enterprise level. These projects start quickly, but they get stuck just as fast.</P><P>You know, it is like cookies <span class="lia-unicode-emoji" title=":grinning_face:">😀</span>. You can make one in a sandbox; however, to scale that to a corporate production level is a totally different problem.</P><P>If you are still wondering why this article matters: I want to highlight that while humans are still designing automation, <STRONG>speed is everything</STRONG>. Deploying autonomous AI agents on a solid, reliable platform is a massive competitive advantage. Those playing around with internal IT projects or relying on System Integrators (SI) to build from zero are being left behind.</P><P>Let me explain why using one simple example: <STRONG>Customer Purchase Orders.</STRONG></P><H3 id="toc-hId-1722123260">The Business Case: The Reality of POs</H3><P>A company wins a deal (congratulations!), and the Customer sends a Purchase Order (PO).</P><P>In an ideal world, this happens via EDI. If you have EDI, you are lucky and you can stop reading. But in the real world, customers send PDFs, scanned images with handwriting, Excel files with macros, or even a screenshot of their laptop screen.</P><P>This <I>shouldn't</I> be an issue. Innovative platforms must handle data extraction from unstructured sources out of the box.</P><P><I>“Training? Fine-tuning??”</I></P><P>I know some of you just thought that <span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:">😊</span>. Yes, training OCR models used to be mandatory. If you haven't faced the pain of training models, be happy, because you are young enough <span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:">😊</span>. Today, this must work without that hassle.</P><H3 id="toc-hId-1525609755">The Main Challenge: Master Data Mapping</H3><P>Extracting text is easy. The <I>real</I> challenge is my favorite one: <STRONG>Master Data Mapping.</STRONG></P><P>How do we robustly and reliably read the customer’s product description and map it to the correct Master Data Object in our SAP system? And how do we do it without heavy development?</P><P><STRONG>The Solution: SAP Master Data Vectorization</STRONG></P><P>We don't need custom code; we need <STRONG>Vectorization</STRONG>.</P><P>Generative AI can write SQL queries, sure. But think about it: how many SQL queries would the AI have to guess to find a material that is <I>semantically</I> similar but <I>written</I> differently? Infinite. Or maybe a few less if you are lucky and the description contains an acronym like "A4 Paper" <span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:">😊</span>.</P><P>When AI looks for a material master in <STRONG>vectorized data</STRONG> (rather than a database table), it reads by <I>sense</I>, not just by keywords. This allows it to reliably find the right SAP object even if the customer's description is vague.</P><P>I know only one SAP-certified Business AI Platform that has this Vectorization feature in its standard set: <STRONG>Skybuffer AI</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 01.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369831iAA8A4870CD9D26D4/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="Skybuffer AI on Sales Orders OCR AI Bridge Pic 01.png" alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 01.png" /></span></P><P class="lia-align-center" style="text-align: center;">&nbsp;<I>Pic.1 SAP Master Data Vectorization Setup</I></P><P><I><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 02.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369835i01D95270E03364EE/image-size/large?v=v2&amp;px=999" role="button" title="Skybuffer AI on Sales Orders OCR AI Bridge Pic 02.png" alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 02.png" /></span></I></P><P class="lia-align-center" style="text-align: center;"><I>&nbsp;<I>Pic.2 Example of Material Master Similarities based Search</I></I></P><H3 id="toc-hId-1329096250">The Implementation: Autonomous Agents in Action</H3><P>This is the essential part: stop playing in the sandbox. Take a platform and create a simple autonomous AI agent.</P><P>In this example, I am using <STRONG>Skybuffer AI</STRONG> because it handles the heavy lifting out of the box:</P><UL><LI><P><STRONG>Vectorizes</STRONG> SAP master data for semantic search.</P></LI><LI><P><STRONG>Reads Emails</STRONG> (including complex attachments and OCR).</P></LI><LI><P><STRONG>Safety First:</STRONG> Uses Mailboxes as a staging area (no messy data replication).</P></LI><LI><P><STRONG>ABAP Control:</STRONG> It doesn't let the AI "guess" how to create data. It passes structured JSON to an ABAP class/BAPI for safe execution.</P></LI><LI><P><STRONG>No Code:</STRONG> configured entirely in SAP Fiori.</P></LI></UL><H4 id="toc-hId-1261665464">The Flow</H4><P>A Skybuffer AI agent acts effectively as an automated employee. You can schedule it, give it tools, and let it run.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 03.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369837iEA2CAE541EB823C1/image-size/large?v=v2&amp;px=999" role="button" title="Skybuffer AI on Sales Orders OCR AI Bridge Pic 03.png" alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 03.png" /></span></P><P class="lia-align-center" style="text-align: center;">&nbsp;<I>Pic.3 Scheduling Autonomous AI Agent</I></P><P><STRONG>Step 1: The Input</STRONG></P><P>The Agent connects to a Mailbox. It reads the email, extracts the attachment data, and places it into the Agent's memory.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 04.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369841i1AE6681F31CF58C5/image-size/large?v=v2&amp;px=999" role="button" title="Skybuffer AI on Sales Orders OCR AI Bridge Pic 04.png" alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 04.png" /></span></P><P class="lia-align-center" style="text-align: center;">&nbsp;<I>Pic.4 Flow inside the Tool of Skybuffer AI Action Server</I></P><P><STRONG>Step 2: The Brain (Generative AI)</STRONG></P><P>We connect the Generative AI and give it guidelines.</P><P><I>Note: The vectorized SAP master data is mapped directly to this action.</I></P><P><I><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 05.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369842iB05710840961F1EB/image-size/large?v=v2&amp;px=999" role="button" title="Skybuffer AI on Sales Orders OCR AI Bridge Pic 05.png" alt="Skybuffer AI on Sales Orders OCR AI Bridge Pic 05.png" /></span></I></P><P class="lia-align-center" style="text-align: center;">&nbsp;<I>Pic.5 Generative AI Action of Skybuffer AI Action Server</I></P><P>The AI creates a JSON structure based on our request. <STRONG>Crucially</STRONG>, we do not ask the AI to update SAP directly. We hand that JSON over to an SAP ABAP class. This ensures the transactional data is created correctly, without hallucinations.</P><P><STRONG>Step 3: The Output</STRONG></P><P>We update the email in the Mailbox with the status and send a confirmation back to the customer.</P><P>Everything runs either in your SAP HANA On-Premise shell (directly in your network) or on your SAP BTP tenant.</P><H3 id="toc-hId-936069240">Conclusion</H3><P>Autonomous AI agents are no longer "future tech", they are easy solutions available now.</P><P>By choosing a Business AI automation platform rather than building from scratch, your company gets the best of Generative AI and the SAP backend immediately.</P><P>It is strange that so many companies are still "playing" with in-house development. You wouldn't build your own Sales Order Management system from scratch instead of using SAP, right? <span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:">😊</span> That would be weird. Yet, companies are giving huge budgets to internal teams to build AI wrappers.</P><P>You don't need a giant team. You need a reliable solution, speed, and flexibility. Just look at <STRONG>Cursor,&nbsp;</STRONG>they revolutionized coding with roughly 60 employees before their massive 900M funding round <span class="lia-unicode-emoji" title=":winking_face:">😉</span>.</P><P><STRONG>Be quick. Be autonomous.</STRONG></P></DIV> 2026-02-07T18:50:48.664000+01:00 https://community.sap.com/t5/artificial-intelligence-learning-group-blog-posts/efficient-document-inbound-processing-in-sap-cloud-erp-with-sap-document-ai/ba-p/14324735 Efficient Document Inbound Processing in SAP Cloud ERP with SAP Document AI: March 12, 2026 2026-02-09T21:12:08.498000+01:00 Geoffrey_Fu https://community.sap.com/t5/user/viewprofilepage/user-id/2062381 <P>Managing incoming documents efficiently is critical for business operations. SAP Cloud ERP, powered by SAP Document AI, offers pre-delivered use cases to automate and optimize document processing across Sales, Finance, and Quality Management.</P><P>In this live session, we’ll explore how SAP Document AI enhances document inbound processing, reducing manual effort and improving accuracy. You’ll see live demos of end-to-end workflows and learn how to activate these capabilities in your system.</P><P><STRONG>Key Takeaways:</STRONG></P><UL><LI>Discover pre-built document processing use cases in SAP Cloud ERP.</LI><LI>See live demos of end-to-end workflows for Sales, Finance, and Quality Management.</LI><LI>Learn how to activate and extend these capabilities for your business needs.</LI></UL><P><STRONG>Who Should Attend?</STRONG><SPAN>&nbsp;</SPAN>Project managers, consultants, business users, and administrators looking to improve document processing efficiency.</P><P><STRONG><A href="https://learning.sap.com/live-sessions/efficient-document-inbound-processing-in-sap-cloud-erp-with-sap-document-ai?userlogin=true" target="_blank" rel="noopener noreferrer">Register</A> Now!</STRONG></P><P>&nbsp;</P><P>&nbsp;</P> 2026-02-09T21:12:08.498000+01:00 https://community.sap.com/t5/technology-blog-posts-by-members/leveraging-sap-build-process-automation-for-intelligent-invoice-extraction/ba-p/14326227 Leveraging SAP Build Process Automation for Intelligent Invoice Extraction from Outlook 2026-02-17T08:27:43.106000+01:00 ManaswiniPuli https://community.sap.com/t5/user/viewprofilepage/user-id/1940178 <P>Imagine a world where your inbox doesn’t just store invoices, but actively processes them. No more manual downloads, no more mind-numbing data entry, and zero "human-error" bottlenecks.By integrating the "digital eyes" of SAP Document Information Extraction &nbsp;with the orchestration power of SAP Build, organizations can now transform unstructured email attachments into clean, high-fidelity structured data in seconds. This blog explores the seamless end-to-end journey of an invoice—starting from the moment it hits an Outlook inbox, through its automated recognition and validation phase, to its final state of readiness for your core business systems.</P><P><STRONG>Phase 1: Environment Readiness</STRONG></P><P><STRONG>The Local Bridge: </STRONG>The Desktop Agent 3.0 must be installed and registered to the tenant. This acts as the execution engine, enabling the cloud-based SAP Build environment to interact directly with the local Outlook application and file system.</P><P>-To set up the agent, follow this: <A href="https://developers.sap.com/tutorials/spa-setup-desktop-3-0-agent.html" target="_blank" rel="noopener noreferrer">Install and Set Up Desktop Agent 3 | SAP Tutorials</A></P><P><STRONG>Phase 2: Agent Configuration: Creation, Assignment, and Project Binding</STRONG></P><P>Once the agent is installed, it must be assigned to an environment within the <STRONG>SAP Build Lobby</STRONG> to authorize automation execution.</P><UL><LI><STRONG>Create the Environment:</STRONG> Navigate to <STRONG>Control Tower &gt; Environments</STRONG> and select <STRONG>Create</STRONG>. Provide a name, Identifier and click <STRONG>Create</STRONG>.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_0-1770801574304.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371356iD57B25D4B9BED19C/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_0-1770801574304.png" alt="ManaswiniPuli_0-1770801574304.png" /></span></P><UL><LI><STRONG>Register the Agent:</STRONG> Open the newly created environment and select <STRONG>Agent Management &gt; Add Agent</STRONG>.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_0-1771233072868.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/372969i2ED15C64500FF642/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_0-1771233072868.png" alt="ManaswiniPuli_0-1771233072868.png" /></span></P><UL><LI><STRONG>Define Agent Attributes:</STRONG> Navigate to <STRONG>Control Tower &gt; Agent Attributes</STRONG> and select <STRONG>Create</STRONG>. Provide a name and choose the <STRONG>Type</STRONG>:</LI></UL><P><STRONG>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Free</STRONG>: For dynamic parameterization of values.</P><P><STRONG>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Predefined</STRONG>: For assigning specific, fixed values.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_2-1770801574312.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371355iEE9B47BAA767FAF7/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_2-1770801574312.png" alt="ManaswiniPuli_2-1770801574312.png" /></span></P><UL><LI><STRONG>Assign Attribute to Agent:</STRONG> Under <STRONG>Control Tower &gt; Agents</STRONG>, locate your agent and ensure it is connected. Select <STRONG>Manage Attributes</STRONG>, choose your newly created attribute, enter the corresponding value, and confirm.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_3-1770801574317.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371360i7BDFEC6E34E5FB7D/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_3-1770801574317.png" alt="ManaswiniPuli_3-1770801574317.png" /></span></P><UL class="lia-list-style-type-disc"><LI><STRONG>Bind Attribute to Project:</STRONG> In your project’s <STRONG>Process Builder</STRONG>, navigate to <STRONG>Settings &gt; Attributes</STRONG>. Add the same attribute and value, then save. This creates the final link, ensuring the project triggers specifically on your configured agent.</LI></UL><P><STRONG>Phase 3: Building the Automation Logic</STRONG></P><P>Now that the technical "handshake" is configured, we can begin building the automation. This phase focuses on creating a reliable bridge between your email inbox and your local storage.</P><P><STRONG>Initializing the Automation</STRONG></P><P>Start by creating a new automation in the Process Builder. This will be the engine that handles your file and email operations. Ensure you have the Outlook SDK and File System SDK added as dependencies in your project settings.</P><P>The following is the flow for extracting info from invoices, which includes opening Outlook, searching for specific emails, saving attachments, and processing the data:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_4-1770801574320.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371358iF7F8CCE52958C78A/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_4-1770801574320.png" alt="ManaswiniPuli_4-1770801574320.png" /></span></P><P><STRONG>Phase&nbsp; 4:Preparing the Workspace: Local and Outlook Setup</STRONG></P><P>For the automation to successfully process documents, you must establish a specific "landing zone" for your files. This requires the following manual configurations:</P><P><STRONG>1.Local File System:</STRONG> Manually create a folder on your computer at the path <STRONG>C:/temp/attachments</STRONG>. This folder acts as the dedicated directory where the bot will download and store email attachments before they are uploaded to the cloud or processed by the extraction logic.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_5-1770801574323.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371359i9301078958940B0F/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_5-1770801574323.png" alt="ManaswiniPuli_5-1770801574323.png" /></span></P><P><STRONG>2.Outlook Folder Configuration:</STRONG> Inside your Outlook application, you must create a new folder specifically named <STRONG>Invoices</STRONG>.</P><UL><LI><STRONG>Setup for Testing:</STRONG> To test the flow, move an email containing an invoice attachment into this <STRONG>Invoices</STRONG> folder.</LI><LI><STRONG>The Unread Status:</STRONG> Ensure the email is marked as <STRONG>Unread</STRONG>. The automation is designed to search for unread items to prevent processing the same invoice multiple times.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_1-1770962135131.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/372072i720291321BC8B3E8/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_1-1770962135131.png" alt="ManaswiniPuli_1-1770962135131.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_7-1770801574330.png" style="width: 979px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371362iD97CEDB273D60710/image-dimensions/979x838/is-moderation-mode/true?v=v2" width="979" height="838" role="button" title="ManaswiniPuli_7-1770801574330.png" alt="ManaswiniPuli_7-1770801574330.png" /></span></P><P><STRONG>Phase 5: Configuring BTP Destinations</STRONG></P><P>Destinations are secure connection points that allow your automation to communicate with external services. This is a two-step process: first creating them in the <STRONG>BTP Cockpit</STRONG> and then configuring them within <STRONG>SAP Build</STRONG>.</P><P><STRONG>Creation in SAP BTP Cockpit</STRONG></P><P>In your BTP Subaccount, navigate to <STRONG>Connectivity &gt; Destinations</STRONG> and create the following:</P><P><STRONG>1.Service &amp; Extraction Destination:</STRONG> Create a destination to handle both internal routing for the Process Automation engine and the connection to the <STRONG>Document Information Extraction (DOX)</STRONG> service.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_1-1771231010740.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/372950iD289C82DE0F8F694/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_1-1771231010740.png" alt="ManaswiniPuli_1-1771231010740.png" /></span></P><P><STRONG>2.SAP Document Store Destination:</STRONG> Create a mandatory destination for&nbsp;&nbsp;sap_process_automation_document_store. This allows the bot to move files from your local C:/temp/attachments folder into the secure <STRONG>SAP Document Management Service (DMS)</STRONG> for centralized cloud archiving.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_2-1771231053459.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/372951iC2F2EBD12D576961/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_2-1771231053459.png" alt="ManaswiniPuli_2-1771231053459.png" /></span></P><P><STRONG>Configuration under SAP Build</STRONG></P><P>After creating them in BTP, you must explicitly link them to your project to establish the necessary communication channels:</P><P><STRONG>Mapping</STRONG>: In your project settings, go to the <STRONG>Destinations</STRONG> tab. Map your BTP destinations to the corresponding project requirements. This step ensures that the automation knows exactly which BTP service to call for extraction and storage.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_10-1770801574344.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/371364iFEEFA3E8B7B4D23B/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_10-1770801574344.png" alt="ManaswiniPuli_10-1770801574344.png" /></span><STRONG>Phase 6: Deployment and Execution</STRONG></P><P>With the logic built, folders prepared, and destinations mapped, the system is now a cohesive unit. The final step is to move the project from the design stage to active execution.</P><P><STRONG>1.Releasing and Deploying</STRONG></P><P>In the SAP Build Lobby, you must <STRONG>Release</STRONG> your project to create a version snapshot. Once released, navigate to the <STRONG>Deploy</STRONG> button. This sends the instructions to the cloud environment, where it waits for your local agent to "pick up" the task.</P><P><STRONG>2.Monitoring</STRONG></P><P>Once the automation completes, navigate to the <STRONG>Monitoring</STRONG> tab in SAP Build. Here, you can view the execution logs for your job.</P><P><STRONG>grossAmount</STRONG>: The bot has correctly identified the total (e.g., <STRONG>$93.50</STRONG>).</P><P><STRONG>filePath</STRONG>: The bot confirms where it stored the document locally (e.g., <STRONG>C:\temp\invoice-a (1).pdf</STRONG>).</P><P><STRONG>recipient</STRONG>: It captures the specific email address the invoice was sent to.</P><P><STRONG>3.The Final Flow in Action</STRONG></P><P>The following is the automated flow created for extracting info from invoices:</P><P><STRONG>Outlook Monitoring:</STRONG> The bot identifies an unread email in your manually created Invoices folder.</P><P><STRONG>Local Storage:</STRONG> It downloads the attachment directly into C:/temp/attachments.</P><P><STRONG>Data Extraction:</STRONG> Once the file is stored locally, the bot uses the extraction activity to communicate with the cloud. At this stage, we can successfully obtain the extracted info from the invoice.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ManaswiniPuli_4-1771231428786.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/372954iF3E90F8B58801F3D/image-size/large?v=v2&amp;px=999" role="button" title="ManaswiniPuli_4-1771231428786.png" alt="ManaswiniPuli_4-1771231428786.png" /></span></P><P><STRONG>Conclusion:</STRONG></P><P>By linking Outlook to SAP Document Information Extraction through SAP Build, you transform the inbox from a storage bin into a high-speed data engine. This setup doesn't just save time—it eliminates manual errors and ensures your business systems receive accurate data instantly. It’s a simple yet powerful blueprint for turning administrative friction into a seamless, automated advantage.</P><P><STRONG>Disclaimer:</STRONG><BR /><SPAN>All the views and opinions in this blog are my own and are made in my personal capacity. SAP shall not be responsible or liable for any of the contents published in this blog.</SPAN></P><P>&nbsp;</P> 2026-02-17T08:27:43.106000+01:00 https://community.sap.com/t5/technology-blog-posts-by-sap/sap-btp-ai-best-practices-sap-document-ai/ba-p/14328545 SAP BTP AI best practices - SAP Document AI 2026-02-17T09:00:00.015000+01:00 JoseBastidas https://community.sap.com/t5/user/viewprofilepage/user-id/3227 <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAP BTP AI best practices - SAP Document AI.png" style="width: 799px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/372642iDA26A9B76DB229AF/image-size/large?v=v2&amp;px=999" role="button" title="SAP BTP AI best practices - SAP Document AI.png" alt="SAP BTP AI best practices - SAP Document AI.png" /></span></P><P>Still extracting document data manually? Let’s change that.</P><P>In our next SAP BTP AI best practices webinar, we spotlight <STRONG>SAP Document AI</STRONG> — and how it automates extraction of structured and unstructured information on SAP Business Technology Platform.</P><P>Invoices. &nbsp;Contracts. &nbsp;Forms. &nbsp;Done.<BR />Machine learning + generative AI + instant learning. &nbsp;Even better.</P><P>This isn’t theory. &nbsp;It’s practical guidance you can use immediately — in customer demos, project delivery, or new AI proposals. &nbsp;The opportunity is real, and partners who master document intelligence early will stand out.</P><P>Short session. &nbsp;High impact. &nbsp;Real use cases.</P><P>Secure your spot.&nbsp; <STRONG>Register now.&nbsp; </STRONG><A href="https://partneredge.sap.com/en/library/education/psd/2025/nov/e_oe_te_w_PSD_WEB_00012198.html" target="_blank" rel="noopener noreferrer">https://partneredge.sap.com/en/library/education/psd/2025/nov/e_oe_te_w_PSD_WEB_00012198.html</A></P><P>#SAP #SAPBTP #SAPDocumentAI #AIUseCases #SAPPartners #Innovation</P> 2026-02-17T09:00:00.015000+01:00