cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment in mail

devrajsinghr
Active Participant
0 Kudos
53

Hi friends,

I am working on Purchase req approval workflow, in which during approval process if requisition got rejected then approver will attach some note in that work item.

After rejection I have to send a mail to requisition creator.

I have simulated this situation with FORMABSENCE approval, just for checking the flow of attachment.

In which workflow will trigger when FORM is getting created after then there is a approval step, and at last sending mail to WF-INITIATOR.

When approver is executing the work item, it is displaying the form with approve and reject options and there I am attaching note or attachment before rejecting the request.

Workflow is ending fine but in mail there is no attachment found.

--binding of attachobjects is done at mail control tab....

--in technical log nothing in attachobjects element.

Can anyone help me what else can be the cause of not getting attachment....?

Thanks and regards

Dev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As you have said you have simulated from Leave request Workflow. Here it should also work. Make sure you have copied all the relevant stuffs and binded it properly.

Thanks

Arghadip

Answers (1)

Answers (1)

devrajsinghr
Active Participant
0 Kudos

Hi friend,

how to debug it out that where the problem is getting occured ?

vijy_mukunthan
Active Contributor
0 Kudos

This message was moderated.

devrajsinghr
Active Participant
0 Kudos

Its not working out.........

but still am trying...can u tell me how to check details of a mail that from which workflow it has sended?

martin_nooteboom
Active Contributor
0 Kudos

Outgoing emails can be found in transaction SOST.

In SWIA check the workflow container and the different task containers to find your attachment. Also check the send mail step to see if this can handle an attachment.

Regards,

Martin

devrajsinghr
Active Participant
0 Kudos

Hi Martin,

you are rit we can check our workitem info with the given transaction.....

i have noticed that when i am attaching the attachment at approve and reject screen that attachment is not coming in mail...

(i have binded the attachobjects in mail control tab).

but the attachment which i am creating at confirm end screen that is coming in mail..... do u have any idea about it y it behaving like dis...

second thing if approver ll attach any note how it ll come in mail.....

willl it come with the same container element attachobjects....?

or any other element we have to bind..?

thanks in advance...

devrajsinghr
Active Participant
0 Kudos

And when i have checked SendMail task container...it contains

1- Attachments of Workflow Instance

2- SAPoffice Attachments

both as same business object SOFM...

What the diffrence between the both ?

thanks

Edited by: Devraj on Jun 18, 2008 11:15 AM

martin_nooteboom
Active Contributor
0 Kudos

You need to check where your attachment is stored, so in which container element (if it is stored in a container element). You say you did the binding for Attachobjects, but if the created attachment isn't in there it will not be sent. So check the container to find your attachment.

Regards,

Martin

devrajsinghr
Active Participant
0 Kudos

Martin,

i have checked, attachments store in attachobjects for all type of containers (task,workflow...etc) but i am not able to get where it stores NOTE which a approver can write b4 approve and reject the form..

Can you please put some light on it.

Thanks ...

Dev

martin_nooteboom
Active Contributor
0 Kudos

I don't know where it is, because I have not yet worked with the scenario. That's also why I told you to take a look at the container. Look at all the container elements, not only the obvious ones. And maybe it doesn't even get stored in the container.

Which workflow do you use for the test?

Regards,

Martin

devrajsinghr
Active Participant
0 Kudos

i have designed a custom WF.

Regards

dev

martin_nooteboom
Active Contributor
0 Kudos

Which task is used to approve (or in which task do you create the attachment or note?)?. As I said, it could very well be the note or attachment is not stored in the workflow container, but somewhere else.

Regards,

Martin