Skip to Content
0
Former Member
Jul 31, 2008 at 03:36 PM

Smartform - Sending PDF through E-mail issue

683 Views

Hi,

A custom form and custom program was created to print the Purchase order information through ME21N, 22n and 23n.

It also has E-mail option. when output medium 5(Simple mail) and 7(External send), email will be send to respective mail-id's with the PDF attachment.

I have issue at the time of saving PO which processed with medium 5. when i save A popup appears "Express document update was terminated received from author". Brief message about it is

"Error Info... 00 671: ABAP/4 processor: COMMIT_IN_POSTING"

In Smartform driver program i am using below function modules to convert OTF into PDF and send through e-mail.

Function Module: CONVERT_OTF.

Function Module: SO_DOCUMENT_SEND_API1.

I am not sure, what i missed out. Can you guys tell is this the correct way to send PDF attachment through E-mail or i missed out any function module for commit.

Regards,

Hemanth.