<div>Hi Experts,</div>
<div> </div>
<div>Below is the piece of code extracted from SWO1 from a custom object.</div>
<div> </div>
<div>BEGIN_METHOD GETITEMS CHANGING CONTAINER.</div>
<div>types:begin of st_matnr,<br> matnr type matnr,<br> end of st_matnr.</div>
<div>data:lt_vbap type table of vbap,<br> lw_vbap type vbap,<br> lt_matnr type table of mara,<br> lw_matnr type st_matnr,<br> lw_vbeln type vbeln,<br> vbeln_cont type swcont.<br>* matnr_cont type table of swcont.</div>
<div>swc_get_element CONTAINER 'lw_vbeln' lw_vbeln.</div>
<div>select * from vbap into table lt_vbap<br>where vbeln = lw_vbeln.</div>
<div>loop at lt_vbap into lw_vbap.<br>lw_matnr-matnr = lw_vbap-matnr.<br>append lw_matnr to lt_matnr.<br>endloop.</div>
<div>swc_set_table CONTAINER 'matnr_cont' lt_matnr.</div>
<div>end_METHOD.<br><br clear="all"></div>
<div></div>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.<br>-- <br>SRINIVAS<br>