i am a fresher in abap...i have created a alv report in which i hav used structures.....but wn i execute my code i get an error saying " the data object zstruc doesnt have the component posnr....my structure name is ZSTRUC, it has the components posnr,erdat,smeng,netwr,wavwr...
SELECT LIPS~POSNR
LIPS~ERDAT
VBAP_NETWR
VBAP~SMENG
VBAP~WAVWR
INTO ZSTRUC
FROM VBAP JOIN LIPS
ON VBAP~VBELN = LIPS~VBELN.
WRITE: / ZSTRUC-POSNR , 15 ZSTRUC-ERDAT,30 ZSTRUC-NETWR,
53 ZSTRUC-SMENG,65 ZSTRUC-WAVWR.
ENDSELECT.
IT IS SHOWING ERROR IN WRITE STATEMENT... plz HELP...