cancel
Showing results for 
Search instead for 
Did you mean: 

How to send external email of a Purchase Order

former_member1242340
Participant
0 Kudos

Hello,

I have to send an external email (pdf attachment) of a Purchase Order.

I use the standard sap program: /SMB40/FM06P and the smartform: /SMB40/MMPO_L.

Within transaction NACE I used the following entries:

Medium: 5 (External Send), Program: /SMB40/FM06P, Form routine: ENTRY NEU and Smartform: /SMB40/MMPO_L.

After running transaction ME22n (messages: External Send) I got the following error-messages in processing log:

- Please maintain an output device in your user master data.

- Archiving format not equal to PDF.

Please, can someone help me to solve this problem.

Regards,

Rajesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

U need to write the code to convert the smartform to PDF using FM Convert_otf and also for sending mail

The standard program has to be copied to Z and write ur code..to perform u requirements

Check the below links

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d...

surya

former_member1242340
Participant
0 Kudos

Hi

Thanks Surya.........

sorry i dint get the required answer can any one plz help me out of this

Thanks

Rajesh

Edited by: rajesh kumar kandagatla on Oct 27, 2009 7:46 PM

Former Member
0 Kudos

Hi,

At line no 4187 of your driver program i.e at the point of function module write select single * from lfa1 into lvs_lfa1 where lifnr = nast-parnr.before this NACE config should be done.

  • ... use stratagy to get communication type

CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE'

Regards

Kiran