cancel
Showing results for 
Search instead for 
Did you mean: 

Temporary file

0 Kudos

Hello

I would know your opinion about the way to implement a solution: I have one string text and I want to send it as attachment of an e-mail.

Which is the best solution in your opinion?

Actually I'm creating a file in web folder using "Write file" block (and tempfile function), then I send the e-mail and I delete the file.

Do you have other ideas? Is there other way to create the file? Is there other way for skip the file creation and attach it directly from text?

Thank you

Fabio

SAP MII 12.2.5

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Fabio,

i will forward Andrea Ferramosca the sample TRX.

You do not have to store first the file temporary. Do the following:

1. Define in the property "Attachment" the name of the file like test.txt.

2. Define in the property "AttachmentContent" the value that will have inside the test.txt file.

Thats it.

BR

Pedro Iglesias

0 Kudos

I did it and...it works perfecty

thank you pedro

Fabio

Answers (0)