when said: clear prices. the prices itab is not cleared. it is still full of data, but I am not sure whether it has header line. It is not specified explicitly.
Does this prices itab has header line?
DATA: BEGIN OF PRICES OCCURS 0,
MATNR LIKE MBEW-MATNR,
BWKEY LIKE MBEW-BWKEY,
VPRSV LIKE MBEW-VPRSV,
STPRS LIKE MBEW-STPRS,
VERPR LIKE MBEW-VERPR,
END OF PRICES.