Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

One table

Former Member
0 Likes
537

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
425

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

1 REPLY 1
Read only

Former Member
0 Likes
426

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