cancel
Showing results for 
Search instead for 
Did you mean: 

attach SAP shortcut

Former Member
0 Kudos

Hi All,

I need to attach SAP shortcut to an external mail ID. The contents of the attachment i am generating it at runtime using FM SWN_CREATE_SHORTCUT using an activity Step.

Kindly let me know, in which element of the step "Send mail" i have to attach the contents generated.

Also, let me know how to deal with element attachobject ?

Thank you.

Srinivas Rao.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I am not really sure whether you can put the attachment in the mail step. However, I would suggest you to try these following steps:

1. Copy over program RSWNSENDMAIL1 and do any necessary changes in that Z program.

2. Create an activity step at the correct step of your workflow definition using wizard "Include Execute Job/Report". You will have to key in your Z program name in one of the step of the wizard.

3. Make sure the bindings are correctly done from your workflow container (like SAP logon ID, user name, etc) to the Z program parameters.

I have used Z program which I copied over from RSWNSENDMAIL1 to send an email with attachment and SAP short cut in one of my project. I think it should also work in workflow.

Regards,

Lim...