Skip to Content
0
Nov 07, 2007 at 02:51 AM

Problem with READ TABLE with INDEX and TRANSPORTING

53 Views

Hi Guys,

I am using READ TABLE statemen to read internal table li_spfli.

READ TABLE li_spfli INDEX 2 TRANSPORTING carrid

write li_spfli-carrid.

The above READ statement does not return the CARRID of row 2 and it is returning the CARRID of last row.

But if i use below statment.

READ TABLE li_spfli INDEX 2.

if sy-subrc eq 0.

write: li_spfli-carrid.

endif

I want to use transporting to improve the performance. Kindly suggest what to do.

Thanks,

mini