Hi,
Iam trying to get the HKONT values into t_header-hkont from bseg.Iam getting error...Could any one check this one pls..
points guaranteed...
loop at t_bsak.
loop at t_bseg where belnr = t_bsak-belnr and
bukrs = t_bsak-bukrs and
gjahr = t_bsak-gjahr.
if sy-subrc = 0.
move t_bseg-hkont to t_header-hkont.
modify t_header.
clear t_header.
endif.
endloop.
endloop.
cheers
kaki