cancel
Showing results for 
Search instead for 
Did you mean: 

Comma without preceding colon (after SELECT ?).

Former Member
0 Kudos

REPORT ZVYSHNAVI_TABLE.


TYPES: BEGIN OF TY_MARA,
MATNR TYPE MARA-MATNR,
ERSDA TYPE MARA-ERSDA,
ERNAM TYPE MARA-ERNAM,
LAEDA TYPE MARA-LAEDA,
END OF TY_MARA.




DATA : IT_MARA TYPE STANDARD TABLE OF MARA,
WA_MARA TYPE TY_MARA.

"SELECT * FROM IT_MARA INTO WA_MARA.
SELECT MATNR
ERSDA,
ERNAM,
LAEDA
FROM INTO TABLE @IT_MARA.


WRITE : /5'MATERIAL NO',
30'CREATE NO',
60'PERSON NO',
90'LAST CHANGED NO'.



LOOP AT IT_MARA INTO WA_MARA.

WRITE :/5 WA_MARA-MATNR,
30 WA_MARA-ERSDA,
60 WA_MARA-ERNAM,
90 WA_MARA-LAEDA.
ENDLOOP.

VXLozano
Active Contributor

mate, this is the second time I see a "question" from you... I told you in the first one: please, put your code snipets within a code tag (button "CODE" in the editor)

And try to put some effort in your homework before posting a question as trivial as yours. To get an answer you just need to read the error message.

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

Seems that a comma is missing after the MATNR field in your query.

... SELECT MATNR,