<div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3">Rick</font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3"> </font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3">We also have HR workflows which uses EMPLOYEET, but mostly BO BUS1065. If I understand correctly, you want to use the display method to display specific info type through PA20. But you are passing EMPLOYEET object to the decision task only as an attachment and the default method for that task is DECISION-PROCESS. So, you are passing the container values(Info type/subtype) only to DECISION method but not to EMPLOYEET-Display method. You can confirm this by setting a breakpoint PROCESS method, where you will see those container values. I don’t think you can pass workflow container values to the objects attached to the decision task.The same method will work if its a standard task tied directly to the display method.</font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3"> </font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3">Other standard display method like PO\ME23n mostly use object-Key to display the transaction, but in EMPLOYEET-DISPLAY, PA20 is default and you want to send parameters which are not object attributes if you want to see specific info type. </font></span><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3"> </font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3"></font></span> </p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3">Let us know your findings...</font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3"> </font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3">Regards,</font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #002060; FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;"><font size="3">Sathish</font></span></p>
</div>
<div> </div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Mon, Jun 28, 2010 at 8:25 AM, Sample, Rick <span dir="ltr">&lt;<a href="mailto:Rick.Sample@graybar.com">Rick.Sample@graybar.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Container values - Anything passed from task -&gt; method via WF Container. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Examples:</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><b><span style="FONT-SIZE: 11pt; COLOR: #1f497d">EMPLOYEET-Display</span></b></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Defined parms on method: Infotype, Subtype, ValidityBegin, and ValidityEnd. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">The display method is using: </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">swc_get_element container &#39;Infotype&#39; infotype, to get the container values from the task to the method. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I am currently working on a WF in HR right now. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I have a Descision task, with EMPLOYEET object passed in to descision task for Display as link. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I am attempting to pass container values into the method so I can execute the default SAP Display method </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">from the &quot;Objects and Attachments&quot; links. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I set break in this Display method. So, from SAP Inbox, click on &quot;Emplyee: Rick Sample&#39; and you are in the Display method.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I have no values in container for any of the container values it is looking for via the swc_get_element.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">All binding are there with data in task. But not being passed to method. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Note, this is all standard SAP functionality. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Thanks,</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Rick</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Rick Bakker<br>
<b>Sent:</b> Sunday, June 27, 2010 12:09 PM 
<div class="im"><br><b>To:</b> SAP Workflow Users&#39; Group<br></div>
<div>
<div></div>
<div class="h5"><b>Subject:</b> Re: Decision Task -&gt; Link to object&#39;s default Display method</div></div></span>
<p></p></p></div></div>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi Rick,</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">I have bound an object to the Decision Task. It shows up on the right under Objects and Attachments.</p></div>
<div>
<p class="MsoNormal">If I click on it, it runs its Display method. I put a breakpoint in the Display method, all is as expected.</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">I&#39;m not sure what you mean by &quot;container values&quot;. You&#39;re passing parameters to the method?</p></div>
<div>
<p class="MsoNormal">How do you do that?</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">If I pass a container element, say XTEST, from the workflow to the decision task, I expect it to be available to the Decision task. I don&#39;t expect it to be passed to the Display method of an object in the workitem. I&#39;m not even sure how to do that. Maybe I&#39;m missing something.</p>
</div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">regards</p></div>
<div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt">Rick</p></div>
<div>
<p class="MsoNormal">On Sat, Jun 26, 2010 at 2:50 AM, Sample, Rick &lt;<a href="mailto:Rick.Sample@graybar.com" target="_blank">Rick.Sample@graybar.com</a>&gt; wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hi Rick,</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Just so I am clear on what you are saying.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">You have bound an object to the Decision Task. This will show in the &quot;objects and attachments&quot; pane like below. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Meaning, this object when selected, will open the default &#39;Display&#39; method of &lt;whatever&gt; BO. </span></p>
<table style="WIDTH: 100%" cellspacing="3" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<td style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
<p class="MsoNormal"><b><span style="FONT-SIZE: 7.5pt">Objects and attachments </span></b></p></td></tr>
<tr>
<td style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
<table style="WIDTH: 100%" cellspacing="3" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<td style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
<ul type="disc">
<li class="MsoNormal"><span style="FONT-SIZE: 7.5pt">Employee: Mr Rick L Sample </span></li></ul></td></tr></tbody></table></td></tr></tbody></table>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Now, if you go into (whatever BO) you are using and put a break point and execute, you are saying that you have container values? I step into my Display method and I got zip! Even though all data is in the task itself. </span></p>

<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Don&#39;t know when it stopped. But I checked every WF I have in ECC6 and I see no data passed into them via container. All I have is the object-key. Period! </span></p>

<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Some of my tasks just pop a session on the object-key and open &lt;whatever&gt;, but no setting parms, other container values from task make it into the method. </span></p>

<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Rick</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Rick Bakker<br>
<b>Sent:</b> Friday, June 25, 2010 10:41 AM </span></p>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt"><br><b>To:</b> SAP Workflow Users&#39; Group</span></p></div>
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">Subject:</span></b><span style="FONT-SIZE: 10pt"> Re: Decision Task -&gt; Link to object&#39;s default Display method</span> </p></div></div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi Rick,</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">I can confirm. Just have an object in the wf container and instantiate it, and it will appear on the Decision task, and it works.</p></div>
<div>
<p class="MsoNormal">I ran into a (different) problem with the Display method myself recently. Haven&#39;t tried passing parameters to it though.</p></div>
<div>
<p class="MsoNormal">Did it suddenly stop working?</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">cheers</p></div>
<div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt">Rick</p></div>
<div>
<p class="MsoNormal">On Fri, Jun 25, 2010 at 11:32 PM, Sample, Rick &lt;<a href="mailto:Rick.Sample@graybar.com" target="_blank">Rick.Sample@graybar.com</a>&gt; wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hey folks,</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I checked and this is occurring across the board on all WFs. I have no access to container values in any workflow in ECC6. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I really recall ever doing much more than place the object on the Decision Task and have the Default Display method execute when user clicks on link. Always taken then to a display t-code like pa20, men23n, etc. </span></p>

<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Can anyone confirm this for me please?</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> Sample, Rick <br><b>Sent:</b> Tuesday, June 22, 2010 1:47 PM </span></p>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt"><br><b>To:</b> SAP Workflow Users&#39; Group<br><b>Subject:</b> Decision Task -&gt; Link to object&#39;s default Display method</span></p></div></div></div>
<p class="MsoNormal"> </p>
<p>I have a decision step with EMPLOYEE object. </p>
<div>
<p>This object has a default Display method and accepts some parms. </p>
<p>I have the binding in place, the data is making it to the task in runtime, but </p>
<p>stepping through the Display method, I have no CONTAINER values.</p>
<p> </p>
<p>Any ideas as to why no container values being passed from Task to Display method?</p>
<p> </p>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 8pt; COLOR: #3399cc"><br></span><b><span style="FONT-SIZE: 8pt; COLOR: black">Rick Sample</span></b><span style="FONT-SIZE: 8pt; COLOR: #3399cc"> </span><span style="FONT-SIZE: 8pt; COLOR: black">| </span><span style="FONT-SIZE: 8pt; COLOR: #3399cc">SAP Workflow Analyst/Developer<br>
11885 Lackland Road</span><span style="FONT-SIZE: 8pt; COLOR: black"> | </span><span style="FONT-SIZE: 8pt; COLOR: #3399cc">Maryland Heights, MO 63146 </span><span style="FONT-SIZE: 8pt; COLOR: black">| </span><span style="FONT-SIZE: 8pt; COLOR: #3399cc">Office (314) 573-5822</span><span style="FONT-SIZE: 8pt; COLOR: black"> | </span><span style="FONT-SIZE: 8pt; COLOR: #3399cc">Mobile (314) 952-2273</span><span style="FONT-SIZE: 8pt; COLOR: black"> | </span></p>
</div>
<p class="MsoNormal"><span style="FONT-SIZE: 8pt; COLOR: #3399cc"><a href="mailto:rick.sample@graybar.com" target="_blank">rick.sample@graybar.com</a> </span></p>
<div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><span style="FONT-SIZE: 8pt; COLOR: #3399cc"><a href="http://www.graybar.com/" target="_blank">www.graybar.com</a> - <i>Works to Your Advantage</i> </span></p></div>
<div>
<p class="MsoNormal"><a href="http://www.graybar.com/" target="_blank"><span style="FONT-SIZE: 8pt; TEXT-DECORATION: none"><img height="30" alt="Graybar® works to your advantage" src="cid:image001.gif@01CB1696.51A6C320" width="72" border="0"></span></a></p>
</div>
<p class="MsoNormal"> </p>
<p> </p></div></div></div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></p>
</div>
<p class="MsoNormal"> </p></div></div></div></div></div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></p>
</div>
<p class="MsoNormal"> </p></div></div></div></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a 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>