<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Hi Alon,<BR>
That's what I assumed - sort of like the process that evaluates start conditions, but the documentation says that an actual event is raised - just like event wait steps, I guess. I have not had a chance to build a sample to test this.<BR>
<BR>
You will probably get a chance to play with this before I do. If so, please let me know what you find.<BR>
<BR>
Thanks,<BR>
Ed<BR><BR><BR>
<BLOCKQUOTE>
<HR>
Subject: RE: Correlation Editor<BR>Date: Fri, 13 Apr 2007 13:53:04 -0400<BR>From: araskin@3i-consulting.com<BR>To: sap-wug@mit.edu<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_shape
{;}
</STYLE>
<STYLE>
</STYLE>
<STYLE>
.ExternalClass EC_p.MsoNormal, .ExternalClass EC_li.MsoNormal, .ExternalClass EC_div.MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass EC_a:link, .ExternalClass EC_span.MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass EC_a:visited, .ExternalClass EC_span.MsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
.ExternalClass p
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass EC_span.EmailStyle18
{font-family:Arial;color:navy;}
.ExternalClass EC_span.EmailStyle19
{font-family:Arial;color:navy;}
.ExternalClass EC_span.EmailStyle22
{font-family:Arial;color:navy;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass EC_div.Section1
{page:Section1;}
</STYLE>
<DIV class=EC_Section1>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">So is there some sort of batch job that runs on a periodic basis and evaluates these correlations?</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<DIV>
<P class=EC_MsoNormal><STRONG><B><FONT face=Calibri color=navy size=3><SPAN style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri">Alon Raskin</SPAN></FONT></B></STRONG><B><FONT color=navy><SPAN style="FONT-WEIGHT: bold; COLOR: navy"></SPAN></FONT></B></P>
<P class=EC_MsoNormal><STRONG><B><FONT face=Calibri color=navy size=3><SPAN style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri">e:</SPAN></FONT></B></STRONG><STRONG><B><FONT face=Calibri color=navy><SPAN style="FONT-WEIGHT: normal; COLOR: navy; FONT-FAMILY: Calibri"> </SPAN></FONT></B></STRONG><B><FONT color=navy><SPAN style="FONT-WEIGHT: bold; COLOR: navy"><A title=blocked::mailto:araskin@3i-consulting.com href="mailto:araskin@3i-consulting.com"><FONT face=Calibri><SPAN style="FONT-FAMILY: Calibri"><SPAN title=blocked::mailto:araskin@3i-consulting.com>araskin@3i-consulting.com</SPAN></SPAN></FONT></A></SPAN></FONT></B></P>
<P class=EC_MsoNormal><B><FONT face="Times New Roman" color=navy size=3><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy">p: +1 207 523 3489</SPAN></FONT></B></P>
<P class=EC_MsoNormal><B><FONT face="Times New Roman" color=navy size=3><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy">c: +1 207 409 4983</SPAN></FONT></B></P>
<P class=EC_MsoNormal><B><FONT face="Times New Roman" color=navy size=3><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy">f: +1 806 403-4983</SPAN></FONT></B></P></DIV>
<DIV>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=EC_MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Mowry, Douglas <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, April 13, 2007 11:05 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Correlation Editor</SPAN></FONT></P></DIV>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">That’s true. We use them in XI to collect groups of files form an external non-SAP system. Once the correlation detects all appropriate files, it then allows the workflow to continue (in this case, processing a file based interface )</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Doug Mowry</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></B></P>
<P class=EC_MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></B></P>
<P class=EC_MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Griffiths, Mark<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, April 13, 2007 10:42 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Correlation Editor</SPAN></FONT></P></DIV>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I think the correlations are fairly widely used in the XI BPM engine (which creates an underlying workflow on the backend).</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Regards,</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Mark</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=EC_MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Alon Raskin<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> 13 April 2007 12:10<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Correlation Editor</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Wow Ed. That is an excellent explanation. Thank you. </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I may have a use for this for one of my current clients. If I do end up using it I will let you know.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Be great if there was an example in the system. I will see if I can find one….</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks for your response.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Alon</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<DIV>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=EC_MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Edward Diehl<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, April 12, 2007 3:53 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Correlation Editor</SPAN></FONT></P></DIV>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Alon,<BR>I have not yet had a chance to use correlations, but here is a real-life scenario where I really needed such a mechanism.<BR> <BR>The application was this: a customer calls with a complaint about some material he received. A workflow is started to process the complaint. The complaint cannot be evaluated until the material is received so a workflow step creates a Return Material and notifies the customer and the service person. At this point it would be really nice (maybe) for the workflow to listen for the Goods Receipt. However, since the workflow knows nothing about the Goods Receipt object (since it has not been created yet) it has nothing to listen for.<BR> <BR>Now, the Goods Receipt transaction (whenever it occurs) will reference the Return Material which the workflow does know about. The correlation will hold a reference to the Return Material document and the Goods Receipt object. The SAP program that scans the correlations will match the Return Material document number with the Goods Receipt object and raise the "event" and pass the Goods Receipt document id back to the workflow. The workflow can then continue to whomever is responsible for checking the quality of the returned material and either approve or reject the customer complaint. Too cool!<BR><BR>I hope I've explained this sufficiently. Let me know if I've left a gap.<BR> <BR>I am eagerly looking for an opportunity to use a correlation.<BR> </SPAN></FONT></P>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=EC_MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Subject: Correlation Editor<BR>Date: Thu, 12 Apr 2007 10:26:57 -0400<BR>From: araskin@3i-consulting.com<BR>To: sap-wug@mit.edu</SPAN></FONT></P>
<DIV id=EC_EC_idOWAReplyText22295>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Hi Everyone,</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I stumbled upon this a while back and I was wondering if anyone has actually used this. I read the online help but that didn't help too much.</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would be curious if anyone has used this and under what circumstances.</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In transaction SWDD go to the menu Environment->Development->Correlation Editor.</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here is what the SAP says:</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><EM><I><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">A correlation enables you to identify objects that belong together, for example, a quotation and the relevant sales order. This involves correlating the objects by using one or more common elements, for example, the quotation number. When you define a Workflow, you can specify the object that the Workflow must wait for, without having to enter the ID of the object. </SPAN></FONT></I></EM><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">While I can see that this is useful, why not simply enhance a sub-type of quotation so that it contains an attribute called <EM><I><FONT face=Arial><SPAN style="FONT-FAMILY: Arial">Sales Order?</SPAN></FONT></I></EM> That way the attribute can be re-used for multiple workflows.</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am sure I am missing something here....</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards,</SPAN></FONT><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT></P></DIV></DIV>
<DIV id=EC_EC_idSignature9977>
<DIV>
<P class=EC_MsoNormal><STRONG><B><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Alon Raskin</SPAN></FONT></B></STRONG><B><FONT face=Arial color=black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></SPAN></FONT></B></P>
<P class=EC_MsoNormal><STRONG><B><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">e: </SPAN></FONT></B></STRONG><B><FONT face=Arial color=black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><A href="mailto:araskin@3i-consulting.com"><STRONG><B><FONT face=Arial><SPAN style="FONT-FAMILY: Arial">araskin@3i-consulting.com</SPAN></FONT></B></STRONG></A></SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT></P></DIV></DIV></DIV></BLOCKQUOTE></body>
</html>