Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert
Manual invoice posting to SAP S/4HANA is an inefficient process. It is often effort intensive, repetitive and human error prone. Also there is usually high TCO to scale up to meet growing business needs.

Using SAP Intelligent RPA 2.0 based automation bot, invoice processing throughput and accuracy can be greatly increased. SAP Intelligent RPA 2.0 provides native SDKs for PDF, Outlook, Excel etc., using which different type of invoices can be processed in a low code/no code approach. RPA bots provide 24x7 operation and most importantly its core capabilities are continuously enhanced so it can be applied to tackle varying automation needs.

So, to showcase how SAP Business Technology Platform Extension Suite -> Digital Process Automation services like SAP Intelligent RPA 2.0 and Workflow Management can be used to automate and boost process efficiency of SAP S/4HANA invoice posting, we have created a new mission Automate Invoice Extraction from Emails and Posting them to S/4HANA in SAP Discovery Center for developers and RPA enthusiasts to easily implement this use case in a guided approach.

For those who are not familiar with SAP Discovery Center Missions:

Missions include best practices and step-by-step guidance for implementing business use cases, with well-established support from the community and mission experts, free of cost.

Once you start a mission, you create your own instance of this mission. This allows you to adapt and customize the content according to your specific needs, to invite your team members to work on the whole mission or on specific steps, and to interact with the mission coaches directly. See Getting Started with Discovery Center Missions.

Every mission contains a project board that allows you to:

  1. Get an overview of all the potential deliverables for a mission, whether it is onboarding or implementation.

  2. View fully customizable tasks that are listed as cards and categorized into phases (columns).

  3. We realize that each of your mission can be unique, this board supports that.

  4. Collaborate with your coaches.

Once you learn who your coaches are, you can contact them by adding a comment in the task by tagging them @<coach_name> and they will receive a direct message and should respond to you within a short period of time (depending on their working time zone).

  1. Align your mission with the experts.

    1. Both you and your coaches will keep track of the progress by completing each task.

    2. When working on one task Pin (the current) Card.

    3. Once a task is completed Mark (the card) as completed.

  2. Keep mission assets all in one place.


Use Case:

+ scan for emails with invoice attachments received in Microsoft Outlook
+ apply AI capability to extract information from invoice using SAP Intelligent RPA 2.0 PDF SDK
+ based on document extraction accuracy (confidence score) for each field of invoice, using SAP BTP Business Rules decide SAP S/4HANA posting mode i.e., Automatic or Manual approval-based
+ If the extraction accuracy is above set threshold, SAP Intelligent RPA 2.0 to automatically post extracted invoice to SAP S/4HANA and also add the invoice as an attachment
+ If the extraction accuracy is below set threshold, SAP Intelligent RPA 2.0 to trigger a manual approval process by creating a workflow task with extracted invoice info and invoice attachment for human processor to review and post invoice or reject

Process Flow - SAP S/4HANA Invoice Posting using SAP Intelligent RPA 2.0

Architecture - SAP S/4HANA Cloud Invoice Posting using SAP Intelligent RPA 2.0

The Project Board of this mission contain various cards that help you with set up of SAP BTP and relevant services (SAP Business Application Studio, SAP Intelligent Robotic Process Automation and SAP Work Flow Management) needed to complete this mission.

Discovery Center Mission Project Board

All the cards contain detailed step-by-step instructions and screenshots to guide you to complete the mission successfully.

cards with step-by-step- instructions and screenshots

Should you have questions/comments you can use the 'Support' tab of the mission to reach out to mission experts and we will be happy to guide you.

For reference, all the artifacts relevant for this mission can be accessed in GitHub.

Happy Coding 🙂

ashok.kumarm, archit.goel, robbymanis