cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform will not Email, but SAPscript will - - Please Help! - -

Former Member
0 Kudos

Program - /SMB40/FM06P

Form Routine - ENTRY_NEU

PDF/Smartform - ZCustom

When using the above settings to Email PO we receive the Error - Please maintain Output in User Master Data. (I have LOCL for my printer as well as having a email address in SU01)

- When we switch the settings back to SAPscript - the email works fine....the problem is we don't want to have to completely redo the SAPscript form as we already have the Smartform set the way we want it - as it prints completely fine.

Is there something we need to change with /SMB40/FM06P????

Any help would be greatly appreciated.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Convert smartform to PDF

use function module CONVERT_OTF_2_PDF

Download as a file

Use function module GUI_DOWNLOAD or Class cl_gui_frontend_services=>gui_download

Sending PDF as mail

SO_DOCUMENT_SEND_API1

OR

Open SWDD workflow builder,

on the center panel

Right click> Mail> Opens a new window

> give the user: your login user id->

attach the pdf file from local server-->

check, activate and run your workflow.

You find a mail in your business workplace with the above attachment.

Regards

sarves

Former Member
0 Kudos

Topfler,

Refer this link, this may be of some help to you.

https://wiki.sdn.sap.com/wiki/display/Snippets/emailsendthroughoutputcontrols

Regards,

Rishikesh