Skip to Content
avatar image
Former Member

Object SOFM, method Compose, attachments files

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jan 10, 2017 at 01:26 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 10, 2017 at 02:11 PM

    Sorry, don't understand your response.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2017 at 10:55 AM

    Any ideas ?

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16, 2017 at 12:38 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 23, 2017 at 02:40 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded