<br><font size=2 face="sans-serif">Hi Rhonda,</font>
<br>
<br><font size=2 face="sans-serif">I assume you mean the task-container,
am I correct here?</font>
<br><font size=2 face="sans-serif">If the X is to be seen in the workflow-container
check if the parameter is also existing in the task container and if they
are bound correctly to one another.</font>
<br><font size=2 face="sans-serif">If so have, as Dave already mentioned
a look at the spelling, they have to be spelled exactly the same, in your
programm and in the task container.</font>
<br><font size=2 face="sans-serif">Have you tested your task seperately
via SWUS to check if the task itself works fine?</font>
<br><font size=2 face="sans-serif">If the container element can be determined
correctly if you run the task itelf, than you have a high chance tha the
problem is to pass the data from the workflow to .the task</font>
<br>
<br><font size=2 face="sans-serif">I hope this helps you, I know it´s not
the most elloquent answer, but this was I problem I came across when I
first started working with WF, so maybe it´ll help you too.</font>
<br>
<br><font size=2 face="sans-serif">Cya</font>
<br>
<br><font size=2 face="sans-serif">Ute</font>
<br>
<br>
<br>
<br><font size=2><tt>sap-wug-bounces@mit.edu schrieb am 07.07.2005 16:54:11:<br>
<br>
> Hi Rhonda, how is the import parameter of your method defined. Does
<br>
> the name match that in the swc_get_element statement ? First thing
<br>
> to check I think.<br>
> <br>
> Cheers<br>
> Dave<br>
> <br>
> ________________________________<br>
> <br>
> From: sap-wug-bounces@mit.edu on behalf of Rossman, Rhonda<br>
> Sent: Thu 7/7/2005 10:39 AM<br>
> To: sap-wug@mit.edu<br>
> Subject: Getting a data value from the container<br>
> <br>
> <br>
> <br>
> <br>
> Hi, <br>
> <br>
> I am very new to the Workflow world and I'm having a
problem <br>
> getting the value of a field in the container. The field is
a <br>
> standard one, StatusNotApproved. Here's my code.<br>
> <br>
> begin_method abc changing container.
<br>
> <br>
>
<br>
> <br>
> DATA: f_value(1) TYPE c,
<br>
> <br>
> r_roleid LIKE
zrole_struc-roleid,
<br>
> <br>
> f_not_approved LIKE swceditor-objstatus.
<br>
> <br>
>
<br>
> <br>
> CLEAR: f_value, r_roleid, f_not_approved.
<br>
> <br>
>
<br>
> <br>
> swc_get_element container 'Notify_flag' f_value.
<br>
> <br>
> swc_get_element container 'RoleID' r_roleid.
<br>
> <br>
> swc_get_element container 'StatusNotApproved' f_not_approved.
<br>
> <br>
>
<br>
> <br>
> CALL FUNCTION 'Z_SEND_EMAIL'
<br>
> <br>
> EXPORTING
<br>
> <br>
> notification_id = object-key
<br>
> <br>
> role_id
= 'AUT'
<br>
> <br>
> process_completion = 'X'
<br>
> <br>
> noti_type
= f_value
<br>
> <br>
> noti_roleid
= r_roleid
<br>
> <br>
> notify_mgr_complete = 'X'
<br>
> <br>
> reject_flag
= f_not_approved. <br>
> <br>
> <br>
> I've set a breakpoint before the call to the function
module, and<br>
> the value of f_not_approved is always initial, even though I can see<br>
> an 'X' in the container. Can anyone offer some advice?<br>
> <br>
> Thanks, <br>
> Rhonda
<br>
> <br>
> <br>
> [Anhang "winmail.dat" gelöscht von Ute Schroeder/WIV] <br>
> _______________________________________________<br>
> SAP-WUG mailing list<br>
> SAP-WUG@mit.edu<br>
> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</tt></font>