<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi Mike, <BR>
<BR>
Thanks for your reply, I won&quot;t shout this is a &quot;voluntary&quot; forum not a hot a line or something that we are paying 17% of the licence cost... <BR>
so every reply is a service that we should be glad to have and every time we don't have a reply, well that is life ...<BR>
<BR>
In fact I do have a big issue, the notification tab, requires data type WSYst-AGenT therefore I can not use the email found in the DL<BR>
I would work quite fine in a send mail step but not for notification (which&nbsp; is weird as notification tab is supposed to send mail...)<BR>
<BR>
Of course the easy way around will be to add an SAP USER for the email we want to use, not really, a start of the art solution but a workaround.<BR>
<BR>
I will keep your idea for the specific class, I think that it will be good. <BR>
Oh just one more thing, I have checked there is no need to actually build a virtual attribute on the BOR object to get the agent inside it, there is already a determination rule existing for that AC 30000012 the DL name can be transferred in the container.<BR>
<BR>
thanks again for your replies <BR>
cheers<BR>
stephane
<BLOCKQUOTE TYPE=CITE>
<PRE>
        <A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A> 
or, via email, send a message with subject or body 'help' to
        <A HREF="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A>

You can reach the person managing the list at
        <A HREF="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A>

When replying, please edit your Subject line so it is more specific
than &quot;Re: Contents of SAP-WUG digest...&quot;


Today's Topics:

   1. Distribution List (St?phane Bailleul)
   2. Re: Distribution List (Mike Pokraka)


----------------------------------------------------------------------

Message: 1
Date: Wed, 8 Dec 2010 08:32:46 +0100 (CET)
From: St?phane Bailleul &lt;<A HREF="mailto:s.bailleul@free.fr">s.bailleul@free.fr</A>&gt;
Subject: Distribution List
To: <A HREF="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>
Message-ID:
        &lt;<A HREF="mailto:460062917.5862801291793566278.JavaMail.root@zimbra10-e2.priv.proxad.net">460062917.5862801291793566278.JavaMail.root@zimbra10-e2.priv.proxad.net</A>&gt;
        
Content-Type: text/plain; charset=utf-8

Hi , 

I am using ECC6 and trying to use the distribution list to send notification (notification tab on workflow step).

I have created a virtual attribute in my business object (ZBUS2081) to read the distribution list via the FM SO_DLI_READ_API1.
However in this virtual attribute which result should I enter 
 entries the DLI_ENTRIES  or DLI_DATA  or the email from the DLI_ENTRIES ?


In the DLI_entries  I could have email address and SAP User so I am wondering how the programm will react 
Do I have to consider all the potential entries of the distribution list (distribution list, SAP User or direct email ?) and get in the result of my virtual attribute only the email adress ?

Where I am currently working I don't have the developper access, I can only provide the third party developper who does not know workflow, so I need help from people with good knowledge or people that can do some testing ...

Regards
Stephane





------------------------------

Message: 2
Date: Wed, 8 Dec 2010 11:42:47 -0000 (GMT)
From: &quot;Mike Pokraka&quot; &lt;<A HREF="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>&gt;
Subject: Re: Distribution List
To: &quot;SAP Workflow Users' Group&quot; &lt;<A HREF="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;
Message-ID:
        &lt;<A HREF="mailto:13fd3749e41f7fc2864d3ce3bc4bc9a6.squirrel@g.mail.aaisp.net.uk">13fd3749e41f7fc2864d3ce3bc4bc9a6.squirrel@g.mail.aaisp.net.uk</A>&gt;
Content-Type: text/plain;charset=iso-8859-1

Hi St?phane,

Sorry I was going to check this on my own system before replying to your
earlier post about this and forgot.
You definitely need to use DLI_ENTRIES, as DLI_DATA only contains
metadata. From memory I think you may be able to restrict what folks can
add. Or else you need to evaluate MEMBER_TYP and react accordingly. e.g.
only process type U - internet address; or lookup user's email address if
they supplied their username, I hope you get the idea.

It may be worth your while encapsulating all this into it's own
class/object and adding that as your attribute to make it more re-usable.
ZCL_DLIST
  --&gt;GET_MEMBER_COUNT
  --&gt;GET_MEMBERS (returns User/Person objects)
  --&gt;GET_MEMEBER_EMAILS (returns resolvable email addresses)
  --&gt;IS_EMAIL_FULLY_RESOLVABLE  (indicates whether all members could be
resolved into email addresses)

Shout if any other questions.
Cheers,
Mike


On Wed, December 8, 2010 7:32 am, St??phane Bailleul wrote:
&gt; Hi ,
&gt;
&gt; I am using ECC6 and trying to use the distribution list to send
&gt; notification (notification tab on workflow step).
&gt;
&gt; I have created a virtual attribute in my business object (ZBUS2081) to
&gt; read the distribution list via the FM SO_DLI_READ_API1.
&gt; However in this virtual attribute which result should I enter
&gt;  entries the DLI_ENTRIES  or DLI_DATA  or the email from the DLI_ENTRIES ?
&gt;
&gt;
&gt; In the DLI_entries  I could have email address and SAP User so I am
&gt; wondering how the programm will react
&gt; Do I have to consider all the potential entries of the distribution list
&gt; (distribution list, SAP User or direct email ?) and get in the result of
&gt; my virtual attribute only the email adress ?
&gt;
&gt; Where I am currently working I don't have the developper access, I can
&gt; only provide the third party developper who does not know workflow, so I
&gt; need help from people with good knowledge or people that can do some
&gt; testing ...
&gt;
&gt; Regards
&gt; Stephane
&gt;
&gt;
&gt;
&gt; _______________________________________________
&gt; SAP-WUG mailing list
&gt; <A HREF="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>
&gt; <A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
&gt;




------------------------------

_______________________________________________
SAP-WUG mailing list
<A HREF="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>
<A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>


End of SAP-WUG Digest, Vol 73, Issue 4
**************************************
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Stephane Bailleul<BR>
Consultant SAP SRM/MM/Workflow<BR>
<BR>
GSM: +33 6 14 08 32 50<BR>
FAX:&nbsp; +33 9 56 62 24 40<BR>
Email: <A HREF="mailto:stephanebailleul@free.fr">stephanebailleul@free.fr</A><BR>
<BR>
<A HREF="http://www.linkedin.com/in/stephanebailleul">http://www.linkedin.com/in/stephanebailleul</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>