Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform email

Former Member
0 Likes
676

Hello Gurus,

My requirement is to send an invoice smartform as pdf attachment thru email to customer. I'm able to do it successfully using output determination and SCOT setting for smartform as 'pdf'. But in Production system, the SCOT setting is 'TXT' for smartform and due to some dependencies, BASIS not supposed to change the 'TXT' to 'PDF'. How can I achieve this without changing the SCOT setting? I know we can do it using an ABAP program but I don't want to go with it now. Please let me know how can I achieve it? will there be any user specific settings in scot?

Thanks,

Raju.

4 REPLIES 4
Read only

rosenberg_eitan
Active Contributor
0 Likes
636

Hi,

Try the program here:

http://scn.sap.com/message/15080064#15080064

There is a code there to send pdf as attachment using the OTF (FORM mail_1_prep_4).

The OTF output is available from sap script and smart form .

Regards.

Read only

former_member202771
Contributor
0 Likes
636

Hi Raju,

the SCOT setting is 'TXT' for smartform and due to some dependencies, BASIS not supposed to change the 'TXT' to 'PDF'.


This setting makes no effect. I have changed settings in my PC in testing client, but Still even after changing to TXT, I get same same PDF in mail. (I have used CL_BCS)


Try it yourself in testing client.


Thanks,

Anil

Read only

0 Likes
636

Hi,

Thanks for the info.

I am at home and I cannot test this.

The program that I post also use CL_BCS.

Regards.

Read only

FredericGirod
Active Contributor
0 Likes
636

did you read the doc: Sending Mail using Oo (2) - Smartforms ?

regards

Fred