Skip to Content
0

Object SOFM, method Compose, attachments files

Jan 10, 2017 at 01:10 PM

105

avatar image
Former Member

Hi all,

in my workflow i need to compose and send an email with attachment.

I thought i would use the Compose method of the BOR SOFM, it does the job but the file attachment is created in a previous task and i would like to display it when i launch the Compose method.

How can i do that ?

I attach an example file :

sap1.png

sap2.png

Thanks for any help.

Regards,

Eric

sap1.png (14.6 kB)
sap2.png (6.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Rob Dielemans Jan 10, 2017 at 01:26 PM
0

Hi,

When you bind the attachment to the dialog step then it will be visible in the workflow inbox. If you explicitly want to show it at the moment that the user selects the workitem you can use a secondary method, just bind the SOFM object and use SFOM.Display method.

Kind regards, Rob Dielemans

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 10, 2017 at 02:11 PM
0

Sorry, don't understand your response.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 13, 2017 at 10:55 AM
0

Any ideas ?

Share
10 |10000 characters needed characters left characters exceeded
Denis Alexandrovich Jan 16, 2017 at 12:38 PM
0

Hi,

Create Task (PFTC) with BOR SOFM and method Compose. This method – Dialog, and performed by the user. The user creates Document, creates Attachment and fills Recipient (email) and presses button “Send”.

See message in transaction SCOT. Will display your email-message. May set up forwarding from the SAP to the external mail (SBWP -> Setting -> Office setting -> Automatic forwarding)

But must first be configured server (Mail Server (SMTP)) to send mail.


02.png (33.1 kB)
01.png (34.0 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 23, 2017 at 02:40 PM
0

Hi Denis, i did that, but my need is the following : when the method Compose is launched i want to initialize the Attachments tab with data.

Share
10 |10000 characters needed characters left characters exceeded