Skip to Content
0
Former Member
Dec 14, 2007 at 08:24 AM

One table

10 Views

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