Skip to Content
0
Former Member
Feb 26, 2009 at 05:43 PM

Load in internal table does not work

37 Views

Hi

i define this code in my start routine of my transformation. i user this internal table in differentes rules

My problem is the internal table is loaded with 0 values. i check the source table and there are datas

This is my code :

TYPES: BEGIN OF ref_mat_plant,

plant TYPE /BI0/PMAT_PLANT-PLANT,

mat_plant TYPE /BI0/PMAT_PLANT-MAT_PLANT,

objvers TYPE /BI0/PMAT_PLANT-OBJVERS,

znbspcb TYPE /BI0/PMAT_PLANT-/BIC/ZNBSPCB,

znbpcb TYPE /BI0/PMAT_PLANT-/BIC/ZNBPCB,

znbcouch TYPE /BI0/PMAT_PLANT-/BIC/ZNBCOUCH,

znbpal TYPE /BI0/PMAT_PLANT-/BIC/ZNBPAL,

END OF ref_mat_plant.

data: it_ref_mat_plant TYPE STANDARD TABLE OF ref_mat_plant.

SELECT plant mat_plant objvers /bic/znbspcb /bic/znbpcb /bic/znbcouch /bic/znbpal

FROM /BI0/PMAT_PLANT INTO CORRESPONDING FIELDS OF TABLE

it_ref_mat_plant.

the result is it load keys correctly but i have 0 values in fields znbspcb, znbpal,...

Thanks

Cyril