Skip to Content
0
Jan 16, 2011 at 07:18 AM

Field value is not coming in my customize ALV report

35 Views

Hi All,

Good day.

I have added two fields in a customized ALV report. But the customized report was not developed by me. Therefore I am unable to understand the whole report. As per my requirement I have added 2 fields more like* quantity* & unit field in that ALV. But not understanding why values are not coming in my report though values are there in DB. Plz help me regarding this. The portion of the code is given below.

SORT t_ekbe by belnr.
  loop at t_ekbe INTO w_ekbe where vgabe = '1'.
    on CHANGE OF w_ekbe-belnr.
      SELECT  MBLNR
        BWART
        SMBLN
        ERFMG   " This is the new added field 
        erfme     " This is the new added field 
      INTO CORRESPONDING FIELDS OF TABLE t_mseg
      from mseg
      where mblnr = t_ekbe-belnr
      AND   bwart = '101'.
    endon.
  ENDLOOP.

Thanks,

Tripod.