for all entries
REFRESH li_matplant.
SELECT pur_group mat_plant INTO TABLE li_matplant
FROM /bi0/pmat_plant
FOR ALL ENTRIES IN SOURCE_PACKAGE
WHERE mat_plant = SOURCE_PACKAGE-/bic/zmat_po
AND pur_group <> ''
AND objvers = 'A'.
REFRESH li_matplant.
SELECT pur_group mat_plant INTO TABLE li_matplant
FROM /bi0/pmat_plant
FOR ALL ENTRIES IN SOURCE_PACKAGE
WHERE mat_plant = SOURCE_PACKAGE-/bic/zmat_po
AND pur_group <> ''
AND objvers = 'A'.