DATABEGIN OF t_vbak OCCURS 0,

         vbeln TYPE vbak-vbeln,
         netwr 
TYPE vbak-netwr,
      
END OF t_vbak.

FIELD-SYMBOLS: <FS> LIKE LINE OF t_vbak.

      
SELECT
        vbeln
        netwr
        
FROM vbak
        
into CORRESPONDING FIELDS OF TABLE t_vbak
        
WHERE erdat = '20100522'.   

LOOP AT t_vbak ASSIGNING <FS>.
  
WRITE: / <FS>-vbeln, <FS>-netwr.
ENDLOOP.



Serkan AKKAVAK
Computer Engineer
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com