cancel
Showing results for 
Search instead for 
Did you mean: 

STRUCTURES IN ALV REPORTS -error

Former Member
0 Kudos

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...

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member76372
Participant
0 Kudos

kindly do research first before asking this question.

Anyway, check the spelling in your code. double click on the error, check whether where it points out the error, might be on the select statement. or it might not be in this statement.