<div>So in your current solution is the secondary method of the same object as the primary method? If not can you make it so it is??</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 05/11/2007, <b class="gmail_sendername">Daniel Schorsch</b> <<a href="mailto:daniel.schorsch@philips.com">daniel.schorsch@philips.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><font face="sans-serif" size="2">Hi Mark,</font> <br><br><font face="sans-serif" size="2">thanks for your input. Parameter passing for secondary methods is possible. You just have to give it to the task container so the secondary method can access it. I allready did that with other methods (
e.g. starting a self developed method "displaywithparameters of type BUS3003). It functioned well, that is why I thought it should also work in the same way with the form object :-(</font> <span class="q"><br><br><font face="sans-serif" size="2">
<br><br>Mit freundlichen Grüßen / With kind regards / Met vriendelijke groeten<br><br>Daniel Schorsch<br>Philips Medical Systems DMC GmbH<br>Information Technology - Technical Automation<br>Röntgenstraße 24<br>22335 Hamburg
<br>Tel.: +49/40/5078-1505<br>Fax: +49/40/5078-1793<br>Email: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Daniel.Schorsch@philips.com" target="_blank">Daniel.Schorsch@philips.com</a><br>Intranet:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://pww.de.ms.philips.com/" target="_blank">http://pww.de.ms.philips.com/</a><br><br>Geschäftsführung: Diedrich Dirks (Vorsitzender), Christoph Wittler<br>
Sitz der Gesellschaft: Hamburg<br>Registergericht Hamburg, 66 HRB 77 839<br>Steuernummer: 22/27/278/00800</font> <br><br><br></span>
<table width="100%">
<tbody>
<tr valign="top">
<td width="33%"><br><br><br><br><br><font face="sans-serif" size="1"><b>"Mark Pyc" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mark.pyc@gmail.com" target="_blank">mark.pyc@gmail.com
</a>></b> </font>
<p><font face="sans-serif" size="1">Sent by:</font> <br><font face="sans-serif" size="1"><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu
</a></font>
<p><font face="sans-serif" size="1">05.11.2007 12:33</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" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug@mit.edu" target="_blank">
sap-wug@mit.edu</a>></font></div></td></tr></tbody></table><br></p>
<td width="66%">
<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 Workflow Users' Group" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a>></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: Workflow Form as "secondary method"</font>
<tr>
<td>
<div align="right"><font face="sans-serif" size="1">Classification</font></div>
<td></td></td></tr></td></td></tr></td></td></tr></td></td></tr></tbody></table><br>
<table>
<tbody>
<tr valign="top">
<td>
<td></td></td></tr></tbody></table>
<div align="right"><br> </div></td>
<td><p></p>
<p></p></td></p></td></tr></tbody></table>
<div><span class="e" id="q_1160fccc1769145f_3"><br><br><br><font size="3">G'day Daniel,</font> <br><font size="3"> </font> <br><font size="3">I'm not sure but I don't think you can do anything so tricky from a secondary method. I believe you can only call simple methods of the primary object (_WI_OBJECT_ID) despite the fact that you can specify other objects on that tab. I'm assuming that your primary object in this case will be the material object rather than the form object. In which case you may need a new method on the material object.
</font><br><font size="3"> </font> <br><font size="3">Again I'm not claiming to be an expert on secondary methods, but I believe that they're not even really intended to have import/export parameters. This may not be true in the later releases, but they were originally just intended for display of additional data which didn't require parameter passing.
</font><br><font size="3"> </font> <br><font size="3">Good luck,</font> <br><font size="3">Mark<br><br></font><br><font size="3">On 05/11/2007, <b>Daniel Schorsch</b> <</font><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:daniel.schorsch@philips.com" target="_blank">
<font color="blue" size="3"><u>daniel.schorsch@philips.com</u></font></a><font size="3">> wrote: </font><br><font face="sans-serif" size="2"><br>Hi all,</font><font size="3"> <br></font><font face="sans-serif" size="2">
<br>I have got a Workflow using formsteps. Now I would like to make this form that was filled in during the workflow to appear just for viewing via a secodary method of a workflow step for creating a new material. </font>
<font size="3"><br></font><font face="sans-serif" size="2"><br>I did the following:</font><font size="3"> <br></font><font face="sans-serif" size="2"><br>Entering on the "methods tab" of the workflow step a secondary methode Container Element is type
<i>BO.DYNP_FORM</i>, method is <i>display</i>. </font><font size="3"><br></font><font face="sans-serif" size="2"><br>Furthermore I pass the following parameters via binding to the task:</font><font size="3"> </font><font face="sans-serif" size="2">
<br> - FORMPROGRAM (programm to execute) <br> - FORMDYNPRO (dynpro to open)</font><font size="3"> </font><font face="sans-serif" size="2"><br> - FORMCONTAINERELEMENT (structure for the form)</font><font size="3">
</font><font face="sans-serif" size="2"><br> - DYNP_FORM (Form Object)</font><font size="3"> <br></font><font face="sans-serif" size="2"><br>When I now execute the task the secondary methode is not called (or let's say the form does not open up). Is there something missing? Is is there another way to display a workflow form as a secondary method??
</font><font size="3"><br></font><font face="sans-serif" size="2"><br>Thank you very much!!!</font><font size="3"> </font><font face="sans-serif" size="2"><br><br><br>Mit freundlichen Grüßen / With kind regards / Met vriendelijke groeten
<br><br>Daniel Schorsch<br>Philips Medical Systems DMC GmbH<br>Information Technology - Technical Automation<br>Röntgenstraße 24<br>22335 Hamburg<br>Tel.: +49/40/5078-1505<br>Fax: +49/40/5078-1793<br>Email: </font><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Daniel.Schorsch@philips.com" target="_blank">
<font face="sans-serif" color="blue" size="2"><u>Daniel.Schorsch@philips.com</u></font></a><font face="sans-serif" size="2"><br>Intranet: </font><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://pww.de.ms.philips.com/" target="_blank">
<font face="sans-serif" color="blue" size="2"><u>http://pww.de.ms.philips.com/</u></font></a><font face="sans-serif" size="2"><br><br>Geschäftsführung: Diedrich Dirks (Vorsitzender), Christoph Wittler <br>Sitz der Gesellschaft: Hamburg
<br>Registergericht Hamburg, 66 HRB 77 839<br>Steuernummer: 22/27/278/00800</font><font size="3"><br>_______________________________________________<br>SAP-WUG mailing list</font><font color="blue" size="3"><u><br></u></font>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank"><font color="blue" size="3"><u>SAP-WUG@mit.edu</u></font></a><font color="blue" size="3"><u><br></u></font><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
<font color="blue" size="3"><u>http://mailman.mit.edu/mailman/listinfo/sap-wug</u></font></a><font size="3"><br></font><br><font size="2"><tt>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">
SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br></tt></font><br>
</span></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br></blockquote></div><br>