I have to create a program to retrieve a given invoice from the Archive and either print it to LOCL or send it by e-mail.
I am already able to get it from archive (table toa01), convert to PDF and send the PDF attached to the user e-mail.
But I'm having trouble sending the document to the user local printer... Does anyone know a FM where I could pass the document as a table and it asks the user where to print? Is it this easy? I really hope so. 😊