Skip to Content
0
Former Member
May 17, 2010 at 01:24 PM

how to insert data into table type itab of a table

45 Views

Hi,

I have created a table type of table bseg and used this in smartform.

However at driver program side to get printout, i cannot fill the internal table of table type bseg, YT_T_BSEG.

Data: im_t_bseg type Y_TY_BSEG OCCURS 0.

Select * from bseg where bukrs eq itab-bukrs and belnr eq itab-belnr.

blablabla...

i cannot assing the values of bseg to im_t_bseg table.

endselect.

How can i do that?

Thanks.