Method and task Binding issue
srinivas
ootasrinivasreddy at gmail.com
Mon Oct 12 05:14:03 EDT 2009
Hi Experts,
Below is the piece of code extracted from SWO1 from a custom object.
BEGIN_METHOD GETITEMS CHANGING CONTAINER.
types:begin of st_matnr,
matnr type matnr,
end of st_matnr.
data:lt_vbap type table of vbap,
lw_vbap type vbap,
lt_matnr type table of mara,
lw_matnr type st_matnr,
lw_vbeln type vbeln,
vbeln_cont type swcont.
* matnr_cont type table of swcont.
swc_get_element CONTAINER 'lw_vbeln' lw_vbeln.
select * from vbap into table lt_vbap
where vbeln = lw_vbeln.
loop at lt_vbap into lw_vbap.
lw_matnr-matnr = lw_vbap-matnr.
append lw_matnr to lt_matnr.
endloop.
swc_set_table CONTAINER 'matnr_cont' lt_matnr.
end_METHOD.
I need to export the lt_matnr to my workflow template.Could some one help me
in binding lt_matnr to WF template.Thanks in advance.
--
SRINIVAS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091012/f64a78ee/attachment.htm
More information about the SAP-WUG
mailing list