Skip to Content
0
Former Member
May 15, 2008 at 05:47 AM

data is not appending into Body

81 Views

hi all,

its working but the problem is data is nt appending into body.

LOOP AT it_tab2.

SELECT * into TABLE it_rpsco

FROM rpsco

WHERE objnr = it_tab2-objnr and

lednr eq v_lednr and

gjahr eq p_year and

wrttp eq '01' and

beltp eq '1'.

IF SY-SUBRC EQ 0.

APPEND it_rpsco.

ENDIF.

ENDLOOP.

in the above code under loop am selecting data into it_rpsco,

allways it is showing current record as first record only, its body getting only 1 record(current) it is nt appending .

what is wrong in that.

Rgds,

kumar.