‎2007 Dec 14 8:24 AM
Hi all
I have two fiedls<b> it_hbank-hk</b>ont and <b>it_skat1-txt50</b> and i want to pass them into one table am using the below piece of code but both the fields are npt getting passed into the one table.
LOOP AT it_skat1.
READ table it_skat1 WITH key saknr = it_sele-hkont.
LOOP at it_hbank.
READ TABLE it_hbank WITH KEY bukrs = p_bukrs.
it_sele-txt50 = it_skat1-txt50.
it_sele-hkont = it_hbank-hkont.
APPEND it_sele.
CLEAR it_sele.
endloop.
endloop.
Please make the necessary changes and get back to me..
With Regards
Vijay
‎2007 Dec 14 8:37 AM
why are you using clear it_sele
what type of it_sele
declare it_sele as internal table with header lines if not done
i think it will solve the problem
‎2007 Dec 14 8:37 AM
why are you using clear it_sele
what type of it_sele
declare it_sele as internal table with header lines if not done
i think it will solve the problem