<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
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>
&nbsp;<BR>
The application was this:&nbsp; a customer calls with a complaint about some material he received.&nbsp; A workflow is started to process the complaint.&nbsp; 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.&nbsp; At this point it would be really nice (maybe) for the workflow to listen for the Goods Receipt.&nbsp; 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>
&nbsp;<BR>
Now, the Goods Receipt transaction (whenever it occurs) will reference the&nbsp;Return Material&nbsp;which the workflow does know about.&nbsp; The correlation will hold a reference to the&nbsp;Return Material&nbsp;document and the Goods Receipt object.&nbsp;&nbsp;The SAP program that scans the correlations will match the Return Material document number with the Goods Receipt object and raise&nbsp;the "event" and pass the Goods Receipt document id back to the workflow.&nbsp; 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.&nbsp; Too cool!<BR><BR>I hope I've explained this sufficiently.&nbsp; Let me know if I've left a gap.<BR>
&nbsp;<BR>
I am eagerly looking for an opportunity to use a correlation.<BR>
&nbsp;<BR>
<BLOCKQUOTE>
<HR>
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<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<DIV id=EC_idOWAReplyText22295 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Everyone,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>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.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I would be curious if anyone has used this and under what circumstances.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>In transaction SWDD go to the menu Environment-&gt;Development-&gt;Correlation Editor.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Here is what the SAP says:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2><SPAN lang=EN-US><EM>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. </EM></SPAN></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>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>Sales Order?</EM> That way the attribute can be re-used for multiple workflows.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am sure I am missing something here....</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=EC_idSignature9977 dir=ltr>
<DIV><FONT face=Arial color=#000000>
<DIV dir=ltr align=left><STRONG>
<DIV dir=ltr align=left><STRONG>
<DIV dir=ltr align=left><STRONG><FONT size=2>Alon Raskin</FONT></STRONG></DIV>
<DIV dir=ltr align=left><STRONG><FONT size=2>e: </FONT></STRONG><A href="mailto:araskin@3i-consulting.com"><STRONG><FONT size=2>araskin@3i-consulting.com</FONT></STRONG></A></STRONG></STRONG></FONT></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></body>
</html>