cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment to Mail step in workflow

Former Member
0 Kudos

Dear All,

My requirement is to add attachment to external mail id. for that i created send mail step.

if i send mail alone means its working fine.

but if i added the attachment means its getting error. mail is not sending.

i searched in sdn

but solution is not there.

im also facing same problem.

kindly give solution for this problem.

Thanks & regards

Hema

Edited by: hemachandran r on Feb 18, 2009 7:22 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Review note :

Note 1346960 - Mails/Tasks are not sent if additional attachments are there

Regards.

MaoPacheco.

Former Member
0 Kudos

I believe, problem with binding task only. Could you please attach the binding step .

Thanks,

Mitesh Patel

Former Member
0 Kudos

Dear Mitesh,

Work flow -> Step mail

&MAILID& -> &ADDRESSSTRINGS&

&STATUS& -> &STATUS&

&SORDER& -> &SORDER&

&_ATTACH_OBJECTS& -> &ATTACHMENTS&

Thanks & Regards,

Hema

Edited by: hemachandran r on Feb 19, 2009 8:19 AM

0 Kudos

Thanks,

Zulfi

Former Member
0 Kudos

Hi Hema,

Rather than sending mail using Send email step, use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send an email with attachment.

Regards,

Gautham Paspala

Former Member
0 Kudos

Dear Gautham ,

Thanks for quick reply. but i want to add attachment to the workitem id.

means, once the sales order approved or rejected by marketing person, i want

to send the attachment to all customers.

Thanks & Regards,

hema.

Former Member
0 Kudos

Hi,

What kind of attachement are you using? i believe it is an object reference as you said 'once the sales order approved or rejected by marketing person', and what kind of attachement do you wish to send to customers?

You can use the workflow container AttachObjects to pass the attachments to workitem.

cheers

gaurav

Former Member
0 Kudos

Dear gaurav,

I want to send the sales order PDF document.

im using SAP_WAPI_ATTACHMENT_ADD this function module to add atachment.

so it will add the attachment in the standard workflow container as u mentioned

AttachObjects.

my problem is, if i send mail alone means, mail sent successfully but if i add the attachment

means its getting error( Mail is not sending).

in the mail send step its binded like &_ATTACH_OBJECTS& ->&ATTACHMENTS&

Thanks & Regards,

Hema