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.
cancel
Showing results for 
Search instead for 
Did you mean: 
Ashok_KumarM
Product and Topic Expert
Product and Topic Expert
8,899
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
10 Comments
rivert_torres
Explorer

great blog, Im following  step by step the mission...  I'll let you know my progress....

sgreeff7303
Product and Topic Expert
Product and Topic Expert
0 Kudos
Is there an OCR engine as part of this solution  ?
rogier12345
Member
0 Kudos

Hi Ashok!

I am trying automated invoice extraction with IRPA and have been getting the following error after running the desktop agent to process the invoice:

(Could not upload document for information extraction: 400 "Invalid client ID(s). The provided client ID(s) does/do not exist.").

I have tried re-subscribing to the SAP IRPA Application and all other applications in the process, made a new trial account and repeated the steps etc. and still get the same error. Of course I have also checked the client id's that I put in my JSON file, they are correct. Do you have any solution or reason for what causes this?

Kind regards

Rogier

sumaira_gopalani
Explorer
0 Kudos
There are certain tasks which are not for trial system such as communication configuration etc. I have skipped those tasks (As I am using trial version) so I am not able to achieve the target requirement, is there any way I could regenerate the same scenario with Trial version.?
Ashok_KumarM
Product and Topic Expert
Product and Topic Expert
0 Kudos
yes, its part of the SAP Intelligent RPA service.
Ashok_KumarM
Product and Topic Expert
Product and Topic Expert
0 Kudos

If the 'trial' you're referring to is S/4HANA Cloud then 'No'. The same is mentioned in the mission as well.



S/4HANA Cloud pre-requisites


 
Jaman
Participant
0 Kudos
Hello All,

Is there any API available to post the parked document which can be used in BTP Workflow?

Thanks,

Ahamed
swarika
Explorer
0 Kudos
What is the maximum number of invoices o the same format you can post in a day per bot?
anmolchadha11
Discoverer
0 Kudos

Hi @Ashok_KumarM ,

 

Unfortunately when i am trying to open the mission, it says resource not found. Could you help me here ?

 

Thanks

Anmol

Boopalan
Explorer
0 Kudos

Hi @anmolchadha11 

Same here. Did you find any alternative mission in Discovery center?

Thanks

Boopalan