<!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.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>We are on Basis 620 
system R3 4.72.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>This seems fairly 
basic to me but I can't get it to work (:.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>I am trying to get 
the value of the current work item task (TS91nnnnnn) into a function module for 
Agent Evaluation for the dialog step the task is attached 
to.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>I have created a 
Workflow Container element defined as BOR Object Type - WORKINGWI - Import / 
Export.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>I have created a 
Rule Container element defined as above - Import only.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>I 
am&nbsp;binding&nbsp;' _WORKITEM' from the Step to the Workflow Container 
element defined above.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>I am binding the 
Workflow Container element to the Rule Container element.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>Within the Rule FM I 
have the following code:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007>==========================================================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007><FONT size=1><FONT 
size=2>INCLUDE &lt;cntn01&gt;.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>DATA:</FONT></DIV>
<DIV><FONT size=2>l_initiator TYPE wfsyst-initiator,</FONT></DIV>
<DIV><FONT size=2>l_contract TYPE zrcmt_wf0001-contract,</FONT></DIV>
<DIV><FONT size=2>l_route TYPE zrcmt_wf0003-zzroute,</FONT></DIV>
<DIV><FONT size=2>l_claim TYPE iclactivity-claim,</FONT></DIV>
<DIV><FONT size=2>l_subclaim TYPE iclactivity-subclaim,</FONT></DIV>
<DIV><FONT size=2>l_activity TYPE iclactivity-actnumber,</FONT></DIV>
<DIV><FONT size=2>l_iclact TYPE swc_object,</FONT></DIV>
<DIV><FONT size=2>l_key TYPE key,</FONT></DIV>
<DIV><FONT size=2>l_task1 type sww_task,</FONT></DIV>
<DIV><FONT size=2>l_rule_wi TYPE swc_object.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV></FONT><FONT color=#0000ff size=1>
<DIV><FONT color=#000000 size=2>* convert persistent container to runtime 
container</FONT></DIV></FONT><FONT size=1>
<DIV><FONT size=2>swc_container_to_runtime ac_container.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>swc_get_element ac_container 'INITIATOR' 
l_initiator.</FONT></DIV>
<DIV><FONT size=2>swc_get_element ac_container 'CONTRACT' 
l_contract.</FONT></DIV>
<DIV><FONT size=2>swc_get_element ac_container 'ICLACT' l_iclact.</FONT></DIV>
<DIV><FONT size=2>swc_get_element ac_container 'ROUTE' l_route.</FONT></DIV>
<DIV><FONT size=2>swc_get_element ac_container 'RULE_WI' l_rule_wi.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>swc_get_object_key l_iclact l_key.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>swc_get_property rule_wi 'WorkitemTask' l_task1.</FONT></DIV>
<DIV><FONT size=2></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007>================================================================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>On execution 
l_rule_wi is empty (RULE_WI) being the Rule Container 
element.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>I suspect I'm doing 
something really dumb here but I cannot see what.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=300560214-23052007>Please help before I 
go mad ):.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=300560214-23052007></SPAN></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>Keith Gardiner</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>SAP Development and Support</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT><FONT face=Arial 
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BR>
This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed.  <BR>
If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system.<BR>
</BODY></HTML>