cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase Order PDF not getting triggered in mail for a Particular Creater of Purchase Order

former_member225253
Participant

Hi MM / ABAP experts ,

In the Purchase Order Functionality the Output is configured in the way shown in screenshots below :

SPAD screenshot of the Logical destination shown below :

As soon as the Creater of the Purchase Order saves and gives the Printout as shown in the screenshot below , Creater gets a auto generated mail with a PDF attachment .

While the other User who also is a Creater of other Purchase Orders doesnot get the PDF mail of the Purchase Order Output .

I am not able to understand the Functionality / Process running behind sending these auto-generated mails . The standard driver program of Purchase Order used in NACE is SAPFM06P . This Code has some subroutines with name adobe_print_output but when i trigger it using a break point , it doesnot trigger . Screenshot below :

There is no custom code to generate PDF in the driver program used SAPFM06P . This is a Script form for PO . As per my understanding , Neither it is being triggered by some Job or Work Flow .

Can somebody help me in understanding the Process which might have been used to generate these auto generated mail . But the auto generated mail has a custom text written which is as per the client .

Would be grateful for Replies .

Thanks and Rgds ,

Devendra Singh

SAP ABAP Consultant

former_member225253
Participant
0 Kudos

Hi Jurgen ,

Thanks for the Learning Given . I will take care in future .

Do you have some opinion on the this Issue of Purchase Order ?

Best Regards ,

Devendra Singh

View Entire Topic
Jelena
Active Contributor

In standard, "Print output" medium does not generate emails. Emails are generated by "External send".

Either you have some kind of custom code in the print program that sends emails instead of a printout (which would be pretty stupid IMHO) or somehow the device where the output is sent to is configured to send emails. I've never seen the device type shown in SPAD screenshot. Search in SAP notes, maybe there is some info on it.

What the screenshots show is not how it's configured, it's the result of configuration in NACE transaction. Talk to the local functional person and to Basis admin and ask what the deal is. This is not a standard behavior.

former_member225253
Participant
0 Kudos

Hi Jelena ,

Thanks for the Reply . On a similar issue as a resolution you have posted :

https://archive.sap.com/discussions/thread/3496812

jelena.perfiljevareplied

February 05, 2014 at 23:22 PM

This can be done by simply directing print output to a special printer that creates PDF instead of a printout. The device type PDF1 (or similar) needs to be configured in SAP and the users will need to have a special printer configured on their PCs.

E.g. we use CutePDF Writer and when I send output to PDF device in SAP, it just opens a printer dialog and then prompts for a pathname for PDF file. There are other similar programs available.

====================

I am still not able to solve the issue . Please tell me in detail this part : the users will need to have a special printer configured on their PCs. How to do this Cuteprinter part ? Please tell in steps if possible .

Please explain this part in bit more detail .

Would be grateful for your help .

Thanks and Rgds ,

Devendra Singh


Jelena
Active Contributor
0 Kudos

There are already many SCN posts on this. Google "how to use PDF printer site:sap.com". This blog is the top result. Also many things changed since 2014. At least in Windows 10, we now have PDF printer built in, so no need to use CutePDF software. Ask your Basis admin if you need more details. This is not SD configuration.

Your original question was about the email, not PDF printer though, so I'm confused what are we answering now...

former_member225253
Participant
0 Kudos

Thanks Jelena for the Reply .

Best Regards ,

Devendra Singh