<div><div>Hi Aditya,<br><br>This might help. The personal-id of the vendor is from SU01? And do you store the email address in there? If so, then do the following to retrieve the email address from the user master and send mail to that address from the workflow:
<br>&nbsp;<br>In your BOR, create a method (instance-independant, background processing) to retrieve the email address from the user master record (SU01).<br>- Use <span style="font-size: 10pt; font-family: Arial;" lang="EN-AU">
BAPI_USER_GET_DETAIL with an import parameter for user-Id (of vendor) and export parameter for return (bapiret2) and email (bapiadsmtp-e_mail).<br><br>This method will give you an email address for that vendor user_id - put the email address into a container. Ensure you have some sort of exception handling either in the method or Workflow to compensate for no email address found.
<br><br>Go to your Workflow and make a copy of your 'send mail' step. <br>Bind the email container for the &quot;vendor email&quot; into ADDRESSSTRINGS. <br>And in the bindings, set TYPEID = &quot;U&quot;.<br><br>You'll have the same send mail step twice in your Workflow, but one will send to an &quot;email address&quot; (TYPEID = U) and the other to an &quot;Org Object&quot; (TYPEID = G for your internal agent ids).  
<br></span><br>I hope that helps.<br><br>Tom <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">---------- Forwarded message ----------
<br>From:&nbsp;<span id="st" name="st" class="st">Aditya</span> V &lt;<a href="mailto:adityavarrier@yahoo.com">adityavarrier@yahoo.com</a>&gt;<br>To:&nbsp;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>Date:&nbsp;Thu, 14 Dec 2006 00:55:12 -0800 (PST)
<br>Subject:&nbsp;Multiple ids in WF<br>Hi,<br>our requirement is that we need to send mails to Internal agents (who are SAP users) and have Outlook-ids,<br>but the WF should also send mails to Vendors at the same time who arent SAP users and do not have Outlook-ids, instead have their personal-ids,
<br>Presently when we put the Internal-agents Outlook and external-vendors personal id in WF, its sending mails only to Internal-agents of Outlook and not Vendors,<br>what could be the reason, has it to do something with SMTP Settings of MailHost,
<br>Please assist,<br><br>Cheers,<br><span id="st" name="st" class="st">Aditya</span>.<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;¤~¤~GoD bLeSs YoU aLL~¤~¤<br><br><br><br><br><br><br><br><br><br><br><br>__________________________________________________
<br>Do You Yahoo!?<br>Tired of spam? &nbsp;Yahoo! Mail has the best spam protection around<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a><br>
</blockquote></div>