Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Answered

Send PDF invoices generated from SAP by e-mail

Like (0) ShareShare
ReportReport
Posted on 17 May 2024 05:43:09 by 17

Hi Power Automate Community,

 

I'd like like to send PDF invoices generated from SAP by e-mails to customers. I know that SAP has this functionality of automatic invoicing by e-mails, but it has taken years to get SAP programmers to complete this task, and we'd like to do it by ourselves, as self-service will cut down on back and forth communication time. I'd greatly appreciate it if anyone who has done this before with Power Automate could give me some instructions and steps to follow.  FYI, I am a novice with respect to Power Automate. 

 

Thank you for your help!

Best regards,

  • DataNinja777 Profile Picture
    17 on 19 May 2024 at 10:21:28
    Re: Send PDF invoices generated from SAP by e-mail

    Thank you @VishnuReddy1997 for your kind instructions.  

    I will get started with this and let you know if I am stuck again.  

    Best regards,

  • Verified answer
    VishnuReddy1997 Profile Picture
    2,324 Super User 2025 Season 1 on 17 May 2024 at 16:33:43
    Re: Send PDF invoices generated from SAP by e-mail

    Hi @DataNinja777 ,

     

    Here’s a high-level overview of how you can link PDF invoices downloaded from SAP to the correct emails using Power Automate Desktop:

    1. Download the Invoice PDF from SAP: You can automate Power Automate Desktop (PAD) to download the invoice PDF from SAP. This can be done using UI automation in PAD and SAP GUI Scripting.
    2. Extract Data from PDF Invoices: Once you have the PDF invoices, you can extract the necessary data from them. There are tutorials available that show how to use Microsoft Power Automate to extract data from PDF invoices using AI Builder or text manipulation actions.
    3. Send Email with the Invoice: After extracting the necessary data, you can use the ‘Send Email’ action in PAD to send the invoice to the customer1. The email can be sent via Outlook or any other email client that you have set up.

     

    For more detailed instructions, you can refer to these educational materials:

    1. Microsoft Power Automate Tutorial - Extract data from PDF invoices 

    2.Extract PDF Invoice with Text Manipulation in Microsoft Power Automate Desktop (Part 1 of 3) 

    3.Create an SAP desktop flow by using Power Automate Desktop 

     

    NOTE: ONCE PLEASE START CREATING THE FLOW,IF YOU GOT STUCK ANY WHERE ASK IN THE COMMUNITY SOMEBODY CAN HELP


    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

  • DataNinja777 Profile Picture
    17 on 17 May 2024 at 11:29:42
    Re: Send PDF invoices generated from SAP by e-mail

    Hi @eetuRobo ,

    Thank you for your response.  I have not done anything yet on this in flow.  In SAP we can download the invoice PDF to the desktop, but I haven't automated this part yet.  Regarding the send e-mail and the PDF, how did you link the PDF invoices to the correct e-mails? I am sorry for asking such basic questions, but I'd greatly appreciate it if you could walk me through on this, or point me to the right educational material which I can refer to in setting up this flow.  

     

    Best regards,

  • VishnuReddy1997 Profile Picture
    2,324 Super User 2025 Season 1 on 17 May 2024 at 06:50:33
    Re: Send PDF invoices generated from SAP by e-mail

    Hi @DataNinja777 ,

     

    If you download document from the SAP.You can send that document through mail using Power Automate desktop.

    If you can confirm whether you able to download the document from the SAP.

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

  • eetuRobo Profile Picture
    3,253 Super User 2025 Season 1 on 17 May 2024 at 06:36:59
    Re: Send PDF invoices generated from SAP by e-mail

    Do you have any actions done on this flow yet? Are you using VBscript or Power Automate Desktops own actions?

    In SAP can you download the invoice PDF to your desktop? If so then it should be pretty straight forward to just automate PAD to download the invoice PDF from SAP and then send it with outlook action to the customer.

     

    I have done similar automation which generates sales order and downloads it and sends it to customer. 
    In my case I did the SAP automation with VBscript. It pretty easy when you get a hang of it since SAP has pretty good script recorder functionality. When the VBScript has generated and downloaded the sales order to a local folder my Power Automate Desktop uses Send email action to send that file to the customer.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard