cancel
Showing results for 
Search instead for 
Did you mean: 

attach zip file to email in 4.6C via workflow

Former Member
0 Kudos

Hi!

I'm trying to attach a zip file to an email. I'm using 4.6C. Is it possible in workflow to attach a zip file? I've tried using object: selfitem but the zip file is not attached to the email. Is there any other object that I can use?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

Do you mean attach it programmatically (if so: how are you doing it), or as a workflow user?

Is FM SO_NEW_DOCUMENT_ATT_SEND_API1 available in your version? You could try it with doc_type = ZIP, not sure if it's allowed.

regards

Rick Bakker

Hanabi Technology

Former Member
0 Kudos

thanks for the reply.. zip file will be attached in background. FM SO_NEW_DOCUMENT_ATT_SEND_API1 is available.

former_member185167
Active Contributor
0 Kudos

Okay, try it in straight ABAP first then, see if it works.

Former Member
0 Kudos

I've already tried it. But it cannot seem to find the zip file. No attachements made.

What we are trying to do is convert payslip to pdf then zip it before sending it thru lotus notes. Is there any other way that we can send a protected file thru email?

former_member185167
Active Contributor
0 Kudos

Hello,

It's not returning any error? Try running it in debug mode.

regards

Rick Bakker

Hanabi Technology