<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=170283310-26022008><FONT face=Arial
color=#0000ff size=2>Hi David,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=170283310-26022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=170283310-26022008><FONT face=Arial
color=#0000ff size=2>Have you delegated the new BOR object before using it in ur
workflow? actually u need not change anything in the copied workflow if u
have done this.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left><EM><FONT color=#800000 size=2>Best Regards,</FONT></EM></DIV>
<DIV align=left><EM><FONT color=#800000 size=2>Vinod
Viswanathan</FONT></EM></DIV>
<DIV align=left><EM><FONT color=#800000 size=2>Workflow
Consultant</FONT></EM></DIV>
<DIV align=left><EM><FONT color=#800000 size=2>Fujitsu Consulting -
Pune</FONT></EM></DIV>
<DIV align=left><EM><FONT color=#800000 size=2>Phone: +91 20 40722000
Extn:2370</FONT></EM></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>Joe_Toledo@capgroup.com<BR><B>Sent:</B> Thursday, January 03, 2008 3:16
AM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Cc:</B> sap-wug@mit.edu;
sap-wug-bounces@mit.edu<BR><B>Subject:</B> RE: Change an existing
workflow<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>Hi there David,</FONT> <BR><FONT
face=sans-serif size=2><BR>I was just going on the assumption that you are
trying to introduce a new business object into you workflow based on the
statement "</FONT><FONT face=Arial size=2>This condition requires a TRUE/FALSE
decision to be made on the basis of new business object." The examples
below show you how to instantiate a business object, which means that you will
have access to its attributes from the workflow.</FONT> <BR><BR><FONT face=Arial
size=2>The method "GenericInstantiate" found in BOR SYSTEM allows you to
instantiate a BOR, but you still have to bind the key and the type to this
method in order for it to generate (instantiate) the BOR, which is being done in
the examples below.</FONT> <BR><BR><FONT face=Arial size=2>Do you know if the
"new business object" is of the type as the business object being used within
your workflow? Why do you feel you need to have a "new business object?"
</FONT><BR><BR><FONT face=Arial size=2>Perhaps you could clarify your
requirement a bit further. Sounds like maybe we're caught up in
terminology.</FONT> <BR><BR><FONT face=Arial size=2>Regards,</FONT> <BR>
<TABLE align=center>
<TBODY>
<TR>
<TD bgColor=#efefef>
<DIV align=center><A href="mailto:Joe_Toledo@capgroup.com"><FONT
face=Arial color=blue size=1><U>Joe Toledo</U></FONT></A><FONT face=Arial
size=1> | The Capital Group Companies<BR>Location: IRV | Extension: 55417
| Outside: 949-975-5417<BR>E-mail: joat@capgroup.com<BR>[ Mailing:
</FONT><A
href="http://maps.yahoo.com/py/maps.py?BFCat=&Pyt=Tmap&newFL=Use+Address+Below&addr=15261+Laguna+Canyon+Rd.&csz=92618&Country=us&Get%A0Map=Get+Map"><FONT
face=Arial color=blue size=1><U>15261 Laguna Canyon
Rd.</U></FONT></A><FONT face=Arial size=1> LC1-2B Irvine, CA 92618 USA
]</FONT></DIV></TR></TBODY></TABLE><BR><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif
size=1><B><david.s.dittmer@accenture.com></B> </FONT><BR><BR><FONT
face=sans-serif size=1>Sent by: sap-wug-bounces@mit.edu</FONT>
<P><FONT face=sans-serif size=1>01/02/2008 01:12 PM</FONT>
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond
to<BR>"SAP Workflow Users' Group"
<sap-wug@mit.edu></FONT></DIV></TR></TBODY></TABLE><BR></P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif size=1><sap-wug@mit.edu></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>RE: Change an existing
workflow</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT face=Arial
color=#000080 size=2>Hello Joe,</FONT> <BR><FONT face=Arial color=#000080
size=2>Please clarify the statement ‘not one of the existing defined BORs in
your WF’ . I have used a sub-type of the BOR for the object type as an import
parameter. If I understand your statement correctly this would mean that the BOR
is already known to the WF and there would be no need to instantiate it,
right.</FONT> <BR><FONT face=Arial color=#000080 size=2> </FONT> <BR><FONT
face=Arial color=#000080 size=2>Thanks for your contribution.</FONT> <BR><FONT
face=Arial color=#000080 size=2> </FONT> <BR><FONT face=Arial color=#000080
size=2>David</FONT> <BR><FONT face="Times New Roman" color=#000080
size=3> </FONT>
<DIV align=center><BR>
<HR>
</DIV><BR><FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>Joe_Toledo@capgroup.com<B><BR>Sent:</B> Wednesday, January 02, 2008 3:53
PM<B><BR>To:</B> SAP Workflow Users' Group<B><BR>Cc:</B> sap-wug@mit.edu;
sap-wug-bounces@mit.edu<B><BR>Subject:</B> RE: Change an existing
workflow</FONT> <BR><FONT face="Times New Roman" size=3> </FONT> <BR><FONT
face=sans-serif size=2><BR>Hi there David,</FONT><FONT face="Times New Roman"
size=3> <BR></FONT><FONT face=sans-serif size=2><BR>If the BOR you are trying to
include in your WF is not one of the existing defined BORs in your WF, you will
need to create logic to instantiate it. Below is a sample code of how to
"instantiate a business object" and assign it to a WF container element, which
is being called from a method or from an attribute of an existing BOR available
in the WF.</FONT><FONT face="Times New Roman" size=3> <BR></FONT><FONT
face=sans-serif size=2><BR>Below is an example of how to do either.</FONT><FONT
face="Times New Roman" size=3> <BR></FONT><FONT face=sans-serif size=2><BR>Good
luck!</FONT><FONT face="Times New Roman" size=3> <BR></FONT><FONT
face=sans-serif
size=2><BR>========================================================</FONT><FONT
face="Times New Roman" size=3> <BR></FONT><FONT face=sans-serif
size=2><BR>begin_method zcreateuserobj changing container.</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>DATA:</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR> actualprocessor TYPE
wfsyst-act_agent,</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR> usr01object TYPE
swc_object,</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR> usr01key LIKE
usr01-bname.</FONT><FONT face="Times New Roman" size=3> <BR></FONT><FONT
face=sans-serif size=2><BR>swc_get_element container 'ActualProcessor'
actualprocessor.</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR>usr01key = actualprocessor+2(12).</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>swc_create_object usr01object 'USR01' usr01key.</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>swc_set_element container 'USR01Object' usr01object.</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>end_method.</FONT><FONT face="Times New Roman" size=3>
<BR></FONT><FONT face=sans-serif
size=2><BR>=========================================================</FONT><FONT
face="Times New Roman" size=3> <BR></FONT><FONT face=sans-serif
size=2><BR>GET_PROPERTY ZESSREQUESTOROBJ CHANGING CONTAINER.
<BR>
<BR>DATA:
l_requser LIKE sy-uname,
</FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face=sans-serif size=2><BR> lv_object
TYPE swc_object,
</FONT><FONT face="Times New Roman" size=3>
</FONT><FONT face=sans-serif size=2><BR> lv_objkey
LIKE swotobjid-objkey,
</FONT><FONT face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR> lv_objtype LIKE
swotobjid-objtype. </FONT><FONT
face="Times New Roman" size=3><BR></FONT><FONT face=sans-serif
size=2><BR>*</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR>* Any logic to define Object Key</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>*</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR>
<BR>
</FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face=sans-serif size=2><BR>lv_objkey = sy-uname.
<BR>
</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>swc_create_object lv_object 'USR01' lv_objkey. </FONT><FONT
face="Times New Roman" size=3> <BR></FONT><FONT face=sans-serif
size=2><BR>*</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR>* May want to include logic is object is
non-existant here</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR>*
</FONT><FONT face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>
<BR>SWC_SET_ELEMENT
CONTAINER 'ZESSRequestorObj' lv_object. <BR>END_PROPERTY.
</FONT><FONT face="Times New Roman" size=3><BR></FONT><FONT face=sans-serif
size=2><BR>
</FONT>
<P>
<TABLE width="100%" align=center>
<TBODY>
<TR>
<TD width="100%" bgColor=#efefef>
<DIV align=center><A href="mailto:Joe_Toledo@capgroup.com"><FONT
face=Arial color=blue size=1><U>Joe Toledo</U></FONT></A><FONT face=Arial
size=1> | The Capital Group Companies<BR>Location: IRV | Extension: 55417
| Outside: 949-975-5417<BR>E-mail: joat@capgroup.com<BR>[ Mailing:
</FONT><A
href="http://maps.yahoo.com/py/maps.py?BFCat=&Pyt=Tmap&newFL=Use+Address+Below&addr=15261+Laguna+Canyon+Rd.&csz=92618&Country=us&Get%A0Map=Get+Map"><FONT
face=Arial color=blue size=1><U>15261 Laguna Canyon
Rd.</U></FONT></A><FONT face=Arial size=1> LC1-2B Irvine, CA 92618 USA
]</FONT></DIV></TR></TBODY></TABLE><BR><FONT face="Times New Roman"
size=3><BR><BR></FONT>
<P>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="56%"><FONT face=sans-serif
size=1><B><david.s.dittmer@accenture.com></B> </FONT><FONT
face="Times New Roman" size=3><BR></FONT><FONT face=sans-serif
size=1><BR>Sent by: sap-wug-bounces@mit.edu</FONT><FONT
face="Times New Roman" size=3> </FONT>
<P><FONT face=sans-serif size=1>01/01/2008 04:54 PM</FONT><FONT
face="Times New Roman" size=3> </FONT>
<P><BR>
<TABLE width="100%" border=4>
<TBODY>
<TR vAlign=top>
<TD width="100%" bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond
to<BR>"SAP Workflow Users' Group"
<sap-wug@mit.edu></FONT></DIV></TR></TBODY></TABLE><BR></P>
<TD width="43%"><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="18%">
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD width="81%"><FONT face=sans-serif
size=1><sap-wug@mit.edu></FONT><FONT face="Times New Roman"
size=3> </FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD><FONT face="Times New Roman" size=3> </FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>RE: Change an existing
workflow</FONT></TR></TBODY></TABLE><BR><FONT face="Times New Roman"
size=3> </FONT>
<P><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="50%"><FONT face="Times New Roman" size=3> </FONT>
<TD width="50%"><FONT face="Times New Roman"
size=3> </FONT></TR></TBODY></TABLE><BR></P></TR></TBODY></TABLE><BR><FONT
face="Times New Roman" size=3><BR><BR></FONT><FONT face=Arial color=#000080
size=2><BR>Hello,</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=Arial color=#000080 size=2><BR>All this has been done but the issue is that
a new business object is not being read by the workflow. >From reading this
website it is called the instantiation of the new business object. Please advise
how is the best way to do this.</FONT><FONT face="Times New Roman" size=3>
</FONT><FONT face=Arial color=#000080 size=2><BR></FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=Arial color=#000080
size=2><BR>Thank you</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=Arial color=#000080 size=2><BR></FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face=Arial color=#000080 size=2><BR>David.</FONT><FONT
face="Book Antiqua" color=#000080 size=2> </FONT>
<DIV align=center><BR><FONT face="Times New Roman" size=3> </FONT> <BR>
<HR>
</DIV><BR><FONT face=Tahoma size=2><B><BR>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>ASSY,
SOSTHENE<B><BR>Sent:</B> Monday, December 31, 2007 12:56 PM<B><BR>To:</B> SAP
Workflow Users' Group<B><BR>Subject:</B> RE: Change an existing
workflow</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face="Book Antiqua" size=2><BR></FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face=Arial color=#000080 size=2><BR>If you want to
change an existing workflow, please follow this procedure :</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=Arial color=#000080
size=2><BR></FONT><FONT face="Times New Roman" size=3> </FONT>
<UL>
<LI><FONT face=Arial color=#000080 size=2>In your Dev environment, create a
copy of your existing workflow giving a new name</FONT><FONT
face="Times New Roman" size=3> </FONT>
<LI><FONT face=Arial color=#000080 size=2>Do your modification</FONT><FONT
face="Times New Roman" size=3> </FONT>
<LI><FONT face=Arial color=#000080 size=2>Activate it and do your
test</FONT><FONT face="Times New Roman" size=3> </FONT>
<LI><FONT face=Arial color=#000080 size=2>Desactivate the old one</FONT><FONT
face="Times New Roman" size=3> </FONT>
<LI><FONT face=Arial color=#000080 size=2>Transport your change request into
production.</FONT></LI></UL><FONT face=Arial color=#000080
size=2> </FONT><FONT face="Times New Roman" size=3> </FONT><FONT face=Arial
color=#000080 size=2><BR></FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face=Arial color=#000080 size=2><BR></FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=Arial color=#000080
size=2><BR>Happy New year <BR></FONT><FONT face="Times New Roman"
size=3> </FONT>
<DIV align=center><BR><FONT face="Times New Roman" size=3> </FONT> <BR>
<HR>
</DIV><BR><FONT face=Tahoma size=2><B><BR>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>david.s.dittmer@accenture.com<B><BR>Sent:</B> Monday, December 31, 2007 5:26
AM<B><BR>To:</B> sap-wug@mit.edu<B><BR>Subject:</B> Change an existing
workflow</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face="Book Antiqua" size=2><BR></FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face=Arial size=2><BR>Hello workflow gurus, <BR>I am
new to workflow and have been asked to change an existing workflow by adding a
condition. This condition requires a TRUE/FALSE decision to be made on the basis
of new business object. Please advise if it is necessary to instantiate this new
business object using business object SYSTEM or can one just reference the new
business object in the workflow container as an import. I have researched some
SAP designed workflows and they follow the approach of adding a new business
object to the workflow container as an import but I need confirmation. Thanks
</FONT><FONT face="Book Antiqua" color=white size=1>__.____._</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=Arial size=2><BR></FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=Arial
size=2><BR>David.</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face="Book Antiqua" size=2><BR></FONT><FONT face="Times New Roman"
size=3> </FONT><FONT face="Book Antiqua" size=2><BR></FONT><FONT
face="Times New Roman" size=3> </FONT>
<P><FONT face=Arial size=2>This message is for the designated recipient only and
may contain privileged, proprietary, or otherwise private information. If you
have received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.</FONT><FONT
face="Times New Roman" size=3> </FONT>
<P><FONT face=Arial size=1>This message is for the designated recipient only and
may contain privileged, proprietary, or otherwise private information. If you
have received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.</FONT><FONT
face="Courier New"
size=2>_______________________________________________<BR>SAP-WUG mailing
list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug</FONT>
<P><FONT face=Arial size=1>This message is for the designated recipient only and
may contain privileged, proprietary, or otherwise private information. If you
have received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.</FONT><FONT
size=2><TT>_______________________________________________<BR>SAP-WUG mailing
list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></TT></FONT>
<P></P></BODY></HTML>