Getting a data value from the container
Rossman, Rhonda
rhonda.rossman at eds.com
Thu Jul 7 10:39:27 EDT 2005
> Hi,
>
> I am very new to the Workflow world and I'm having a problem getting
> the value of a field in the container. The field is a standard one,
> StatusNotApproved. Here's my code.
>
> begin_method abc changing container.
>
>
>
> DATA: f_value(1) TYPE c,
>
> r_roleid LIKE zrole_struc-roleid,
>
> f_not_approved LIKE swceditor-objstatus.
>
>
>
> CLEAR: f_value, r_roleid, f_not_approved.
>
>
>
> swc_get_element container 'Notify_flag' f_value.
>
> swc_get_element container 'RoleID' r_roleid.
>
> swc_get_element container 'StatusNotApproved' f_not_approved.
>
>
>
> CALL FUNCTION 'Z_SEND_EMAIL'
>
> EXPORTING
>
> notification_id = object-key
>
> role_id = 'AUT'
>
> process_completion = 'X'
>
> noti_type = f_value
>
> noti_roleid = r_roleid
>
> notify_mgr_complete = 'X'
>
> reject_flag = f_not_approved.
>
>
> I've set a breakpoint before the call to the function module, and the
> value of f_not_approved is always initial, even though I can see an
> 'X' in the container. Can anyone offer some advice?
>
> Thanks,
> Rhonda
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050707/abcbe972/attachment.htm
More information about the SAP-WUG
mailing list