<br><font size=2 face="sans-serif">Hi there David,</font>
<br><font size=2 face="sans-serif"><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 &quot;</font><font size=2 face="Arial">This
condition requires a TRUE/FALSE decision to be made on the basis of new
business object.&quot; &nbsp; 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 size=2 face="Arial">The method &quot;GenericInstantiate&quot;
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 size=2 face="Arial">Do you know if the &quot;new business object&quot;
is of the type as the business object being used within your workflow?
&nbsp; Why do you feel you need to have a &quot;new business object?&quot;
&nbsp; </font>
<br>
<br><font size=2 face="Arial">Perhaps you could clarify your requirement
a bit further. &nbsp; Sounds like maybe we're caught up in terminology.</font>
<br>
<br><font size=2 face="Arial">Regards,</font>
<br>
<table align=center>
<tr>
<td bgcolor=#efefef>
<div align=center><a href=mailto:Joe_Toledo@capgroup.com><font size=1 color=blue face="Arial"><u>Joe
Toledo</u></font></a><font size=1 face="Arial"> | 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=&amp;Pyt=Tmap&amp;newFL=Use+Address+Below&amp;addr=15261+Laguna+Canyon+Rd.&amp;csz=92618&amp;Country=us&amp;Get%A0Map=Get+Map"><font size=1 color=blue face="Arial"><u>15261
Laguna Canyon Rd.</u></font></a><font size=1 face="Arial"> LC1-2B Irvine,
CA 92618 USA ]</font></div></table>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&lt;david.s.dittmer@accenture.com&gt;</b>
</font>
<br>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">01/02/2008 01:12 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: Change an existing workflow</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 color=#000080 face="Arial">Hello Joe,</font>
<br><font size=2 color=#000080 face="Arial">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 size=2 color=#000080 face="Arial">&nbsp;</font>
<br><font size=2 color=#000080 face="Arial">Thanks for your contribution.</font>
<br><font size=2 color=#000080 face="Arial">&nbsp;</font>
<br><font size=2 color=#000080 face="Arial">David</font>
<br><font size=3 color=#000080 face="Times New Roman">&nbsp;</font>
<div align=center>
<br>
<hr></div>
<br><font size=2 face="Tahoma"><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 size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 face="sans-serif"><br>
Hi there David,</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><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.
&nbsp;Below is a sample code of how to &quot;instantiate a business object&quot;
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 size=3 face="Times New Roman">
<br>
</font><font size=2 face="sans-serif"><br>
Below is an example of how to do either.</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="sans-serif"><br>
Good luck!</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
========================================================</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="sans-serif"><br>
 begin_method zcreateuserobj changing container.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 DATA:</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; actualprocessor TYPE wfsyst-act_agent,</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; usr01object TYPE swc_object,</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; usr01key LIKE usr01-bname.</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="sans-serif"><br>
 swc_get_element container 'ActualProcessor' actualprocessor.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 usr01key = actualprocessor+2(12).</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 swc_create_object usr01object 'USR01' usr01key.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 swc_set_element container 'USR01Object' usr01object.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 end_method.</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
=========================================================</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="sans-serif"><br>
GET_PROPERTY ZESSREQUESTOROBJ CHANGING CONTAINER. &nbsp; &nbsp; &nbsp;
&nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
DATA: l_requser LIKE sy-uname, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp;lv_object &nbsp; &nbsp; &nbsp; &nbsp; TYPE swc_object,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp;lv_objkey &nbsp; &nbsp; &nbsp; &nbsp; LIKE swotobjid-objkey,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp;lv_objtype &nbsp; &nbsp; &nbsp; &nbsp;LIKE swotobjid-objtype.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="sans-serif"><br>
*</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
* &nbsp;Any logic to define Object Key</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
*</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 face="sans-serif"><br>
 lv_objkey = sy-uname. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 face="sans-serif"><br>
swc_create_object lv_object 'USR01' lv_objkey. &nbsp;</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="sans-serif"><br>
*</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
* &nbsp;May want to include logic is object is non-existant here</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
SWC_SET_ELEMENT CONTAINER 'ZESSRequestorObj' lv_object. &nbsp; <br>
END_PROPERTY. &nbsp; &nbsp; </font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font>
<p>
<table width=100% align=center>
<tr>
<td width=100% bgcolor=#efefef>
<div align=center><a href=mailto:Joe_Toledo@capgroup.com><font size=1 color=blue face="Arial"><u>Joe
Toledo</u></font></a><font size=1 face="Arial"> | 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=&amp;Pyt=Tmap&amp;newFL=Use+Address+Below&amp;addr=15261+Laguna+Canyon+Rd.&amp;csz=92618&amp;Country=us&amp;Get%A0Map=Get+Map"><font size=1 color=blue face="Arial"><u>15261
Laguna Canyon Rd.</u></font></a><font size=1 face="Arial"> LC1-2B Irvine,
CA 92618 USA ]</font></div></table>
<br><font size=3 face="Times New Roman"><br>
<br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=56%><font size=1 face="sans-serif"><b>&lt;david.s.dittmer@accenture.com&gt;</b>
</font><font size=3 face="Times New Roman"><br>
</font><font size=1 face="sans-serif"><br>
Sent by: sap-wug-bounces@mit.edu</font><font size=3 face="Times New Roman">
</font>
<p><font size=1 face="sans-serif">01/01/2008 04:54 PM</font><font size=3 face="Times New Roman">
</font>
<p>
<br>
<table border=4 width=100%>
<tr valign=top>
<td width=100% bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=43%>
<br>
<table width=100%>
<tr valign=top>
<td width=18%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=81%><font size=1 face="sans-serif">&lt;sap-wug@mit.edu&gt;</font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=3 face="Times New Roman">&nbsp;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: Change an existing workflow</font></table>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<p>
<br>
<table width=100%>
<tr valign=top>
<td width=50%><font size=3 face="Times New Roman">&nbsp;</font>
<td width=50%><font size=3 face="Times New Roman">&nbsp;</font></table>
<br></table>
<br><font size=3 face="Times New Roman"><br>
<br>
</font><font size=2 color=#000080 face="Arial"><br>
Hello,</font><font size=3 face="Times New Roman"> </font><font size=2 color=#000080 face="Arial"><br>
All this has been done but the issue is that a new business object is not
being read by the workflow. &gt;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 size=3 face="Times New Roman"> </font><font size=2 color=#000080 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 color=#000080 face="Arial"><br>
Thank you</font><font size=3 face="Times New Roman"> </font><font size=2 color=#000080 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 color=#000080 face="Arial"><br>
David.</font><font size=2 color=#000080 face="Book Antiqua"> </font>
<div align=center>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br>
<hr></div>
<br><font size=2 face="Tahoma"><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 size=3 face="Times New Roman">
</font><font size=2 face="Book Antiqua"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 color=#000080 face="Arial"><br>
If you want to change an existing workflow, please follow this procedure
:</font><font size=3 face="Times New Roman"> </font><font size=2 color=#000080 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font>
<ul>
<li><font size=2 color=#000080 face="Arial">In your Dev environment, create
a copy of your existing workflow giving a new name</font><font size=3 face="Times New Roman">
</font>
<li><font size=2 color=#000080 face="Arial">Do your modification</font><font size=3 face="Times New Roman">
</font>
<li><font size=2 color=#000080 face="Arial">Activate it and do your test</font><font size=3 face="Times New Roman">
</font>
<li><font size=2 color=#000080 face="Arial">Desactivate the old one</font><font size=3 face="Times New Roman">
</font>
<li><font size=2 color=#000080 face="Arial">Transport your change request
into production.</font></ul><font size=2 color=#000080 face="Arial">&nbsp;</font><font size=3 face="Times New Roman">
</font><font size=2 color=#000080 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 color=#000080 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 color=#000080 face="Arial"><br>
Happy New year <br>
 </font><font size=3 face="Times New Roman">&nbsp;</font>
<div align=center>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br>
<hr></div>
<br><font size=2 face="Tahoma"><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 size=3 face="Times New Roman">
</font><font size=2 face="Book Antiqua"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 face="Arial"><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 size=1 color=white face="Book Antiqua">__.____._</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 face="Arial"><br>
David.</font><font size=3 face="Times New Roman"> </font><font size=2 face="Book Antiqua"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font><font size=2 face="Book Antiqua"><br>
 </font><font size=3 face="Times New Roman">&nbsp;</font>
<p><font size=2 face="Arial">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=3 face="Times New Roman">
</font>
<p><font size=1 face="Arial">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 face="Courier New">_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug</font>
<p><font size=1 face="Arial">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>