‎2007 Sep 17 7:27 AM
i have this two internal table
types:begin of y_lt_mkpf,
bldat type mkpf-bldat,
frbnr type mkpf-frbnr,
bktxt type mkpf-bktxt,
end of y_lt_mkpf.
types:begin of y_lt_lfa1,
name1 type lfa1-name1,
end of y_lt_lfa1.
data:y_li_mkpf type table of y_lt_mkpf.
data:y_li_lfa1 type table of y_lt_lfa1.
i want to add the field name1 in the internal table y_li_lfa1 to the internal table y_li_mkpf.
so that i get this internal table
types:begin of y_lt_mkpf,
bldat type mkpf-bldat,
frbnr type mkpf-frbnr,
bktxt type mkpf-bktxt,
name1 type lfa1-name1,
end of y_lt_mkpf.
data:y_li_mkpf type table of y_lt_mkpf.
‎2007 Sep 17 7:37 AM
hi rajan,
U can add t directly.
else if u want to add it through programatically,
use <b>Include structure y_lt_lfa1 </b> in the defination of y_lt_mkpf.
<b>Reward points if useful</b>
Chandra
‎2007 Sep 17 7:38 AM
Hi,
there is no link (similar filed name) between these two tables. So, you won't be able to move the required field name to first table directly.
Regards.